simply run
virtualenv -p python3 envname
Update after OP’s edit:
There was a bug in the OP’s version of virtualenv, as described here. The problem was fixed by running:
pip install --upgrade virtualenv
More Related Contents:
- ImportError: No module named ‘encodings’
- What is the purpose of “pip install –user …”?
- 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
- Searching for IP addresses in a file
- Swapping variable places inside if throws an error
- Comprehensive beginner’s virtualenv tutorial? [closed]
- How to add a new column to a CSV file?
- How to postpone/defer the evaluation of f-strings?
- Could not find a version that satisfies the requirement tensorflow
- Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings
- Import Error: No module named numpy
- Trying to parse `request.body` from POST in Django [duplicate]
- Lazy evaluation in Python
- Illegal instruction (core dumped) after running import tensorflow
- Parse SGML with Open Arbitrary Tags in Python 3
- How can I access variables from the caller, even if it isn’t an enclosing scope (i.e., implement dynamic scoping)?
- In python, if a function doesn’t have a return statement, what does it return? [duplicate]
- Reading a file using a relative path in a Python project
- match dates using python regular expressions