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

pip install doesn't seem to work on Mac OS... #4

Open
abolger opened this issue Nov 12, 2016 · 1 comment
Open

pip install doesn't seem to work on Mac OS... #4

abolger opened this issue Nov 12, 2016 · 1 comment

Comments

@abolger
Copy link
Contributor

abolger commented Nov 12, 2016

There's something wrong with the pip setup for this module.

pip install git+git://github.com/Psycojoker/ast2json.git

and

pip install ast2json

commands will install the module but it is not accessible from python 2.7. Error received:

>>> import ast2json
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named ast2json

I tried numerous path and PYTHONPATH manipulations to make the library accessible. I used sudo and chmod to ensure access permissions to the install directory. I have installed dozens of other code modules this way from git with no problem. The code does NOT install from source either, i.e. downloading from GitHub and running

python setup.py install

from the ast2json root directory, does NOT allow it to be used. I can import the local source code and call "import ast2json" successfully, but this is less than ideal.

@abolger abolger mentioned this issue Nov 12, 2016
@Psycojoker
Copy link
Member

Fixed by #5

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