virtualenv: error: unrecognized arguments: --no-site-packages

Use virtualenv --version and see that your version is greater than 20, you can delete the following paragraph:

export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--no-site-packages'

 

The situation I encountered:

user_makefile error

After finding the corresponding file, find no-site-packages

Just delete it!

Because starting from version 20, the default is'--no-site-packages'.

 

Guess you like

Origin blog.csdn.net/li4692625/article/details/113830564