Linked Questions

4 votes
1 answer
24k views

How to set up specific python version for virtual environment for python? [duplicate]

I am a newbie in python and I am trying to add a new environment for my project which runs fine on my current environment Python 3.7.5 After adding all the dependency I was facing an issue for pyttsx3 ...
Anirudh Thakur's user avatar
1 vote
2 answers
31k views

How to use python3 in virtual environment [duplicate]

I want to create virtual environment using python3. But it takes python2 by default. I have both python2 and 3 installed on my machine. The ouput of when I create the virtual environment is: $ ...
netajik's user avatar
  • 316
-2 votes
1 answer
6k views

How can I create a virtual environment with specific Python version in Windows? [duplicate]

I have Python 3.10 in my machine. But I want to use 3.8 for a project. How can I create a virtual environment with Python 3.8 ?
isinsu's user avatar
  • 73
4 votes
1 answer
2k views

How to create a virtual environment for a specific version of Python? [duplicate]

I am using a Macbook. It came with python 2.7.6 installed. I manually installed python 3.4. I develop websites using django. I have only used python 3 and when I work on a project, I simply put it ...
darkhorse's user avatar
  • 8,874
6 votes
1 answer
1k views

Multiple versions of python [duplicate]

I have both python versions installed on my linux: [/usr/bin] ls -la | grep python python -> python3 python-config -> python3-config python2 python3 python2-config python3-config I need to ...
ceth's user avatar
  • 45.5k
1 vote
1 answer
2k views

Virtual Environment- 'virtualenv' is not recognized [duplicate]

'virtualenv' is not recognized as an internal or external command, operable program or batch file. Steps that I am following Installing in default directory- pip install virtualenv For Create a venv ...
Shashank Rathore's user avatar
0 votes
1 answer
3k views

Windows - create venv to python3.8? [duplicate]

Machine: Windows10 with python 3.7, 3.8, and 3.9 installed. The error when I create a new project and try to set up an environment: ~/path $ mkdir project ~/path $ cd project ~/path/project $ python -...
kaka's user avatar
  • 103
1 vote
1 answer
1k views

How do I activate Python 2.7 in virtual environment in my Mac Terminal [duplicate]

I am trying to create a virtual environment on my Mac using terminal commands for Python 2.7 but it is not working. I issue the following commands; mkdir Environments cd Environments python -m ...
Stephen501's user avatar
-2 votes
2 answers
841 views

How to create virtual environments with different Python versions [duplicate]

I am very new to Python. I am trying to install a library called Mesa (https://mesa.readthedocs.io/en/master/index.html) in a virtual environment, but each time I try to clone the repository I get the ...
em.popcorn2's user avatar
0 votes
2 answers
1k views

Setting Non-default-python-version in virtualenv [duplicate]

My default python version on my Debian 8.5 machine is 3.4.2. I want to use python 2.7 for only one project. I have tried running all of the following commands in the terminal one by one, : virtualenv ...
user avatar
-3 votes
3 answers
1k views

How to set python version 2.7.15 instead of 2.7.10 in virtualenv [duplicate]

On my osx machine I have python 2.7.15 running. When I run virtualenv, activate the env, and check the python version, i get 2.7.10. $> virtualenv env Unfortunately, I really need version 2.7.15....
Arro's user avatar
  • 188
0 votes
1 answer
458 views

How Do I Make A Django (Python) Project Use Only A Specific Interpreter? [duplicate]

I am trying to set up a Django project. Initially I had Python 3.5 installed for a data analysis project I worked on. So while Python 3.5 works in tandem with matplot, pandas, scipy etc, the Django ...
gbade_'s user avatar
  • 337
3 votes
4 answers
333 views

Virtualenv created a folder, but the result its not I wanted [duplicate]

I created a folder via virtualenv command, but the result isn't what I wanted. [root@localhost opt]# virtualenv my_env New python executable in /opt/my_env/bin/**python2.6** Also creating executable ...
Walle Luo's user avatar
0 votes
1 answer
220 views

how to install two development environments [duplicate]

how to install two development environments with different versions of Django and Python Currently, I use the development server and I installed python 2.7.1 and Django 1.4 with the PATH environment ...
user3172700's user avatar
0 votes
0 answers
191 views

How to use python3.5 with virtualenv, even if the system globally has 2.7 [duplicate]

I have python 2.7 installed globally on my machine - Mac OSX. I tried have installed python 3.5 just by downloading the file but haven't changed PYTHONPATH / any PATH variables as I was not sure what ...
vidyasagarr7's user avatar

15 30 50 per page
1
2 3 4 5
11