Skip to content

Python3 package with broken pyvenv #511

Description

@ricco386

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions