Skip to content

ModuleNotFoundError: No module named 'pip.download' #5272

@Dmitri-Sintsov

Description

@Dmitri-Sintsov
  • Pip version: 10.0.0
  • Python version: 3.6.4
  • Operating system: Ubuntu 14.04

Description:

pip fails to install the package from git repository specified by the following requirements.txt line:

git+https://github.com/Dmitri-Sintsov/django-jinja-knockout.git

Circle CI test, which used to work in a long time suddenly is broken. Why pip.download module is not available anymore and how can I fix that in my test script?

Please see the log here:
https://circleci.com/gh/Dmitri-Sintsov/django-jinja-knockout/353

What I've run:

         # Install pyenv to use exact version of Python.
          git clone https://github.com/pyenv/pyenv.git ~/.pyenv
          export PYENV_ROOT="$HOME/.pyenv"
          export PATH="$PYENV_ROOT/bin:$PATH"
          pyenv init -
          pyenv install 3.6.4
          # Version of Python installed in the python:latest-browsers image.
          python3 --version
          # Version of Python used to run the tests.
          $(pyenv root)/versions/3.6.4/bin/python --version
          # https://stackoverflow.com/questions/27849412/permissionerror-with-pip3
          $(pyenv root)/versions/3.6.4/bin/python -m pip install -U pip wheel tox tox-pyenv setuptools --user
          $(pyenv root)/versions/3.6.4/bin/python -m tox -r -e py36-django-20

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automationtype: supportUser Support

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions