rckclmbr / pyportify

App to transfer your spotify playlists to Google Play Music
Apache License 2.0
779 stars 58 forks source link

getting an issue when I try to run in linux mint #123

Closed RBByrd closed 7 years ago

RBByrd commented 7 years ago

Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 666, in _build_master ws.require(requires) File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 984, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 875, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (chardet 2.3.0 (/usr/lib/python3/dist-packages), Requirement.parse('chardet<3.1.0,>=3.0.2'), {'requests'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/pyportify", line 6, in from pkg_resources import load_entry_point File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 3161, in @_call_aside File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 3145, in _call_aside f(*args, **kwargs) File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 3174, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 668, in _build_master return cls._build_from_requirements(requires) File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 681, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/local/lib/python3.5/dist-packages/pkg_resources/init.py", line 870, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'chardet<3.1.0,>=3.0.2' distribution was not found and is required by requests

RBByrd commented 7 years ago

Upgrading chardet with sudo pip3 install --upgrade chardet solved the issue