Home  >  Q&A  >  body text

python - When I use pip install -r requirements.txt to download, why can some parts be downloaded and some cannot?

I built a set of pypi sources myself. When I enter urld on the computer, the contents are all there. However, when downloading in the Linux virtual environment, some parts cannot be found. The missing parts can be found in the source. Error: because of HTTP error 403 Client Error: Forbidden for url: http://xxxx, why is this?
image description

给我你的怀抱给我你的怀抱2675 days ago1086

reply all(1)I'll reply

  • 为情所困

    为情所困2017-06-22 11:53:37

    #requirements.txt里面一行是一个待安装的包名
    pip install -r requirements.txt -i 源地址

    reply
    0
  • Cancelreply