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

Working version available? #5

Open
PieWol opened this issue Oct 20, 2024 · 3 comments
Open

Working version available? #5

PieWol opened this issue Oct 20, 2024 · 3 comments

Comments

@PieWol
Copy link

PieWol commented Oct 20, 2024

Hey there,
I'm interested in playing around with this framework but somehow out of the box this project doesn't seem runnable. I can't execute the example script with the package versions listed in the requirements file. So I'm asking if there is a better maintained version which works out of the box?

@PieWol
Copy link
Author

PieWol commented Oct 20, 2024

Basically if I run pip install -r requirements.txt it defaults to the latest available version which by then has deprecated a ton of used functions. @patrickehrler

see

/LEAKER/venv/lib/python3.8/site-packages/tikzplotlib/_color.py", line 32, in _get_closest_colour_name
    for h, name in webcolors.CSS3_HEX_TO_NAMES.items():
AttributeError: module 'webcolors' has no attribute 'CSS3_HEX_TO_NAMES'

@atreiber94
Copy link
Contributor

atreiber94 commented Oct 23, 2024

Yeah, unfortunately the framework is not being maintained to work with the latest available versions, mostly because it relies on some libraries that themselves are no longer maintained (like tikzplotlib). You could try to install the exact versions listed in requirements.txt, it does work with those and Python 3.8.

If the issues largely stem from tikzplotlib you could also avoid this being imported by not specifying any output plot files

@PieWol
Copy link
Author

PieWol commented Oct 23, 2024

Great, thanks :)

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

No branches or pull requests

2 participants