Linked Questions

7 votes
1 answer
18k views

Creating a virtualenv inside a specific directory with virtualenv / virtualenvwrapper [duplicate]

Is there a way for creating the virtualenv folder in a specific directory (i.e., the current directory) using virtualenv / virtualenvwrapper, instead of the default one (i.e., WORKON_HOME). Something ...
floatingpurr's user avatar
  • 8,729
0 votes
1 answer
416 views

Can't bring Python 3 (3.5) into venv [duplicate]

I am trying to create an python app with Heroku and VirtualEnv. I created the folder structure. and I have these files: requirements.txt j-database-url==0.4.0 Django==1.9.2 gunicorn==19.4.5 psycopg2=...
JasonGenX's user avatar
  • 5,534
164 votes
12 answers
720k views

python location on mac osx

I'm a little confused with the python on osx. I do not know if the previous owner of the laptop has installed macpython using macport. And I remembered that osx has an builtin version of python. I ...
goh's user avatar
  • 29.9k
27 votes
6 answers
135k views

How to create virtual environment for python 3.7.0?

I'm able to install it with root user but I wanted to install it in a clean environment. My use case is to test the installation of another application with pip for the customer who is using python3.7....
Pankaj Singh's user avatar
  • 1,218
22 votes
7 answers
192k views

How to change python version in command prompt if I have 2 python version installed

I have installed Anaconda 2 & 3 in my system. Anaconda 2 contains python 2.7 & Anaconda 3 contains python 3.6. I need to run my python code using command prompt & I need to use python 3.6 ...
Emily Johnson's user avatar
13 votes
2 answers
21k views

Virtualenv not compatible with this system or executable

Simply trying to create a virtual environment on my mac OSX 10.10.05 Running from the Terminal, already successfully made VirtualEnv on linux and windows OS on other computers. Tried troubleshooting ...
Joshua Zastrow's user avatar
18 votes
6 answers
8k views

How to build an mac os app from a python script having a PySide2 GUI?

Context: I am developping a simple Python application using a PySide2 GUI. It currently works fine in Windows, Linux and Mac. On Windows, I could use PyInstaller and InnoSetup to build a simple ...
Serge Ballesta's user avatar
9 votes
3 answers
35k views

Error creating virtualenv with Python3

I'm working on Linux Mint 17 and I'm trying to create a new virtualenv with Python3 like this: python3.6 -m venv env And this is the error that I get: Error: Command '['/home/ric/myprojs/django-...
Xar's user avatar
  • 8,030
6 votes
3 answers
21k views

How to create a Python 3.5 virtual environment with Python 2.7?

My system is running CentOS 6. I do not have admin access, so sudo is not available. I have Python 2.7.3 available, along with pip and virtualenv. I was hoping that I could use these to set up a new ...
user5359531's user avatar
  • 3,605
3 votes
3 answers
11k views

Python venv (virual environment) uses wrong version of Python

I have both Python 3.7 and 3.6 installed. But in my profile I set to use 3.6 and this is indeed a version that gets reported by which python3. $ which python3 /Library/Frameworks/Python.framework/...
Ska's user avatar
  • 6,958
0 votes
2 answers
19k views

How to create a Virtualenv with Python 3?

I have a problem with Linux in PC. I installed python3.8. I want work with python 3. When I create a virtualenv file it gets created with python2, but I don't want work with python2. How can I enable ...
user avatar
2 votes
2 answers
10k views

Python 3 virtualenv problems

I'm having a problem similar to this post, but I am already running the latest version of virtualenv and I also get a different ImportError. Using virtualenv with version 2.7 (default) works fine but ...
OpenUserX03's user avatar
  • 1,458
1 vote
1 answer
5k views

module 'enum' has no attribute 'IntFlag' when creating virtualenv using python3.6?

I'm runing $ virtualenv -p `which python3.6` env_pcl #Running virtualenv with interpreter /usr/bin/python3.6 to create an virtualenv by python3.6 but an error appeared like below: Traceback (...
jia Jimmy's user avatar
  • 1,848
0 votes
2 answers
4k views

Python3 virtualenv installs python2

I am not sure what is wrong but I can't seem to get python3 in a virtualenv environment. I tried upgrading my ubuntu and updating all the packages - but no luck: python3 -m virtualenv ENV Running ...
TheOne's user avatar
  • 11.2k
2 votes
2 answers
1k views

Syntax error in existing Django project

I've installed existing Django project very 1st time and I've the problem with starting servers python manage.py runserver Here it's what I've done 1.Clone the repo, 2.Make a virtual environment 3....
Damian Silkowski's user avatar

15 30 50 per page