Could not find a version that satisfies the requirement

后端 未结 12 1162
耶瑟儿~
耶瑟儿~ 2020-11-29 17:34

I\'m installing several Python packages in Ubuntu 12.04 using the following requirements.txt file:

numpy>=1.8.2,<2.0.0
matplotlib>=1.3.         


        
相关标签:
12条回答
  • 2020-11-29 18:10

    If you facing this issue at the workplace. This might be the solution for you.

    pip install -U <package_name> --user --proxy=<your proxy>
    
    0 讨论(0)
  • 2020-11-29 18:11

    Below command worked for me -

    python -m pip install flask
    
    0 讨论(0)
  • 2020-11-29 18:16

    Just follow the requirements listed on the project's page: https://pypi.org/project/pgmagick/

    0 讨论(0)
  • 2020-11-29 18:17

    might help

    sudo pip install wheel==0.29.0

    0 讨论(0)
  • 2020-11-29 18:18

    Try installing flask through the powershell using the following command.

    pip install --isolated Flask
    

    This will allow installation to avoide environment variables and user configuration.

    0 讨论(0)
  • 2020-11-29 18:20

    Although it doesn't really answers this specific question. Others got the same error message with this mistake.

    For those who like me initial forgot the -r: Use pip install -r requirements.txt the -r is essential for the command.

    The original answer:

    https://stackoverflow.com/a/42876654/10093070

    0 讨论(0)
提交回复
热议问题