Skip to content

Instantly share code, notes, and snippets.

@bung87
Created August 13, 2015 04:51
Show Gist options
  • Select an option

  • Save bung87/c41ea7a4f5601e3a3988 to your computer and use it in GitHub Desktop.

Select an option

Save bung87/c41ea7a4f5601e3a3988 to your computer and use it in GitHub Desktop.
Debian 和 Ubuntu:
$ sudo apt-get install python-pip
Fedora:
$ sudo yum install python-pip
On Unix and Mac OS X the configuration file is: $HOME/.pip/pip.conf
On Windows, the configuration file is: %HOME%\pip\pip.ini
The repository located at pypi.douban.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host pypi.douban.com'.
Could not find a version that satisfies the requirement virtualenv (from versions: )
No matching distribution found for virtualenv
[root@AY1309251511589803b4Z ~]# pip install virtualenv --trusted-host pypi.douban.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment