question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot install on Windows 10 due to incompatibility with python 3.10

See original GitHub issue

I am unable to install lektor on a new Windows 10 with python 3.10.0

I tried both the official way as well as pipx with no luck. I get the same error.

Any idea on what could be wrong or what I could be doing wrong here?

PS C:\Users\animesh> pipx install lektor
  installed package lektor 3.2.2, Python 3.10.0
  These apps are now globally available
    - lektor.exe
done! ✨ 🌟 ✨
PS C:\Users\animesh> lektor
Traceback (most recent call last):
  File "C:\Users\animesh\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\animesh\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\animesh\.local\bin\lektor.exe\__main__.py", line 4, in <module>
  File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\lektor\cli.py", line 13, in <module>
    from .project import Project
  File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\lektor\project.py", line 5, in <module>
    from inifile import IniFile
  File "C:\Users\animesh\.local\pipx\venvs\lektor\lib\site-packages\inifile.py", line 7, in <module>
    from collections import MutableMapping, OrderedDict
ImportError: cannot import name 'MutableMapping' from 'collections' (C:\Users\animesh\AppData\Local\Programs\Python\Python310\lib\collections\__init__.py)
PS C:\Users\animesh>

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dairikicommented, Dec 8, 2021

This is fixed in #938 (and #953).

1reaction
anmshcommented, Oct 12, 2021

I see that in the releases that this fix went in. However, I get this even now. Noticed that my lektor-atom plugin was at version 0.3.1 which had the requirement of werkzeug 1x. I updated to version 0.4 and that fixed it.

Thanks for all the help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue 47050: Cannot install Python 3.10.3 on Windows
Hardware details: - Microsoft Windows 10 Home, Version 10.0.19043 Build ... I initially tried installing Python 3.10.3 with 3.10.2 still ...
Read more >
Problems while installation on windows 10 - ESPHome
I installed: python 3.10.5 wheel 0.37.1 PIO Core 5.2.5 pip 22.0.4 ... This leads me to an errors that esphome is incompatible with...
Read more >
FAQ's about using Python on Windows | Microsoft Learn
A common cause for trouble is trying to install into a location that you do not have permission to modify. For example, the...
Read more >
Cannot set up a conda environment with python 3.10
Now install the required packages. ... conda install -n py310 python=3.10 works for me. ... Conda 4.10 is incompatible with python 3.10.
Read more >
How to Fix the "This App Can't Run on Your PC" Error in ...
How to Fix the "This App Can't Run on Your PC" Error in Windows 10 · 1. Check the App's Version · 2....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found