python virtualenv : how to specify base prefix? -


as created new vm instance(google cloud platform compute engine), firstly installed python 3.6.2 in /usr/local/bin

and set default python interpreter /usr/local/bin/python3.6.

$ python -v
python 3.6.2

$ virtualenv --version
15.1.0

my issue activate script not created.

$ virtualenv myenv

using base prefix '/usr'   ...   ...   traceback (most recent call last):   file "/usr/local/bin/virtualenv", line 11, in <module>     sys.exit(main())   file "/usr/local/lib/python3.4/dist-packages/virtualenv.py", line 713, in main     symlink=options.symlink)   file "/usr/local/lib/python3.4/dist-packages/virtualenv.py", line 945, in create_environment     download=download,   file "/usr/local/lib/python3.4/dist-packages/virtualenv.py", line 901, in install_wheel     call_subprocess(cmd, show_stdout=false, extra_env=env, stdin=script)   file "/usr/local/lib/python3.4/dist-packages/virtualenv.py", line 797, in call_subprocess     % (cmd_desc, proc.returncode)) oserror: command /home/juhyun1849/pyvirt/test/bin/python3 - setuptools pip wheel failed error code 1 

i want change bsse prefix '/usr' /usr/local.

how can that??


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -