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

Installation with pip-20.1 failed #26

Open
DennisJakob opened this issue May 5, 2020 · 2 comments
Open

Installation with pip-20.1 failed #26

DennisJakob opened this issue May 5, 2020 · 2 comments

Comments

@DennisJakob
Copy link

DennisJakob commented May 5, 2020

Hi,
I tried to do the installation of illumina-utils for anvio with pip-20.1.
The following error came up.

Using cached illumina-utils-2.7.tar.gz (3.3 MB) ERROR: Command errored out with exit status 1: command: /Users/virtual-envs/anvio-master/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/_b/40l3prb52ln490d96qf4ccmh0000gn/T/pip-install-n0dzn60q/illumina-utils/setup.py'"'"'; __file__='"'"'/private/var/folders/_b/40l3prb52ln490d96qf4ccmh0000gn/T/pip-install-n0dzn60q/illumina-utils/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 /private/var/folders/_b/40l3prb52ln490d96qf4ccmh0000gn/T/pip-pip-egg-info-y_xa8czy cwd: /private/var/folders/_b/40l3prb52ln490d96qf4ccmh0000gn/T/pip-install-n0dzn60q/illumina-utils/ Complete output (7 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/_b/40l3prb52ln490d96qf4ccmh0000gn/T/pip-install-n0dzn60q/illumina-utils/setup.py", line 17, in <module> reqs = [str(ir.req) for ir in install_reqs] File "/private/var/folders/_b/40l3prb52ln490d96qf4ccmh0000gn/T/pip-install-n0dzn60q/illumina-utils/setup.py", line 17, in <listcomp> reqs = [str(ir.req) for ir in install_reqs] AttributeError: 'ParsedRequirement' object has no attribute 'req' ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I downgraded pip to pip-19.3 and the installation worked without any problems.

@ISonets
Copy link

ISonets commented Dec 28, 2020

Same problem with newer pip versions(mine is 20.3.3).
Checked advice of @DennisJakob and it worked.

@meren
Copy link
Member

meren commented Dec 28, 2020

Thank you for the heads-up, @ISonets!

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