For Python-3 try removing virtual environment files. And resetting it up.
rm -rf venv
virtualenv -p /usr/bin/python3 venv/
source venv/bin/activate
pip install -r requirements.txt
https://wiki.ubuntu.com/XenialXerus/ReleaseNotes#Python_3
edit fo
More Related Contents:
- What is the purpose of “pip install –user …”?
- Using Python 3 in virtualenv
- How to run Spyder in virtual environment?
- How to uninstall a package installed with pip install –user
- Can I move a virtualenv?
- How to activate virtualenv in Linux?
- How to specify python version used to create Virtual Environment?
- How to create virtual env with python3
- How to avoid “Permission denied” when using pip with virtualenv
- How can I activate a virtualenv in Linux?
- Could not build wheels for _ which use PEP 517 and cannot be installed directly – Easy Solution
- Multiprocessing AsyncResult.get() hangs in Python 3.7.2 but not in 3.6
- pyvenv-3.4 returned non-zero exit status 1
- Execute Python script within Jupyter notebook using a specific virtualenv
- Print elements of list horizontally [closed]
- Get raw key value
- Download file from web in Python 3
- How to avoid floating point errors? [duplicate]
- ImportError: No module named Crypto.Cipher
- DLL load failed when importing PyQt5
- How to get if a key is pressed pygame [duplicate]
- How to get the physical interface IP address from an interface
- Difference between “grid” and “pack” geometry managers
- selenium – Failed to execute ‘evaluate’ on ‘Document’: The string is not a valid XPath expression
- How do I return dictionary keys as a list in Python?
- Python dictionary replace values
- How can I create the minimum size executable with pyinstaller?
- Python sort list by first number in a string
- Python’s “open()” throws different errors for “file not found” – how to handle both exceptions?
- What is the difference between super() with arguments and without arguments?