虚拟环境中的pip要求输入用户名和密码

2024-09-30 22:11:32 发布

您现在位置:Python中文网/ 问答频道 /正文

我正试图在一个活动的虚拟环境中做一个pip

pip install -i https://update.synapse-wireless.com/pypi snapconnect

Downloading/unpacking snapconnect
User for update.synapse-wireless.com: ?? 
Password:  ??
  Real name of requirement snapconnect is snapconnect
  Could not find any downloads that satisfy the requirement snapconnect
No distributions at all found for snapconnect
Storing complete log in /root/.pip/pip.log

为什么它要我输入用户名和密码?它需要哪个用户名和密码?我目前正在通过ssh进入机器


Tags: installpiphttpscomlog密码for虚拟环境
1条回答
网友
1楼 · 发布于 2024-09-30 22:11:32

穿过Synapse-wireless forums帖子,上面写着:

  1. 更新您的pip:

    pip install  upgrade pip
    
  2. 安装snapconnect

    pip install  extra-index-url https://update.synapse-wireless.com/pypi snapconnect
    

相关问题 更多 >