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
Importing numpy: #13252
Comments
@danhamill I see that the file |
This error is not connected to It may be due to how hydrogen and atom are initializing the anaconda environment, since ipython and jupyter notebook work. Can you open an issue there and xref this one (if they are on github you can use the |
UpdateThis is an elusive problem that I would not wish on my worst enemy. Luckily I found a workaround that worked on my computer, but not likely for others. pip uninstall numpy
pip uninstall pandas
pip install pandas Re-installing pandas (which requires numpy) seemed to do the trick. np.__version__
Out[2]: '1.16.2'
pd.__version__
Out[4]: '0.24.2' I can now import numpy using Hydrogen with out any error. |
Glad you solved it. Did you try |
Yes, I started with trying to directly uninstall/install numpy using pip. This issue is related to hydrogen issue #1550. Initally I could not get Hydrogen to connect to the kernel created using At this point, I received the traceback presented in #1517. After uninstalling numpy with pip and reinstalling conda as suggested in #13009
I came across the traceback that that encouraged me to open this ticket. It was more dumb luck that I found uninstalling and reinstalling pandas would provide a viable workaround. |
Yes, an elusive problem it is. Installing pandas did not do it for me. Homebrew Python 3.7 in my case. I keep searching and may open a case too. |
I am having trouble importing numpy using hydrogen (atom plugin). The remote kenel connects to fine and I can import other packages, but fails with the information below.
I can import numpy in a jupyter notebook, ipython, and a python interpretor.
Reproducing code example:
I installed python using Anaconda:
conda version : 4.6.9
conda-build version : 3.17.8
I installed numpy using
My OS:
Steps to reproduce:
Error message:
Numpy/Python version information:
The text was updated successfully, but these errors were encountered: