Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running virtualenv with interpreter /usr/local/opt/python/bin/python3 #146

Open
lingyunrh opened this issue Mar 19, 2020 · 0 comments
Open

Comments

@lingyunrh
Copy link

➜ ~ brew install virt-manager virt-viewer
Updating Homebrew...
==> Installing virt-manager from jeffreywildman/virt-manager
==> Downloading https://virt-manager.org/download/sources/virt-manager/virt-manager-2.2.1.tar.gz
Already downloaded: /Users/songhongcheng/Library/Caches/Homebrew/downloads/77e22463a35b2e2bde8d02253c10129aabb1e5dfbfe2e6f33ef87bd35955dcf2--virt-manager-2.2.1.tar.gz
==> Patching
patching file virt-manager
Hunk #1 succeeded at 170 (offset 19 lines).
==> Downloading https://files.pythonhosted.org/packages/11/74/2c151a13ef41ab9fb43b3c4ff9e788e0496ed7923b2078d42cab30622bdf/virtualenv-16.7.4.tar.gz
Already downloaded: /Users/songhongcheng/Library/Caches/Homebrew/downloads/507d2087bf24df82641b681a5fe4da778ef50ebe819a86ea1b584f70788f0f63--virtualenv-16.7.4.tar.gz
==> python3 -c import setuptools... --no-user-cfg install --prefix=/private/tmp/virt-manager--homebrew-virtualenv-20200319-39259-a8oe5x/target --install-scripts=/private/t
==> python3 -s /private/tmp/virt-manager--homebrew-virtualenv-20200319-39259-a8oe5x/target/bin/virtualenv -p python3 /usr/local/Cellar/virt-manager/2.2.1_3/libexec
Last 15 lines from /Users/songhongcheng/Library/Logs/Homebrew/virt-manager/02.python3:
Traceback (most recent call last):
File "/private/tmp/virt-manager--homebrew-virtualenv-20200319-39259-a8oe5x/target/lib/python3.7/site-packages/virtualenv.py", line 2632, in
main()
File "/private/tmp/virt-manager--homebrew-virtualenv-20200319-39259-a8oe5x/target/lib/python3.7/site-packages/virtualenv.py", line 870, in main
symlink=options.symlink,
File "/private/tmp/virt-manager--homebrew-virtualenv-20200319-39259-a8oe5x/target/lib/python3.7/site-packages/virtualenv.py", line 1173, in create_environment
install_wheel(to_install, py_executable, search_dirs, download=download)
File "/private/tmp/virt-manager--homebrew-virtualenv-20200319-39259-a8oe5x/target/lib/python3.7/site-packages/virtualenv.py", line 1019, in install_wheel
_install_wheel_with_search_dir(download, project_names, py_executable, search_dirs)
File "/private/tmp/virt-manager--homebrew-virtualenv-20200319-39259-a8oe5x/target/lib/python3.7/site-packages/virtualenv.py", line 1110, in _install_wheel_with_search_dir
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=script)
File "/private/tmp/virt-manager--homebrew-virtualenv-20200319-39259-a8oe5x/target/lib/python3.7/site-packages/virtualenv.py", line 963, in call_subprocess
raise OSError("Command {} failed with error code {}".format(cmd_desc, proc.returncode))
OSError: Command /usr/local/Cellar/vi...ibexec/bin/python3.7 - setuptools pip wheel failed with error code 1
Running virtualenv with interpreter /usr/local/opt/python/bin/python3

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/jeffreywildman/homebrew-virt-manager/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant