avanisubbiah / material-color-utilities-python Goto Github PK
View Code? Open in Web Editor NEWPython port of material-color-utilities used for Material You colors
License: Apache License 2.0
Python port of material-color-utilities used for Material You colors
License: Apache License 2.0
scheme.py
contains this import:
from curses import termattrs
Even though it doesn't use termattrs
for anything. The module can't be used on Windows because of this import, since curses
isn't available there.
Steps to recreate:
git clone --recursive https://github.com/avanisubbiah/material-color-utilities-python.git
poetry build
poetry install
The output I got after the last step is:
Updating dependencies
Resolving dependencies... (0.4s)
The current project's Python requirement (>=2.7,<2.8 || >=3.4) is not compatible with some of the required packages Python requirement:
- pillow requires Python >=3.7, so it will not be satisfied for Python >=2.7,<2.8 || >=3.4,<3.7
- pillow requires Python >=3.7, so it will not be satisfied for Python >=2.7,<2.8 || >=3.4,<3.7
- pillow requires Python >=3.7, so it will not be satisfied for Python >=2.7,<2.8 || >=3.4,<3.7
- pillow requires Python >=3.7, so it will not be satisfied for Python >=2.7,<2.8 || >=3.4,<3.7
Because no versions of pillow match >9.2.0,<9.3.0 || >9.3.0,<9.4.0 || >9.4.0,<9.5.0 || >9.5.0,<10.0.0
and pillow (9.2.0) requires Python >=3.7, pillow is forbidden.
And because pillow (9.3.0) requires Python >=3.7
and pillow (9.4.0) requires Python >=3.7, pillow is forbidden.
So, because pillow (9.5.0) requires Python >=3.7
and material-color-utilities-python depends on Pillow (^9.2.0), version solving failed.
• Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
For pillow, a possible solution would be to set the `python` property to ">=3.7"
For pillow, a possible solution would be to set the `python` property to ">=3.7"
For pillow, a possible solution would be to set the `python` property to ">=3.7"
For pillow, a possible solution would be to set the `python` property to ">=3.7"
I resolved the error by changing line 9 in pyproject.toml
:
I changed Pillow = "^9.2.0"
to Pillow = {version = "^9.2.0", python = "^3.7"}
I guess is fairly simple to add :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.