-
Notifications
You must be signed in to change notification settings - Fork 168
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
Cannot install this module on python 3.12.0a2 #114
Comments
Hi, I'm trying to workout a solution for this issue. First of all, I couldn't properly re-build the module into its .whl file without having to fix 2 things beforehand: 1 - parse_requirements import module was outdated, the current pip version (23.0.1) is structured differently and the code needed to grab parse_requirements from another directory. 2 - ParsedRequirement class doesn't have an attribute 'req', it might have had it in the past, but now seems to be updated to 'requirement', so attrgetter input had to be fixed. will do a pull request for this two problems, but still, the issue you are facing seems to reside somewhere in the building scripts of Python 3.12, as the temporal setup.py made when building the project is full of SyntaxError's, but the same "fixed" .whl version I made builds without problems on Python 3.11 |
Hi, the problem is that pip can't retrieve the correspondent version of the required module 'Pywin32'. The good thing is that you can manually fix the tags and pip will be able to install Pywin32, which will then let you install win10toast without problems. To do so you only need to change the Pywin32 .whl file name as follows in this example: Python 3.10 Pywin32 wheel tag: pywin32-305-cp310-cp310-win_arm64.whl It will work for any platform you are using, just change the tag cp and pip will be able to match the environment compatibility. after that just run Hope this helps! |
thanks |
l can't install this module on python 3.12.0a2,pip says that "SyntaxError" appears in a certain line of code — a set of parentheses is missing after the “print” .I want to find the program that is faulty, but my operating system tells me that the directory does not exist. I put the error code into a text document, please take a look.
Link:
1.txt
The text was updated successfully, but these errors were encountered: