I mark articles for SciELO and I need to use Python 2.7.X to work with it, but when i try to install pillow, packtools and lxml the cmd points to "Could not find a version that satisfies the requirement pillow (from versions: )".
Here's the link in SciELO to follow the steps:
- I've install Python 2.7.17, add it to PATH
- Get XPM in 2.1. User: produtos-scielo 2.2. Password: produtos@scielo
- Executed install_requirements.bat
At the third step I get these erros that I printed
I mark articles for SciELO and I need to use Python 2.7.X to work with it, but when i try to install pillow, packtools and lxml the cmd points to "Could not find a version that satisfies the requirement pillow (from versions: )".
Here's the link in SciELO to follow the steps: https://documentacao.scielo./books/scielo-pc-programs/page/pre-requisitos
- I've install Python 2.7.17, add it to PATH
- Get XPM in ftp://ftp.scielo.br 2.1. User: produtos-scielo 2.2. Password: produtos@scielo
- Executed install_requirements.bat
At the third step I get these erros that I printed
Share Improve this question asked Feb 3 at 19:01 Saraiva_NSaraiva_N 111 silver badge2 bronze badges 4 |2 Answers
Reset to default 2You report that modern packaging infrastructure does not find any compatibile version combinations. That’s hardly surprising. Python 2.7 was supported in 2019, but it has not been supported for a very very long time. Recommend you switch to interpreter 3.9 or higher.
Pushing on a rope will not always prove effective. If the libraries you depend on are not compatible with python3, then either encourage the upstream developers to update their library, or you may choose to adopt different library dependencies to accomplish your business goals.
Ensure pip is at the correct version i.e. pip==9.0.3. Install specific versions of the libraries compatible with Python 2.7. Then install pillow as:
python -m pip install pillow packtools lxml --use-deprecated=legacy-resolver
python -m pip install pillow==6.2.2
? – dev_light Commented Feb 3 at 19:04conda
and theconda-fe
channel. But frankly, you shouldn't expect to be able to do much with Python 2 – juanpa.arrivillaga Commented Feb 3 at 20:39