-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: module 'numpy' has no attribute '__version__' #349
Comments
problem solved with : 1 - pip uninstall -y numpy |
worked for me, thanks |
Thank you very much. worked for me too |
This hasn't worked for me while running 'import Numpy as np', I as still getting the error |
This did not not also work for me on my pycharm. I am still getting the error |
Thx! |
i have an error like this |
still getting this |
problem solved with : 1 - pip uninstall -y numpy |
Guys, this is strange. This is kind of funny, coz I'm actually running Jupyter Notebook scripts that use pandas and imports it with no issues. |
AttributeError Traceback (most recent call last) in fit(self, X, y, n_jobs) ~\anaconda3\lib\site-packages\numpy_init_.py in getattr(attr) AttributeError: module 'numpy' has no attribute 'diagnol' |
Worked for me too. Thanks! |
thx |
problem solved with : 1 - pip uninstall -y numpy This solution worked!! |
AttributeError Traceback (most recent call last) ~\AppData\Roaming\Python\Python38\site-packages\pandas_init_.py in ~\AppData\Roaming\Python\Python38\site-packages\pandas\compat\numpy_init_.py in AttributeError: module 'numpy' has no attribute 'version' |
Thanks ! this still works for me |
am getting the following error message when I attempt to import pandas:
import pandas
AttributeError: module 'numpy' has no attribute 'version'
Following is the full error message:
`---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in
1 import numpy
----> 2 import pandas
3
4
5 print("hello")
C:\ProgramData\Anaconda3\lib\site-packages\pandas_init_.py in
21
22 # numpy compat
---> 23 from pandas.compat.numpy import *
24
25 try:
C:\ProgramData\Anaconda3\lib\site-packages\pandas\compat\numpy_init_.py in
8
9 # numpy versioning
---> 10 _np_version = np.version
11 _nlv = LooseVersion(_np_version)
12 _np_version_under1p10 = _nlv < LooseVersion('1.10')
AttributeError: module 'numpy' has no attribute 'version'`
The text was updated successfully, but these errors were encountered: