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

docutils version issue #244

Closed
citicruiser opened this issue Jan 6, 2020 · 4 comments
Closed

docutils version issue #244

citicruiser opened this issue Jan 6, 2020 · 4 comments

Comments

@citicruiser
Copy link

I installed repokid on AWS Linux2 with python 3.7.5 (also tried 3.6.6), but got below error when ran python setup.py develop


Installed /home/ec2-user/virtualenvs/repokid/lib/python3.7/site-packages/python_dateutil-2.8.1-py3.7.egg
error: docutils 0.16rc1 is installed but docutils<0.16,>=0.10 is required by {'botocore'}


I revert the commit back to 7f67f55, and the problem went away. Any idea?

@castrapel
Copy link
Contributor

What happens if you install with pip install -e? If this works for you, I may update the README. It is highly recommended to use pip install . (install) and pip install -e . (developer install) to install packages, as invoking setup.py directly often does the wrong things for many dependencies, such as pull prereleases and incompatible package versions, or make the package hard to uninstall with pip.

@citicruiser
Copy link
Author

new to python and repokid. Please forgive me my ignorance.

Are you suggesting to run 'pip install -e . ' instead of 'python setup.py develop'?

@patricksanders
Copy link
Collaborator

Yeah, try that to see if pip handles the dependency resolution any better. I was able to replicate the error you got with python setup.py develop in a clean environment, but pip install -e . worked.

@citicruiser
Copy link
Author

yep. pip install -e . does work for me. thank you so much.

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

3 participants