nix-community/pypi2nix

Error when running pypi2nix command: newspaper

Opened this issue · 0 comments

I am running the following command: pypi2nix -e newspaper in order to produce a nix expression for the newspaper python module, but I get this error:

INFO: pypi2nix v2.0.4 running ...
INFO: Downloading wheels and creating wheelhouse ...
INFO: Downloading runtime requirements
    ERROR: Command errored out with exit status 1:
     command: /nix/store/zkppv237vmhn74yx39k3n1rmrpjbhccn-python3-3.7.7-env/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/tmpy_zkuh49/pip-download-ry5ieytn/newspaper/setup.py'"'"'; __file__='"'"'/tmp/tmpy_zkuh49/pip-download-ry5ieytn/newspaper/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/tmpy_zkuh49/pip-download-ry5ieytn/newspaper/pip-egg-info
         cwd: /tmp/tmpy_zkuh49/pip-download-ry5ieytn/newspaper/
    Complete output (1 lines):
    WARNING! You are attempting to install newspaper's python2 repository on python3. PLEASE RUN `$ pip3 install newspaper3k` for python3 or `$ pip install newspaper` for python2
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
WARNING: You are using pip version 20.0.dev0; however, version 20.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
ERROR: Collecting newspaper
ERROR:   Downloading newspaper-0.1.0.7.tar.gz (176 kB)
ERROR:   Saved /tmp/tmpy_zkuh49/download/newspaper-0.1.0.7.tar.gz