Using Python 3 in virtualenv
Using virtualenv, I run my projects with the default version of Python (2.7). On one project, I need to use Python 3.4.
Using virtualenv, I run my projects with the default version of Python (2.7). On one project, I need to use Python 3.4.
I’m using virtualenv and I need to install “psycopg2”.
I’m trying to install mysql-python in a virtualenv using pip on windows. At first, I was getting the same error reported here, but the answer there worked for me too. Now I’m getting this following error:
I have been using Spyder installed with with Anaconda distribution which uses Python 2.7 as default. Currently I need to set up a development virtual environment with Python 3.4.
Virtualenv is great: it lets me keep a number of distinct Python installations so that different projects’ dependencies aren’t all thrown together into a common pile.
I’ve set up PyCharm, created my virtualenv (either through the virtual env command, or directly in PyCharm) and activated that environment as my Interpreter. Everything is working just fine.
I’ve created folder and initialized a virtualenv instance in it.
I have a shared account in a web-hosting that has Python 2.4 installed, but my code is not compatible with 2.4. Is it possible to install Python 2.6 directly to Virtualenv?
Using pip3 to install a package in a virtualenv causes the package to be installed in the global site-packages folder instead of the one in the virtualenv folder. Here’s how I set up Python3 and virtualenv on OS X Mavericks (10.9.1):
In my project folder I created a venv folder: