Once you can do `pyenv versions`, you should see `system` is your only python.
You can run `pyenv install 3.9` to get the latest.
Now that you're running the latest 3.9, the goal is to install each of the dependencies of this project, one by one.
Step one: try to run the project. It will fail with an error.
Step two: install the library that it says is missing.
Step three: Go to step one.
I've followed this algorithm so many times that I can't count anymore how often it's saved me. Forget poetry, and forget a requirements.txt file. This is the only way I do it on my local laptop. (And I usually use the regular system python, but, yours seems to be in a suspect state.)
If after all of this you still get errors, then I'm truly sorry; god be with you, you're not alone, but I'm not sure anyone can help. It's definitely not the fault of this project that pillow can't be installed. :)
That's very strange. The core library uses pure python and demo uses pyqt5, pandas, matplotlib and pillow. I wasn't aware that any of those projects (or sub projects) depend on Rust. I'm running on Linux / Ubuntu 20.04 with Python 3.8. How about you?
(The pip command I just gave should only install the core library and so only depends on base python).
sillysaurusx|4 years ago
The solution here is, your python environment is borked. I've seen this many times.
Step one, is to install a fresh Python. You can do that using pyenv: https://github.com/pyenv/pyenv#installation
Once you can do `pyenv versions`, you should see `system` is your only python.You can run `pyenv install 3.9` to get the latest.
Now that you're running the latest 3.9, the goal is to install each of the dependencies of this project, one by one.
Step one: try to run the project. It will fail with an error.
Step two: install the library that it says is missing.
Step three: Go to step one.
I've followed this algorithm so many times that I can't count anymore how often it's saved me. Forget poetry, and forget a requirements.txt file. This is the only way I do it on my local laptop. (And I usually use the regular system python, but, yours seems to be in a suspect state.)
If after all of this you still get errors, then I'm truly sorry; god be with you, you're not alone, but I'm not sure anyone can help. It's definitely not the fault of this project that pillow can't be installed. :)
DemocracyFTW|4 years ago
Your solution looks simple and easy to follow. There's a flow chart to simplify this process here: https://xkcd.com/1987/
bsdz|4 years ago
(The pip command I just gave should only install the core library and so only depends on base python).
Tipewryter|4 years ago
eesmith|4 years ago
childintime|4 years ago
Indeed, on Python 3.9 it doesn't install, as it requires Python 3.8.
I'd like to try this, how to proceed?