[MacPorts] #42481: Fresh install of pylint fails.
#42481: Fresh install of pylint fails. --------------------------------+-------------------------------- Reporter: codie.codemonkey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: pylint | Port: py33-pylint --------------------------------+-------------------------------- I've verified that I've selected python33 ({{{port select --set python python33}}}), installed py33-pylint ({{{port install py33-pylint}}}), and then run {{{pylint}}}. I get the following error: {{{ Traceback (most recent call last): File "/usr/local/bin/pylint", line 4, in <module> import pkg_resources File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module> working_set.require(__requires__) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: pylint==0.25.1 }}} Notice the references to 2.7 in the trace-back. Something seems amiss in the install. -- Ticket URL: <https://trac.macports.org/ticket/42481> MacPorts <http://www.macports.org/> Ports system for OS X
#42481: Fresh install of pylint fails. ---------------------------------+-------------------------------- Reporter: codie.codemonkey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: pylint Port: py33-pylint | ---------------------------------+-------------------------------- Comment (by ryandesign@…): Where did /usr/local/bin/pylint come from? MacPorts installs in /opt/local, not /usr/local. Remove what you have in /usr/local and try again. -- Ticket URL: <https://trac.macports.org/ticket/42481#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42481: Fresh install of pylint fails. ---------------------------------+-------------------------------- Reporter: codie.codemonkey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: pylint Port: py33-pylint | ---------------------------------+-------------------------------- Comment (by codie.codemonkey@…): Good catch. I thought macports shadowed old installs by putting /opt/local early in the path in .profile or .bash_profile. But problem solved, let's close this. -- Ticket URL: <https://trac.macports.org/ticket/42481#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42481: Fresh install of pylint fails. ---------------------------------+-------------------------------- Reporter: codie.codemonkey@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: pylint Port: py33-pylint | ---------------------------------+-------------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => invalid Comment: closing per comment:2 -- Ticket URL: <https://trac.macports.org/ticket/42481#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts