Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645678 - dev-python/virtualenv should RDEPEND on dev-python/setuptools - virtualenv: Traceback (most recent call last): File "/usr/lib/python-exec/python3.6/virtualenv", line 6, in <module> from pkg_resources import load_entry_point ModuleNotFoundError: No mod[..]
Summary: dev-python/virtualenv should RDEPEND on dev-python/setuptools - virtualenv: T...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-25 11:39 UTC by happycorsair
Modified: 2020-09-04 21:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description happycorsair 2018-01-25 11:39:38 UTC
user@pc ~ $ virtualenv 
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/virtualenv", line 6, in <module>
    from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

Can be simply fixed by installing setuptools (it can be absent on machines which use binary packages, that's how I've discovered this).

Please add setuptools to RDEPEND.

Thanks you!

Reproducible: Always

Steps to Reproduce:
Running virtualenv without setuptools installed.
Actual Results:  
Crash.

Expected Results:  
Virtualenv works.
Comment 1 David Denoncin 2020-09-04 21:06:01 UTC
This was done in commit aa48a25a2d280cf6f6edaff3078dddccf6cd582b, maybe earlier.