Opened 9 years ago
Closed 7 years ago
#51339 closed defect (fixed)
py27-csvkit @0.9.1: required dependencies not installed
Reported by: | mndavidoff (Monte Davidoff) | Owned by: | esafak (Emre Şafak) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | py-csvkit py-agate |
Description
I tried to use csvcut in py27-csvkit and received this error:
$ csvcut-2.7 -h Traceback (most recent call last): File "/opt/local/bin/csvcut-2.7", line 5, in <module> from pkg_resources import load_entry_point File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2927, in <module> @_call_aside File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2913, in _call_aside f(*args, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 635, in _build_master ws.require(__requires__) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 943, in require needed = self.resolve(parse_requirements(requirements)) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 829, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'dbf==0.94.003' distribution was not found and is required by csvkit
Change History (6)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to esafak |
---|---|
Status: | new → assigned |
comment:2 Changed 7 years ago by mndavidoff (Monte Davidoff)
Version 1.0.2 has a similar, but different, problem:
$ port installed py27-csvkit The following ports are currently installed: py27-csvkit @1.0.2_0 (active) $ csvcut-2.7 -h Traceback (most recent call last): File "/opt/local/bin/csvcut-2.7", line 6, in <module> from pkg_resources import load_entry_point File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3039, in <module> @_call_aside File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3023, in _call_aside f(*args, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3052, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 660, in _build_master return cls._build_from_requirements(__requires__) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 673, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 858, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'agate>=1.6.0' distribution was not found and is required by csvkit $ port installed py27-agate The following ports are currently installed: py27-agate @1.5.5_1 (active)
Thanks!
comment:3 Changed 7 years ago by mf2k (Frank Schima)
Port: | py-agate added |
---|
I see this too. It looks like py-agate needs to be updated to version 1.6.
comment:4 Changed 7 years ago by esafak (Emre Şafak)
This happened when the py-agate 1.6 PR got closed without merging. I created a new one: https://github.com/macports/macports-ports/pull/636
comment:5 Changed 7 years ago by mf2k (Frank Schima)
py-agate was updated to version 1.6 in changeset:1a1cbb920ab1550331bafb4ad2ede0382de58e91/macports-ports.
But now this error happens for me:
$ csvcut-3.6 Traceback (most recent call last): File "/opt/local/bin/csvcut-3.6", line 6, in <module> from pkg_resources import load_entry_point File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3039, in <module> @_call_aside File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3023, in _call_aside f(*args, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3052, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/__init__.py", line 658, in _build_master ws.require(__requires__) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/__init__.py", line 972, in require needed = self.resolve(parse_requirements(requirements)) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pkg_resources/__init__.py", line 858, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'python-slugify>=1.2.1' distribution was not found and is required by agate
comment:6 Changed 7 years ago by Emre Şafak <esafak@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Please try version 1.0.2 and let us know if this is still a problem.