How to fix virtualenv?

Hello, the other day there was a crash in my Ubuntu 14.04, all because I tried to put Skype and "accidentally" deleted the system files(dependencies). In General, the terminal had ceased to function and I decided to download Ubuntu 16.04. In General, all the fun has been established, even the old files remained in their places(the Background also had a cat). That's just one thing all the system settings I have made through the terminal tropolis. And now is not working in a python virtualenv. I use python3. Remember soared with virtualenv because of the fact that he always put python2.7 surrounded. And I remember I did some manipulation with the " alias python='SOMETHING SOMETHING' " and pip is also the same and all worked like this:
  • When I wrote "python runserver", the system understood this as "python3 runserver"
  • When I wrote "pip install django", the system understood this as "pip3 install django"

Now includes the means to dev and run django, bash writes to me:
<b>(tsl) dosya@dosya-PC:~/PycharmProjects/tsl/tsl$ </b>python runserver
Traceback (most recent call last):
 File "", line 8, in <module>
 from import execute_from_command_line
ImportError: No module named 'django'</module>

<b>(tsl) dosya@dosya-PC:~/PycharmProjects/tsl/tsl$ </b>pip freeze
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Emergency stop (made a memory dump)</exec_prefix></prefix></exec_prefix></prefix>

What to do? Please help.
July 2nd 19 at 13:41
2 answers
July 2nd 19 at 13:43
export WORKON_HOME="$HOME/Projects/Python/Virtenv"
export VIRTUALENV_PYTHON=/usr/bin/python3
source /usr/share/virtualenvwrapper/
turned all settings off, including pip and the V-world. Just installed the peep and have created a new environment and started the project)) But still thank you, this is very useful)) - Camren.Quigley30 commented on July 2nd 19 at 13:46
July 2nd 19 at 13:45
--python python3 when creating venv something like like

Find more questions by tags PythonUbuntuDjangovirtualenv