Error: unrecognized arguments: — no site packages
virtualenv --no-site-packages ${G_VENV_DIR}
usage: virtualenv [--version] [--with-traceback] [-v | -q] [--app-data APP_DATA] [--clear-app-data] [--discovery {builtin}] [-p py] [--creator {builtin,cpython3-win,venv}] [--seeder {app-data,pip}] [--no-seed] [--activators comma_sep_list]
[--clear] [--system-site-packages] [--copies] [--download | --no-download] [--extra-search-dir d [d ...]] [--pip version] [--setuptools version] [--wheel version] [--no-pip] [--no-setuptools] [--no-wheel]
[--symlink-app-data] [--prompt prompt] [-h]
dest
virtualenv: error: unrecognized arguments: --no-site-package
If the version is greater than 20 and the virtualenv version is greater than 20, it is the default no site packages parameter
View virtualenv version
virtualenv --version
1. Downgrading
pip install --upgrade virtualenv==16.7.9
2. remove –no-site-package
virtualenv ${G_VENV_DIR}
Read More:
- Mac Upgrade pip Error OSError: [Errno 13] Permission denied: ‘/Library/Python/2.7/site-packages/pip-9.0.1-py2….
- onnx error: ImportError: /home/dy/anaconda3/envs/torch/lib/python3.6/site-packages/onnx…
- [Solved] error: unrecognized arguments: –multiprocessing-fork
- Python Error: ImportError: cannot import name ‘logsumexp’ from ‘scipy.misc’(Anaconda3\lib\site-packages\scipy\misc)
- How to Solve Python WARNING: Ignoring invalid distribution -ip (e:\python\python_dowmload\lib\site-packages)
- Chromdriver Install error: File “C:\python37\lib\site-packages\selenium\webdriver\common\service.py”, line 76, in start stdin=PIPE) File…
- [Solved] pytest error: error: unrecognized arguments
- [zipfile] Python packages files as zip packages & decompresses them
- [Solved] Error: [email protected]: wrong number of arguments (given 1, expected 0)
- Python TypeError: Unrecognized value type: <class ‘str‘>dateutil.parser._parser.ParserError: Unknow
- [Solved] ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE
- [Solved] error: the following arguments are required (Default parameters are set)
- [Solved] main.py: error: the following arguments are required:
- An introduction to sys modules in Python and how packages are imported and used
- [Solved] Matplotlib ERROR: MatplotlibDeprecationWarning: Adding an axes using the same arguments…
- [Solved] train.py: error: the following arguments are required: –XXXX
- Python TypeError: not all arguments converted during string formatting [Solved]
- [Solved] TypeError: not all arguments converted during string formatting
- Error:Could not install packages due to an OSError:[WinError 5] Access denied
- [Solved] ERROR: pip‘s dependency resolver does not currently take into account all the packages that are inst