Skip to content
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

ImportError: No module named 'numpy.core.multiarray\r' #1

Open
elinz opened this issue May 15, 2017 · 3 comments
Open

ImportError: No module named 'numpy.core.multiarray\r' #1

elinz opened this issue May 15, 2017 · 3 comments

Comments

@elinz
Copy link

elinz commented May 15, 2017

Received "ImportError: No module named 'numpy.core.multiarray\r'" on various code block which run pickle on the following lines:

6.4.2) 3D
flu_coords = pickle.load(open('flu_coords.p','rb'), encoding='latin1') # was pickled in py2, so encoding issues

8.3) Practical Problem Solving with scipy.spatial.Voronoi()
array_pump_coords = pickle.load(open('array_pump_data.p','rb'), encoding='latin1')

@tylerjereddy
Copy link
Owner

Hmm pickle stuff can be tricky. Are you running on Windows? I should probably use the npy format instead of pickle for these.

@elinz
Copy link
Author

elinz commented May 15, 2017

Yes, I am running Python on windows 64 bit OS (Windows 8.1 Enterprise). Thank you.

@tylerjereddy
Copy link
Owner

Can you try executing the latest version of the notebook if you have a minute? I've replaced all usage of pickle with np.load and the equivalent npy files, which should increase compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants