natethegreate / hent-AI

Automation of censor bar detection
MIT License
1.58k stars 145 forks source link

Deprecation of Python 3.5 #19

Open ASBaumgarten opened 3 years ago

ASBaumgarten commented 3 years ago

Setting up the conda env with python 3.5 comes with pip 10.0.1. Trying to install from requirements-gpu.txt errors out with this version, but after updating pip to 20.3.1 the requirements install worked perfectly. It would be worth checking out if using a more recent version of python will work in-place of python 3.5 since it will not work with pip 21.0 once that releases.

(hentai) [alexander@BrickArch hent-AI]$ pip install --upgrade pip
Collecting pip
  Downloading https://files.pythonhosted.org/packages/ab/11/2dc62c5263d9eb322f2f028f7b56cd9d096bb8988fcf82d65fa2e4057afe/pip-20.3.1-py2.py3-none-any.whl (1.5MB)
    100% |████████████████████████████████| 1.5MB 12.0MB/s 
Installing collected packages: pip
  Found existing installation: pip 10.0.1
    Uninstalling pip-10.0.1:
      Successfully uninstalled pip-10.0.1
Successfully installed pip-20.3.1
(hentai) [alexander@BrickArch hent-AI]$ pip install -r requirements-gpu.txt 
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.