PyCharm has support for virtual environment.
But there are two problems:
- the virtual environment is not activated in the terminal (it is only in the python console)
- it doesn't support virtualenvwrapper and so doesn't run the
postactivate
file.
This gist is the solution I found to resolve these two problems.