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

Python3 package with broken pyvenv #511

Open
ricco386 opened this issue Jun 5, 2017 · 0 comments
Open

Python3 package with broken pyvenv #511

ricco386 opened this issue Jun 5, 2017 · 0 comments
Assignees

Comments

@ricco386
Copy link

ricco386 commented Jun 5, 2017

Default python3 is shipped with the virtual environment but is broken.

[root@test ~]# pkgin in python35 
calculating dependencies... done.

nothing to upgrade.
1 packages to be installed (23M to download, 84M to install):

python35-3.5.2nb1

proceed ? [Y/n] y
downloading packages...
python35-3.5.2nb1.tgz                                                               100%   23MB   7.6MB/s 419.6KB/s   00:03    
installing packages...
installing python35-3.5.2nb1...
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
marking python35-3.5.2nb1 as non auto-removable
[root@test ~]# py
pydoc             pydoc3            python            python2.7         python3           python3.5-config  
pydoc2.7          pydoc3.5          python2           python2.7-config  python3.5         pyvenv-3.5        
[root@test ~]# mkdir test
[root@test ~]# cd test/
[root@test ~/test]# pyvenv-3.5 envs
Error: Command '['/root/test/envs/bin/python3.5', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1

Seems that problem is somewhere with setuptools. One solution that seems to work is to install py35-expat, so possible bug fix is to add this as a dependency of python3.

@jperkin jperkin self-assigned this Jun 5, 2017
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

2 participants