Linked Questions

Popular Questions

I want to update mdfreader but when using the pip upgrade command I receive an error: NameError: name numpy is not defined

I have updated pip and setuptools to the latest versions and the error did not change.

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\

I found a similar problem where someone had used: import numpy as np

and then tried to call numpy with it's full name. I assume if that was the problem then no one would be able to install the latest version

I went to the file path but the file wasn't there I guess it just gets deleted as it's in temp.

Related Questions