pip install 遇到 HTTP error 403

pip国内默认的源是 清华的,经常有问题:

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple

Collecting elevenlabs

  ERROR: HTTP error 403 while getting https://pypi.tuna.tsinghua.edu.cn/packages/fb/66/a1b7e2e564f5bf0ae8735c131aea24e66816702eefc03607d91abdff6609/elevenlabs-1.13.0-py3-none-any.whl (from https://pypi.tuna.tsinghua.edu.cn/simple/elevenlabs/) (requires-python:<4.0,>=3.8)

ERROR: Could not install requirement elevenlabs from https://pypi.tuna.tsinghua.edu.cn/packages/fb/66/a1b7e2e564f5bf0ae8735c131aea24e66816702eefc03607d91abdff6609/elevenlabs-1.13.0-py3-none-any.whl because of HTTP error 403 Client Error: Forbidden for url: https://pypi.tuna.tsinghua.edu.cn/packages/fb/66/a1b7e2e564f5bf0ae8735c131aea24e66816702eefc03607d91abdff6609/elevenlabs-1.13.0-py3-none-any.whl for URL https://pypi.tuna.tsinghua.edu.cn/packages/fb/66/a1b7e2e564f5bf0ae8735c131aea24e66816702eefc03607d91abdff6609/elevenlabs-1.13.0-py3-none-any.whl (from https://pypi.tuna.tsinghua.edu.cn/simple/elevenlabs/) (requires-python:<4.0,>=3.8)

 

更换pip源:

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/

posted @ 2024-11-24 21:13  frankie番茄  阅读(5066)  评论(0)    收藏  举报