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

Package fails to install with pip 20.x #71

Open
alxnik opened this issue Aug 13, 2020 · 2 comments
Open

Package fails to install with pip 20.x #71

alxnik opened this issue Aug 13, 2020 · 2 comments

Comments

@alxnik
Copy link

alxnik commented Aug 13, 2020

Tried to install directly from git via pip as follows:
-e git://github.com/clemfromspace/scrapy-selenium.git@master#egg=scrapy-selenium"

which fails with pip 20.2 as in the below trace. pip 18.x works fine

Traceback (most recent call last):
        from pip.download import PipSession
    ModuleNotFoundError: No module named 'pip.download'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "[redacted]\.env\src\scrapy-selenium\setup.py", line 10, in <module>
    ModuleNotFoundError: No module named 'pip._internal.download'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
@miettal
Copy link

miettal commented Aug 15, 2020

I also encountered the same problem.

@tristanlatr
Copy link

Is there a workaround for this issue ?
The best practice would be to have a static list of requirements, what's the need of the using pip internals ?

We can read in the pip documentation :
"Direct use of pip’s internals is not supported, and these internals can change at any time"

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