Git Product home page Git Product logo

Comments (3)

MauBorre avatar MauBorre commented on June 20, 2024

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

from windows-10-toast-notifications.

MauBorre avatar MauBorre commented on June 20, 2024

Hi, the problem is that pip can't retrieve the correspondent version of the required module 'Pywin32'.
This is due it's package administrators need to upload their package (wich has already been updated with Python 3.12 support) to have the correspondent wheel tags for pip to match the compatibility with Python 3.12.

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
Python 3.12 Pywin32 wheel tag: pywin32-305-cp312-cp312-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 pip install win10toast

Hope this helps!

from windows-10-toast-notifications.

Steven7559 avatar Steven7559 commented on June 20, 2024

thanks

from windows-10-toast-notifications.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.