Miserlou / Miserlou/JonesComplexity
Can not be installed with pip in python 3.6
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 30
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
I'm getting this error message when installing in python 3.6 via pip
$ pip install jones-complexity
Collecting jones-complexity
Using cached https://files.pythonhosted.org/packages/7c/94/e3fc33adcd42cfaf301575c42a9f816aa15b6ccaec8c97d8f6bb089afea7/jones-complexity-0.1.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "/tmp/pip-install-i39ubzor/jones-complexity/setup.py", line 14, in <module>
from pypandoc import convert
ModuleNotFoundError: No module named 'pypandoc'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-i39ubzor/jones-complexity/setup.py", line 17, in <module>
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
NameError: name 'os' is not defined
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with setup.py, especially the pypandoc import and the fallback that reads README.md. Reproduce the pip installation under Python 3.6, then verify that the package installs without the reported NameError and that the existing package metadata remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100