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
- SyntaxError: unexpected EOF while parsing
- How to use filter, map, and reduce in Python 3
- converting time from UTC to CST
- Use Gif Logo For Loading Screen In Kivy
- Praw & Discord.py: The bot keep sending the same meme. I want the bot to send different meme whenever it is asked
- How can I make a time delay in Python? [duplicate]
- Python – TypeError: ‘int’ object is not iterable
- Understanding the main method of python [duplicate]
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- How do I update\upgrade pip itself from inside my virtual environment?
- How to open a file using the open with statement
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- How do I update\upgrade pip itself from inside my virtual environment?
- Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)
- How to install pip with Python 3?
- What is the difference between rw+ and r+
- Convert bytes to a string
- How do I update\upgrade pip itself from inside my virtual environment?
- How can I represent an ‘Enum’ in Python?
- Python – TypeError: ‘int’ object is not iterable
- Import Error: No module named numpy
- Python3 – ModuleNotFoundError: No module named ‘numpy’
- How can I upgrade specific packages using pip and a requirements file?
- Relative imports – ModuleNotFoundError: No module named x
- Python: ‘ModuleNotFoundError’ when trying to import module from imported package
- Relative imports – ModuleNotFoundError: No module named x
- TypeError: a bytes-like object is required, not ‘str’ when writing to a file in Python3
- How do I upgrade the Python installation in Windows 10?
- How can I install packages using pip according to the requirements.txt file from a local directory?
- not all arguments converted during string formatting.. NO % variables
- How do I use raw_input in Python 3
- Python Variable Declaration
- Relative imports in Python 3
- Relative imports in Python 3
- working of \n in python [duplicate]
- Pip freeze vs. pip list
- TypeError: list indices must be integers or slices, not list
- Best way to convert string to bytes in Python 3?
- Best way to convert string to bytes in Python 3?
- What does the list() function do in Python?
- TypeError: not all arguments converted during string formatting python
- PermissionError: [Errno 13] Permission denied
- What is setup.py?
- How is Anaconda related to Python?
- PermissionError: [Errno 13] in Python
- FileNotFoundError: [WinError 2] The system cannot find the file specified:
- Invalid character in identifier
- Should I put #! (shebang) in Python scripts, and what form should it take?
- Should I put #! (shebang) in Python scripts, and what form should it take?
- Relative imports in Python 3
- How to correct TypeError: Unicode-objects must be encoded before hashing?
- Where does pip install its packages?
- How to remove EOFError: EOF when reading a line?
- WinError 2 The system cannot find the file specified (Python)
- hashlib.md5() TypeError: Unicode-objects must be encoded before hashing
- TypeError: cannot unpack non-iterable NoneType object
- Is there a ‘foreach’ function in Python 3?
- Where does pip install its packages?
- Python inline if statement
- How to install python3 version of package via pip on Ubuntu?
- Updating a dictionary in python
- Could not find a version that satisfies the requirement tensorflow
- Convert bytes to a string
- ModuleNotFoundError: No module named ‘requests’. But ‘requests’ already installed
- How to copy a dictionary and only edit the copy
- How to print like printf in Python3?
- Could not find a version that satisfies the requirement tensorflow
- Local variable referenced before assignment?
- What are type hints in Python 3.5?
- What does ‘super().__init__()’ mean in python 3.x?
- AttributeError: ‘module’ object has no attribute ‘urlopen’
- ImportError: No module named ‘keras’
- Python Error: AttributeError: __enter__ [duplicate]
- Updating Python on Mac