P
P
Pan Propan2015-12-25 22:53:03
linux
Pan Propan, 2015-12-25 22:53:03

How to create a virtual environment with Python 3 on Ubuntu 14.04?

Freshly installed system, I want to deploy environment for Django. By default, Python 2.7 and Python 3.4 are installed on the system.
Not quite sure how do I create Django projects in Python3? I understand that VirtualEnv will help me?
The documentation makes it simple .
pyvenv /path/to/new/virtual/environment
But I don't have the pyvenv command . I haven't bothered with Linux for a long time, Windows completely spoiled my head.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
un1t, 2015-12-25
@mgis

virtualenv -p python3 venv
source venv/bin/activate

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question