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

Open
pskyhx opened this issue Oct 3, 2021 · 0 comments
Open

ImportError: No module named pyzotero #17

pskyhx opened this issue Oct 3, 2021 · 0 comments

Comments

@pskyhx
Copy link

pskyhx commented Oct 3, 2021

on Mac OS after cloning the repo, chmodding as per setup docs, installing pyzotero (with both pip and pip3 because I've found that avoids problems sometimes).

./zot.py --help
Traceback (most recent call last):
  File "./zot.py", line 266, in <module>
    from pyzotero import zotero, zotero_errors
ImportError: No module named pyzotero

because it's mac OS, what's going on is:

python --version
Python 2.7.16

I tried making a venv to run in because all instructions found mentioned this. but this stuff isn't really my strong suit so eventually gave up on that. That would be my fault for not knowing what I'm doing; maybe it would be a viable path for someone else.

solution

run like this instead:

python3 zot.py --help

This error also appeared in https://github.com/davidswelt/zot_bib_web/issues/13#issuecomment-558831126 but was apparently resolved back then. I have no insight as what the problem is or how to fix permanently aside from what's presented above.

When I ran the demo command as per instructions, the file zotero-bib.html was generated successfully.

thank you for the tool!

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