Hello everyone,
I am using a lenovo that is running windows 11. when i try installing the odrivetool in the cmd (after installing standalone python 3.8.6) it gives me a very long error. when I read some parts of the error it seems like the cmd repeatingly tries to install a version of the odrivetool but it fails with every version.
this is what the beginning of the error looks like:
Microsoft Windows [Version 10.0.22000.318]
(c) Microsoft Corporation. Alle rechten voorbehouden.
C:\Users\cedri>pip install --upgrade odrive
Collecting odrive
Using cached odrive-0.5.4.tar.gz (1.6 MB)
Preparing metadata (setup.py) … error
ERROR: Command errored out with exit status 1:
command: ‘c:\users\cedri\appdata\local\programs\python\python38\python.exe’ -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\cedri\AppData\Local\Temp\pip-install-gwsi163s\odrive_19f844da6b024294b95a5bb80a8e09c2\setup.py’"’"’; file=’"’"‘C:\Users\cedri\AppData\Local\Temp\pip-install-gwsi163s\odrive_19f844da6b024294b95a5bb80a8e09c2\setup.py’"’"’;f = getattr(tokenize, ‘"’"‘open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(’"’"‘from setuptools import setup; setup()’"’"’);code = f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ egg_info --egg-base ‘C:\Users\cedri\AppData\Local\Temp\pip-pip-egg-info-2rhtl7v2’
cwd: C:\Users\cedri\AppData\Local\Temp\pip-install-gwsi163s\odrive_19f844da6b024294b95a5bb80a8e09c2
Complete output (23 lines):
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\cedri\AppData\Local\Temp\pip-install-gwsi163s\odrive_19f844da6b024294b95a5bb80a8e09c2\setup.py”, line 90, in
setup(
File “c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\setuptools_init_.py”, line 165, in setup
return distutils.core.setup(**attrs)
File “c:\users\cedri\appdata\local\programs\python\python38\lib\distutils\core.py”, line 108, in setup
setup_distribution = dist = klass(attrs)
File “c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py”, line 429, in init
Distribution.init(self, {
File “c:\users\cedri\appdata\local\programs\python\python38\lib\distutils\dist.py”, line 292, in init
self.finalize_options()
File “c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py”, line 720, in finalize_options
for ep in sorted(eps, key=by_order):
File “c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py”, line 719, in
eps = map(lambda e: e.load(), pkg_resources.iter_entry_points(group))
File "c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\pkg_resources_init.py", line 2460, in load
self.require(*args, **kwargs)
File "c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\pkg_resources_init.py", line 2483, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File “c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\pkg_resources_init_.py”, line 790, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (pyparsing 3.0.6 (c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages), Requirement.parse(‘pyparsing<3,>=2.0.2’), {‘packaging’})
WARNING: Discarding https://files.pythonhosted.org/packages/57/13/991773acabe444e01b3ff7043a4ad107777f2f4dc3e9bd274cf48df21d62/odrive-0.5.4.tar.gz#sha256=af005eeaf8ab95d04ca3b5a09b952330a70d382920454a4a3de62b0e25b05277 (from Links for odrive). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached odrive-0.5.3.post0.tar.gz (1.6 MB)
Preparing metadata (setup.py) … error
ERROR: Command errored out with exit status 1:
command: ‘c:\users\cedri\appdata\local\programs\python\python38\python.exe’ -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\cedri\AppData\Local\Temp\pip-install-gwsi163s\odrive_8704dfe2910f47849495f946de527f2f\setup.py’"’"’; file=’"’"‘C:\Users\cedri\AppData\Local\Temp\pip-install-gwsi163s\odrive_8704dfe2910f47849495f946de527f2f\setup.py’"’"’;f = getattr(tokenize, ‘"’"‘open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(’"’"‘from setuptools import setup; setup()’"’"’);code = f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ egg_info --egg-base ‘C:\Users\cedri\AppData\Local\Temp\pip-pip-egg-info-91br6_rb’
cwd: C:\Users\cedri\AppData\Local\Temp\pip-install-gwsi163s\odrive_8704dfe2910f47849495f946de527f2f
Complete output (23 lines):
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\cedri\AppData\Local\Temp\pip-install-gwsi163s\odrive_8704dfe2910f47849495f946de527f2f\setup.py”, line 90, in
setup(
File “c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\setuptools_init_.py”, line 165, in setup
return distutils.core.setup(**attrs)
File “c:\users\cedri\appdata\local\programs\python\python38\lib\distutils\core.py”, line 108, in setup
setup_distribution = dist = klass(attrs)
File “c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py”, line 429, in init
Distribution.init(self, {
File “c:\users\cedri\appdata\local\programs\python\python38\lib\distutils\dist.py”, line 292, in init
self.finalize_options()
File “c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py”, line 720, in finalize_options
for ep in sorted(eps, key=by_order):
File “c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py”, line 719, in
eps = map(lambda e: e.load(), pkg_resources.iter_entry_points(group))
File "c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\pkg_resources_init.py", line 2460, in load
self.require(*args, **kwargs)
File "c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\pkg_resources_init.py", line 2483, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File “c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages\pkg_resources_init_.py”, line 790, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (pyparsing 3.0.6 (c:\users\cedri\appdata\local\programs\python\python38\lib\site-packages), Requirement.parse(‘pyparsing<3,>=2.0.2’), {‘packaging’})
WARNING: Discarding https://files.pythonhosted.org/packages/c8/66/0d7ab260f5ac0cd9f3a046bf0ea07cfd79ca0e4612505bd7e4eb866c457b/odrive-0.5.3.post0.tar.gz#sha256=efc5ca33419d71ad811902a508baa91e02ed01340a48ef7e4f16bfabddf87d06 (from Links for odrive). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
and this is what the end of the error looks like:
**ROR: Could not find a version that satisfies the requirement odrive (from versions: 0.3.7.dev0, 0.3.7.dev1, 0.3.7.dev2, 0.3.7.dev3, 0.4.0, 0.4.0.post1, 0.4.0.post2, 0.4.0.post3, 0.4.0.post4, 0.4.0.post5, 0.4.0.post6, 0.4.0.post7, 0.4.0.post8, 0.4.0.post9, 0.4.1.dev1, 0.4.1, 0.4.2, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.4.11, 0.4.12, 0.5.1, 0.5.1.post0, 0.5.2.dev0, 0.5.2, 0.5.2.post0, 0.5.3.dev0, 0.5.3, 0.5.3.post0, 0.5.4, 0.6.0.dev0, 0.6.0.dev1, 0.6.0.dev2, 0.6.0.dev3, 0.6.0.dev4, 0.6.0.dev5, 0.6.0.dev6, 0.6.0.dev7, 0.6.0.dev8, 0.6.0.dev9, 0.6.0.dev10, 0.6.0.dev11, 0.6.0.dev12, 0.6.0.dev13, 0.6.0.dev14, 0.6.0.dev15, 0.6.0.dev16, 0.6.0.dev17, 0.6.0.dev18, 0.6.0.dev19, 0.6.0.dev20, 0.6.0.dev21, 0.6.0.dev22, 0.6.0.dev23, 0.6.0.dev24, 0.6.0.dev25, 0.6.0.dev26, 0.6.0.dev27, 0.6.0.dev28, 0.6.0.dev29, 0.6.0.dev30, 0.6.0.dev31)
ERROR: No matching distribution found for odrive
C:\Users\cedri>
does anyone know what I can do to succesfully install the odrivetool?
Kind regards
CM