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

时间:2016-05-22 21:03:48

标签: python pip virtualenv

我试图在活跃的虚拟环境中做一个点

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

为什么要问我输入用户名和密码?它期望的用户名和密码是什么?我目前正在进入机器

1 个答案:

答案 0 :(得分:2)

浏览Synapse-wireless forums帖子,它说:

  1. 更新您的点子:

    pip install --upgrade pip
    
  2. 安装snapconnect

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