Miserlou / Miserlou/JonesComplexity

Can not be installed with pip in python 3.6

Open
#44 4 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.