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 ast #17

Closed
ghost opened this issue Mar 30, 2020 · 3 comments
Closed

ImportError: No module named ast #17

ghost opened this issue Mar 30, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Mar 30, 2020

I get "ImportError: No module named ast" when running npm install.
I got it fixed on other machine by messing with Python versions but I am not sure if thats a good solution.
I have Python 2.7.13 on Debian 9 where that error shows.
Any suggestions?

@hyj1991
Copy link
Owner

hyj1991 commented Mar 31, 2020

yeah, python is needed when installing c++ addon :)

@hyj1991 hyj1991 closed this as completed Mar 31, 2020
@hyj1991
Copy link
Owner

hyj1991 commented Mar 31, 2020

Also, ast is a standard library in python.

@ghost
Copy link
Author

ghost commented Mar 31, 2020

Oh. Maybe for some reason the default install I had didn't include the "ast" thing.
Thanks for the fast answer though :)

EDIT: after doing apt-get install python2.7 solved the problem

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

1 participant