You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just installed flake8 via Macports, but it doesn't work:
$ flake8
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pkg_resources/__init__.py", line 651, in _build_master
ws.require(__requires__)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pkg_resources/__init__.py", line 952, in require
needed = self.resolve(parse_requirements(requirements))
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pkg_resources/__init__.py", line 844, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (pep8 1.6.2 (/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages), Requirement.parse('pep8!=1.6.0,!=1.6.1,!=1.6.2,>=1.5.7'), {'flake8'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/bin/flake8", line 5, in <module>
from pkg_resources import load_entry_point
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pkg_resources/__init__.py", line 3084, in <module>
@_call_aside
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
f(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pkg_resources/__init__.py", line 653, in _build_master
return cls._build_from_requirements(__requires__)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pkg_resources/__init__.py", line 666, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pkg_resources/__init__.py", line 839, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pep8!=1.6.0,!=1.6.1,!=1.6.2,>=1.5.7' distribution was not found and is required by flake8
Can it be? Is the latest pep8 release really so broken that flake8 should flat-out refuse to do any work? Or is this flake8 being too strict about accepting not wanting to work with pep8 version 1.6.2?
The text was updated successfully, but these errors were encountered:
This is a problem with macports. Installing flake8 from pip will install the correct versions. Complain to the macports maintainer for packaging pep8 and flake8 poorly. pep8 is working on a quality release that will fix the problems that cause flake8 to blacklist 1.6.0, 1.6.1, and 1.6.2. In an effort avoid adding 1.6.3 to that blacklist, we're not rushing to a release at the moment.
I just installed
flake8
via Macports, but it doesn't work:Can it be? Is the latest pep8 release really so broken that flake8 should flat-out refuse to do any work? Or is this
flake8
being too strict about accepting not wanting to work with pep8 version 1.6.2?The text was updated successfully, but these errors were encountered: