Failed to create virtual environment directory in cmd

Viewed 107

Unable to create venv using python 3x;

python -m venv myclub

Error: Command '['C:\Users\Sibasankar Panigrahi\myclub\Scripts\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 101.

1 Answers

This looks to be caused by how you installed Python.

Uninstall and reinstall, using the 'all users' option in the custom / advanced menu options of the installer. Don't forget to tick add to path!.

Related