-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Python: ImportError: No module named compiler.ast #1087
Comments
Hello, the |
I hit this, and fixes in the linked issue didn't work -- the install process was correctly using my python2 interpreter. In my case the issue was that the
|
I'm also having this issue on...
I tried different sharp versions 0.19.0 and 0.18.4 |
This problem relates to local Python installations. Please subscribe #186 for updates about a possible Python-less future. |
Add python-dev as build dependency otherwise node-gyp rebuild in dtrace-provider will fail with "ImportError: No module named compiler.ast". Credit should go to lovell/sharp#1087
During bootstrap compiling got this error: Traceback (most recent call last): File "/var/www/html/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module> import gyp File "/var/www/html/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module> import gyp.input File "/var/www/html/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module> from compiler.ast import Const ImportError: No module named compiler.ast According lovell/sharp#1087 docker image needs python dev-headers
The text was updated successfully, but these errors were encountered: