Mapillary won’t pip install on my machine, I’m using python 3.13, and it keeps saying my setuptools and wheel have problems but I tried upgrading, downgrading, reinstalling, doing literally everything, but nothing works. It is so frustrating, please someone help me
Oh, I’m sorry, I’m new to coding in general, I should have read the rules. Here is the input:
pip install mapillary
and the output:
ERROR: Exception:
Traceback (most recent call last):
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\cli\base_command.py”, line 106, in _run_wrapper
status = _inner_run()
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\cli\base_command.py”, line 97, in _inner_run
return self.run(options, args)
~~~~~~~~^^^^^^^^^^^^^^^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\cli\req_command.py”, line 67, in wrapper
return func(self, options, args)
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\commands\install.py”, line 386, in run
requirement_set = resolver.resolve(
reqs, check_supported_wheels=not options.target_dir
)
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\resolution\resolvelib\resolver.py”, line 95, in resolve
result = self._result = resolver.resolve(
~~~~~~~~~~~~~~~~^
collected.requirements, max_rounds=limit_how_complex_resolution_can_be
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_vendor\resolvelib\resolvers.py”, line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_vendor\resolvelib\resolvers.py”, line 427, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_vendor\resolvelib\resolvers.py”, line 239, in _attempt_to_pin_criterion
criteria = self._get_updated_criteria(candidate)
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_vendor\resolvelib\resolvers.py”, line 230, in _get_updated_criteria
self._add_to_criteria(criteria, requirement, parent=candidate)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_vendor\resolvelib\resolvers.py”, line 173, in _add_to_criteria
if not criterion.candidates:
^^^^^^^^^^^^^^^^^^^^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_vendor\resolvelib\structs.py”, line 156, in bool
return bool(self._sequence)
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py”, line 174, in bool
return any(self)
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py”, line 162, in
return (c for c in iterator if id(c) not in self._incompatible_ids)
^^^^^^^^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py”, line 53, in _iter_built
candidate = func()
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\resolution\resolvelib\factory.py”, line 187, in _make_candidate_from_link
base: Optional[BaseCandidate] = self._make_base_candidate_from_link(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
link, template, name, version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\resolution\resolvelib\factory.py”, line 233, in _make_base_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
~~~~~~~~~~~~~^
link,
^^^^^
…<3 lines>…
version=version,
^^^^^^^^^^^^^^^^
)
^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py”, line 304, in init
super().init(
~~~~~~~~~~~~~~~~^
link=link,
^^^^^^^^^^
…<4 lines>…
version=version,
^^^^^^^^^^^^^^^^
)
^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py”, line 159, in init
self.dist = self._prepare()
~~~~~~~~~~~~~^^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py”, line 236, in _prepare
dist = self._prepare_distribution()
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py”, line 315, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\operations\prepare.py”, line 527, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\operations\prepare.py”, line 642, in _prepare_linked_requirement
dist = _get_prepared_distribution(
req,
…<3 lines>…
self.check_build_deps,
)
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\operations\prepare.py”, line 72, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
finder, build_isolation, check_build_deps
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\distributions\sdist.py”, line 56, in prepare_distribution_metadata
self._install_build_reqs(finder)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\distributions\sdist.py”, line 126, in _install_build_reqs
build_reqs = self._get_build_requires_wheel()
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\distributions\sdist.py”, line 103, in _get_build_requires_wheel
return backend.get_requires_for_build_wheel()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_internal\utils\misc.py”, line 702, in get_requires_for_build_wheel
return super().get_requires_for_build_wheel(config_settings=cs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_vendor\pyproject_hooks_impl.py”, line 196, in get_requires_for_build_wheel
return self._call_hook(
~~~~~~~~~~~~~~~^
“get_requires_for_build_wheel”, {“config_settings”: config_settings}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “C:\Users\arnav\Desktop\Python Stuff\geoguessr-bologna-v1\venv\Lib\site-packages\pip_vendor\pyproject_hooks_impl.py”, line 402, in _call_hook
raise BackendUnavailable(
…<4 lines>…
)
pip._vendor.pyproject_hooks._impl.BackendUnavailable: Cannot import ‘setuptools.build_meta’
I didn’t really understand this so I asked ChatGPT and it told me to upgrade and downgrade my setuptools, wheel, upgrade my pip, and stuff and see if it works; it doesn’t.
I do have multiple python versions, but I am installing the module in my venv for the repo I have, and using the venv’s python.exe.
I used the Windows Installer Package.
Do not use this non‑sense. Think for yourself. Read the Beginner’s Guide to Python first.
I think you have the wrong impression, I only used ChatGPT because I was stuck for a long time, otherwise I do refrain from using it. Also, I have previous experience with python, not a complete beginner.
By saying “new to coding”, I meant that I have about a year of coding under my belt.
In any event, questions regarding Python itself, pip, and installing packages with pip should be directed to the Official Python Forum.
That’s alright, I could move to the other forum, but could you try to help since we’re already here? Thank you!
Thank you for the answer. I don’ t know if I want to downgrade because it would reset my venv and I don’t have a requirements.txt
set up yet. I’m getting by so far using requests
.
If I end up needing the module, I guess I’ll try cloning that repo and adding python 3.13 to their list.
Thank you for answering!
Python 3.13 is super new and a lot of packages (like Mapillary) might not support it yet. Try creating a virtual environment with Python 3.10 or 3.11 and install it there.