Tagged with python

Pip installs in China

Stefan "hr" Berder // // code

Installing python packages using pip can sometimes be a challenge in China. For some reason, from an aliyun instance, PyPI is sometimes simply too slow or unreachable. Here are a few solutions to get over this issue and install your sweet python packages.

Install through proxy

This is a bit ...

// //

Power up your virtualenv

Stefan "hr" Berder // // code

I discovered virtualenvwrapper in early 2012, it’s been my tool of choice when working with python since then. Now, mkvirtualenv is the first command I type when starting a project. Then my workflow used to look something close to:

$ cd ~/codaz/myproject
$ workon myproject
(myproject)$ source myenv

This is ...