So far it was working fine but I restarted the shell
The reason is because you restarted the shell.
If you want this to work with each shell, you’ll need to add these to your ~/.bashrc
file:
export WORKON_HOME=~/.virtualenvs VIRTUALENVWRAPPER_PYTHON='/usr/bin/python3' source /usr/local/bin/virtualenvwrapper.sh
After adding this, you’ll want to source ~/.bashrc
so the changes take effect. You’ll find that you have access to virtualenvwrapper
facilities in each new shell.
Related Posts:
- How do I remove/delete a virtualenv?
- How to uninstall a package installed with pip install –user
- Using Python 3 in virtualenv
- ImportError: No module named ‘encodings’
- What is the purpose of “pip install –user …”?
- How to leave/exit/deactivate a Python virtualenv
- I get a syntax error and an error saying illegal target for variable annotation. How do I fix it?
- No module named pandas_datareader
- ‘dict’ object has no attribute ‘has_key’
- Series Summation using for loop in python
- Python 3: UnboundLocalError: local variable referenced before assignment
- Why Am I Getting ELIF Invalid Syntax Error?
- Alternative to scipy.misc.imresize()
- Get degree of each nodes in a graph by Networkx in python
- “The path python3 (from –python=python3) does not exist” error
- What is the difference between venv, pyvenv, pyenv, virtualenv, virtualenvwrapper, pipenv, etc?
- Dlib installation error?
- How do I create a popup window in tkinter?
- ‘python3’ is not recognized as an internal or external command, operable program or batch file
- pandas equivalent of R’s cbind (concatenate/stack vectors vertically)
- bash: mkvirtualenv: command not found
- Import py file in another directory in Jupyter notebook
- Use different Python version with virtualenv
- Why would cv2.COLOR_RGB2GRAY and cv2.COLOR_BGR2GRAY give different results?
- Pip install on Mac OS gets error: command ‘/usr/bin/clang’ failed with exit code 1
- unsupported format string passed to numpy.ndarray
- How to use filter, map, and reduce in Python 3
- converting time from UTC to CST
- Praw & Discord.py: The bot keep sending the same meme. I want the bot to send different meme whenever it is asked
- How do I update\upgrade pip itself from inside my virtual environment?
- not all arguments converted during string formatting.. NO % variables
- How is Anaconda related to Python?
- PermissionError: [Errno 13] in Python
- FileNotFoundError: [WinError 2] The system cannot find the file specified:
- How to correct TypeError: Unicode-objects must be encoded before hashing?
- How to install python3 version of package via pip on Ubuntu?
- Updating a dictionary in python
- TypeError: ‘float’ object not iterable
- Importing class from another file [duplicate]
- Dice rolling simulator in Python
- csv.Error: iterator should return strings, not bytes
- Error when executing `jupyter notebook` (No such file or directory)
- How to resolve TypeError: ‘No Numeric Data to Plot’, when numeric data exists in Python
- python3 is not recognized as an internal or external command, operable program or batch file showing for creating django runserver
- Python 3.2 Unable to import urllib2 (ImportError: No module named urllib2)
- What is __pycache__?
- How can I solve ” module ‘pandas’ has no attribute ‘scatter_matrix’ ” error?
- How to import cv2 in python3?
- TypeError: method() takes 1 positional argument but 2 were given
- How can I get a list shape without using numpy?
- How to install pip3 on Windows?
- Python Setup Disabling Path Length Limit Pros and Cons?
- How can I flush the output of the print function?
- No module named pkg_resources
- Infinite integer in Python
- ‘pip3’ is not recognized as an internal or external command, operable program or batch file
- Generate random sentences in python
- How do you use subprocess.check_output() in Python?
- Dice rolling simulator in Python
- List attributes of an object [duplicate]
- ValueError: unsupported pickle protocol: 3, python2 pickle can not load the file dumped by python 3 pickle?
- Convert bytes to int?
- ValueError: unsupported pickle protocol: 3, python2 pickle can not load the file dumped by python 3 pickle?
- Python: can’t assign to literal
- “Initializing” variables in python?
- Difference between except: and except Exception as e:
- “Unicode Error “unicodeescape” codec can’t decode bytes… Cannot open text files in Python 3
- How to downgrade python from 3.7 to 3.6
- How to return dictionary keys as a list in Python?
- How to save a dictionary to a file?
- TypeError; Must use key word argument or key function in python 3.x
- Using Look Up Tables in Python
- Anaconda Installed but Cannot Launch Navigator
- Django Rest Framework — no module named rest_framework
- Unsupported operation :not writeable python
- Object of type ‘map’ has no len() in Python 3
- how to exit a python script in an if statement
- How to fix ‘RuntimeWarning: divide by zero encountered in double_scalars’
- ImportError: No module named Crypto.Cipher
- Not able to pip install pickle in python 3.6
- Using unicode character u201c
- python 3.x ImportError: No module named ‘cStringIO’
- What’s the difference between “virtualenv” and “-m venv” in creating Virtual environments(Python)
- Decode Hex String in Python 3
- Printing subscript in python
- How to clear Tkinter Canvas?
- TypeError: ‘range’ object does not support item assignment
- How to install pip for Python 3 on Mac OS X?
- install csv package in pycharm
- dump() missing 1 required positional argument: ‘fp’ in python json
- Meaning of list[-1] in Python
- Tkinter error: Couldn’t recognize data in image file
- How to install Openpyxl with pip
- Generate a random letter in Python
- During handling of the above exception, another exception occurred
- Django __str__ returned non-string (type NoneType)
- ‘module’ has no attribute ‘urlencode’
- Python-3.2 coroutine: AttributeError: ‘generator’ object has no attribute ‘next’
- How to install PyQt4 on Windows using pip?
- How to install PyQt4 on Windows using pip?