python - 在 jupyter notebook 中导入神经套件时出错
问题描述
在 Jupyter notebook 中,我必须导入神经套件。
有这个错误:
ImportError:没有名为neurokit的模块
所以我尝试了:
!pip install neurokit
但还有另一个错误:
IOError:[Errno 2] 没有这样的文件或目录:'README.md'
谁能帮我这个?
这是错误:
!pip install neurokit
Collecting neurokit
Using cached https://files.pythonhosted.org/packages/aa/e4/aac4c53fb12d52c292988897bff3d003a5798ec582b267f57057bfdf6c31/neurokit-0.2.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\dell\appdata\local\temp\pip-install-i17inb\neurokit\setup.py", line 39, in <module>
long_description = open('README.md').read(),
IOError: [Errno 2] No such file or directory: 'README.md'
解决方案
这绝对是安装包中的一个错误——他们忘记包含README.md
在包中。总的来说,他们在 PyPI 的安装包相当老旧,最新的是 2017 年的。
直接从存储库安装:
pip install numpy
pip install git+https://github.com/neuropsychology/NeuroKit.py#egg=neurokit
推荐阅读
- node.js - 无法在 node.js 中获取/
- azure - VM classic 不断关闭并自行释放
- php - PHP 数据重载
- firebase - 在 Firestore 更新时更新 Algolia 索引记录
- r - 多列之间的R多热编码
- html - 您如何使用 HTML5 视频标签流式传输大型 Google 驱动器视频
- php - 允许用户在 Woocommerce 中仅购买一次特定产品
- tensorflow - Tensorflow Estimator + 带占位符的数据集 API + Keras 模型
- javascript - 使用 v-for 测试 v-slots - Jest / Vue
- javascript - localStorage getItem 未定义