python - 导入包魅力:没有名为魅力的模块
问题描述
我执行了一个从charm导入的py代码,如下所示:from charm.toolbox.PKEnc import PKEnc
我得到了错误ModuleNotFoundError: No module named 'charm'
我执行pip install charm
了,但出现以下错误:
Collecting charm
Using cached https://files.pythonhosted.org/packages/67/6c/6173abe5f27f59f4ce000802a60f8d8d32ad33052391b2c407729b1c7185/charm-1.0b4.zip
Collecting BeautifulSoup
Using cached https://files.pythonhosted.org/packages/40/f2/6c9f2f3e696ee6a1fb0e4d7850617e224ed2b0b1e872110abffeca2a09d4/BeautifulSoup-3.2.2.tar.gz
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
我该如何进行?
解决方案
推荐阅读
- excel - 数据输入表上的强制性字段检查
- javascript - 编写此代码的更简洁的方法[限制字符]
- javascript - 图像 (SandTimer) 动画 - HTML、CSS、Javascript
- c++ - C++ 标准是否允许未初始化的 bool 使程序崩溃?
- python - 当表格单元格为混合格式时,抓取维基百科信息框
- css - Safari 手机上的 React 应用程序扩展超过 100%
- python - 有什么方法可以在不使用 Python 中的任何字符串或数字的情况下打印一些东西?
- python - 秩 0 张量的输入层初始化 Keras
- unit-testing - @WithMockUser 未进行身份验证
- html - 如何使用引导程序居中 3 个 div(带 SVG 轴的画布)