Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken on python 3.11 #193

Closed
BloodZero0 opened this issue Nov 14, 2022 · 7 comments
Closed

Broken on python 3.11 #193

BloodZero0 opened this issue Nov 14, 2022 · 7 comments
Labels
bug: site error The site fails at my face.

Comments

@BloodZero0
Copy link

On python 3.11 the program is broken, I always get this error:
Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Users\onepi\scoop\apps\python\current\Scripts\animdl.exe\__main__.py", line 4, in <module> File "C:\Users\onepi\scoop\apps\python\current\Lib\site-packages\animdl\__main__.py", line 8, in <module> from .core.cli.commands import download, grab, schedule, search, stream, update File "C:\Users\onepi\scoop\apps\python\current\Lib\site-packages\animdl\core\cli\commands\download.py", line 7, in <module> from ...codebase import providers, sanitize_filename File "C:\Users\onepi\scoop\apps\python\current\Lib\site-packages\animdl\core\codebase\__init__.py", line 1, in <module> from .downloader import * File "C:\Users\onepi\scoop\apps\python\current\Lib\site-packages\animdl\core\codebase\downloader\__init__.py", line 1, in <module> from .handle import handle_download, sanitize_filename File "C:\Users\onepi\scoop\apps\python\current\Lib\site-packages\animdl\core\codebase\downloader\handle.py", line 7, in <module> import regex File "C:\Users\onepi\scoop\apps\python\current\Lib\site-packages\regex\__init__.py", line 1, in <module> from .regex import * File "C:\Users\onepi\scoop\apps\python\current\Lib\site-packages\regex\regex.py", line 419, in <module> import regex._regex_core as _regex_core File "C:\Users\onepi\scoop\apps\python\current\Lib\site-packages\regex\_regex_core.py", line 21, in <module> import regex._regex as _regex ModuleNotFoundError: No module named 'regex._regex'

@BloodZero0 BloodZero0 added the bug: site error The site fails at my face. label Nov 14, 2022
@rares9301
Copy link

tried installing it right now, getting thrown to some bs multidict and yarl error. Will install the Visual Studio Build Tools for C++ and i will come back with an update.

@rares9301
Copy link

im back with the update, installing MS VSBT 14.0 C++ fixed the multidict error but did shit for the yarl one
_quoting_c.c
yarl/_quoting_c.c(198): fatal error C1083: Cannot open include file: 'longintrepr.h': No such file or director
no interpretor in 3.11, seems like i will roll back to 3.10

@rares9301
Copy link

rolled back to 3.10, got the issue fixed. the interface looks old but its working :D

@queeup
Copy link

queeup commented Nov 14, 2022

im back with the update, installing MS VSBT 14.0 C++ fixed the multidict error but did shit for the yarl one _quoting_c.c yarl/_quoting_c.c(198): fatal error C1083: Cannot open include file: 'longintrepr.h': No such file or director no interpretor in 3.11, seems like i will roll back to 3.10

Use YARL_NO_EXTENSIONS=1 while pip install.

YARL_NO_EXTENSIONS=1 pip install animdl

@justfoolingaround
Copy link
Owner

I might as well include that Python 3.11 is not supported and is not planned until the dependencies will be fully supporting it.

@folliehiyuki
Copy link

folliehiyuki commented Nov 26, 2022

yarl==1.8.1 can be installed without error with pip (I'm already on Python 3.11), so a version bump for it probably will fix the issue.

@justfoolingaround
Copy link
Owner

Aight, yarl has been set to 1.8.1. Python 3.11 should now be supported. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: site error The site fails at my face.
Projects
None yet
Development

No branches or pull requests

5 participants