#58753 closed defect (fixed)
speedtest-cli @2.1.1 No module named 'pkg_resources'
Reported by: | antranigv (Antranig Vartanian) | Owned by: | kurthindenburg (Kurt Hindenburg) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | kurthindenburg (Kurt Hindenburg) | |
Port: | speedtest-cli |
Description
A fresh installed speedtest-cli is not working, I'm getting
root# speedtest-cli Traceback (most recent call last): File "/opt/local/bin/speedtest-cli", line 6, in <module> from pkg_resources import load_entry_point ModuleNotFoundError: No module named 'pkg_resources'
Change History (5)
comment:1 Changed 5 years ago by jmroot (Joshua Root)
comment:2 follow-up: 4 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)
Owner: | set to kurthindenburg |
---|---|
Status: | new → assigned |
You are correct - this must be something new that setuptools has to be in depend_lib. I'll fix shortly.
comment:3 Changed 5 years ago by Kurt Hindenburg <kurt.hindenburg@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 5 years ago by jmroot (Joshua Root)
Replying to kurthindenburg:
this must be something new that setuptools has to be in depend_lib.
This particular module may have only recently started using pkg_resources at runtime. There's no general rule; some do and some don't.
comment:5 Changed 5 years ago by mf2k (Frank Schima)
Port: | speedtest-cli added; net/speedtest-cli removed |
---|
Note: See
TracTickets for help on using
tickets.
Setuptools needs to be in depends_lib, not just depends_build. To work around the issue you can install py37-setuptools.