我想更新mdfreader,但是当使用pip upgrade命令时,我收到一个错误:NameError:namenumpy未定义
我已经将pip和setuptools更新到最新版本,错误没有改变。在
Traceback (most recent call last):
File "C:\Users\myname\AppData\Local\Temp\pip-install-85wfmgif\mdfreader\setup.py", line 111, in <module>
entry_points = entry_points, ext_modules=ext_modules, include_dirs=
[numpy.get_include<>])
NameError:name `numpy` is not defined
during handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\myname\AppData\Local\Temp\pip-install-85wfmgif\mdfreader\setup.py", line 120, in <module>
entry_points = entry_points, ext_modules=ext_modules, include_dirs=
[numpy.get_include<>])
NameError:name `numpy` is not defined
---------------------------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\myname\AppData\Local\Temp\pip-install-85wfmgif\mdfreader\
我发现有人用过类似的问题: 将numpy作为np导入
然后试着用它的全名给纽比打电话。我想如果这就是问题所在,那么没有人能够安装最新版本
我去了文件路径,但是文件不在那里,我想它只是被删除了,因为它是临时的。在
你试过asammdf吗?免责声明:我是这个软件包的主要开发者
MDF阅读器doesn't import numpy if Cython is not available。试试看
这是他们的
setup.py
中的一个bug,它已经是reported。在相关问题 更多 >
编程相关推荐