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

ModuleNotFoundError on numpy.core._multiarray_umath #7

Closed
ryanbarry opened this issue May 29, 2019 · 1 comment
Closed

ModuleNotFoundError on numpy.core._multiarray_umath #7

ryanbarry opened this issue May 29, 2019 · 1 comment

Comments

@ryanbarry
Copy link

i'm on mojave 10.14.4, and was able to install (despite an issue building the dependency cartr/qt4/[email protected]) but then when trying to run, got the following error:

ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'
Traceback (most recent call last):
  File "/usr/local/bin/flatcam", line 13, in <module>
    from FlatCAMApp import App
  File "/usr/local/Cellar/flatcam/8.5.0/libexec/lib/python3.7/site-packages/FlatCAMApp.py", line 30, in <module>
    import ObjectCollection
  File "/usr/local/Cellar/flatcam/8.5.0/libexec/lib/python3.7/site-packages/ObjectCollection.py", line 9, in <module>
    from FlatCAMObj import *
  File "/usr/local/Cellar/flatcam/8.5.0/libexec/lib/python3.7/site-packages/FlatCAMObj.py", line 15, in <module>
    from camlib import *
  File "/usr/local/Cellar/flatcam/8.5.0/libexec/lib/python3.7/site-packages/camlib.py", line 16, in <module>
    from matplotlib.figure import Figure
  File "/usr/local/Cellar/flatcam/8.5.0/libexec/lib/python3.7/site-packages/matplotlib/figure.py", line 21, in <module>
    from matplotlib import backends, docstring
  File "/usr/local/Cellar/flatcam/8.5.0/libexec/lib/python3.7/site-packages/matplotlib/backends/__init__.py", line 9, in <module>
    from matplotlib.backend_bases import _Backend
  File "/usr/local/Cellar/flatcam/8.5.0/libexec/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 46, in <module>
    from matplotlib import (
  File "/usr/local/Cellar/flatcam/8.5.0/libexec/lib/python3.7/site-packages/matplotlib/textpath.py", line 8, in <module>
    from matplotlib import cbook, dviread, font_manager, rcParams
  File "/usr/local/Cellar/flatcam/8.5.0/libexec/lib/python3.7/site-packages/matplotlib/font_manager.py", line 48, in <module>
    from matplotlib import afm, cbook, ft2font, rcParams, get_cachedir
ImportError: numpy.core.multiarray failed to import

following instructions found on a stackoverflow post of a similar error, i did /usr/local/Cellar/flatcam/8.5.0/libexec/bin/pip install -U numpy which updated it to numpy-1.16.4.

it seems to have worked (flatcam starts successfully) but i wanted to report back to see if i could offer a PR to update the dependency or if there would be another suggested fix.

@tomoyanonymous
Copy link
Owner

tomoyanonymous commented Jun 1, 2019

Thanks for reporting.

I updated python dependencies. 668dc46

And there's no build/runtime error except for the pyside1.2 build error.
I skipped the installation by choosing "ignore" in --debug option as in readme and it seems to be no problem.
Please try it!

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