Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

Python 3.10+ 不兼容 #137

Open
mikey-aieassy opened this issue Jul 15, 2023 · 0 comments
Open

Python 3.10+ 不兼容 #137

mikey-aieassy opened this issue Jul 15, 2023 · 0 comments

Comments

@mikey-aieassy
Copy link

Traceback (most recent call last):
  File "C:\Users\Mikey\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\Mikey\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\Mikey\AppData\Local\Programs\Python\Python310\Scripts\weditor.exe\__main__.py", line 4, in <module>
  File "C:\Users\Mikey\AppData\Local\Programs\Python\Python310\lib\site-packages\weditor\__main__.py", line 26, in <module>
    import requests
  File "C:\Users\Mikey\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\__init__.py", line 60, in <module>
    from . import utils
  File "C:\Users\Mikey\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\utils.py", line 32, in <module>
    from .cookies import cookiejar_from_dict
  File "C:\Users\Mikey\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\cookies.py", line 172, in <module>
    class RequestsCookieJar(cookielib.CookieJar, collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping'

我查了一下 collections 移到了 collections.abc

https://stackoverflow.com/questions/70943244/attributeerror-module-collections-has-no-attribute-mutablemapping

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant