alievk/avatarify-python

Cannot install - conda drops Python to 3.7, PyYaml 5.4 is not getting installed as it requires 3.8

Opened this issue · 3 comments

Describe the bug
While trying to install as per the installation instructions, after getting miniconda, the install stops around PyYaml with a requirement for Python 3.8. Yet, conda drops the version to 3.7 for unknown reason.

To Reproduce
Install as per installation instructions.

Info:

  • OS - Linux PopOS 22.04LTS
  • NVIDIA GeForce RTX 4060 Laptop GPU
  • Install log:
The following NEW packages will be INSTALLED:

 _pytorch_select    pkgs/main/linux-64::_pytorch_select-0.1-cpu_0 
 cudatoolkit        pkgs/main/linux-64::cudatoolkit-11.0.221-h6bb024c_0 
 intel-openmp       pkgs/main/linux-64::intel-openmp-2022.1.0-h9e868ea_3769 
 libuv              pkgs/main/linux-64::libuv-1.48.0-h5eee18b_0 
 mkl                pkgs/main/linux-64::mkl-2022.1.0-hc2b9512_224 
 ninja              pkgs/main/linux-64::ninja-1.12.1-h06a4308_0 
 ninja-base         pkgs/main/linux-64::ninja-base-1.12.1-hdb19cb5_0 
 pytorch            pytorch/linux-64::pytorch-1.7.1-py3.7_cuda11.0.221_cudnn8.0.5_0 
 torchvision        pkgs/main/linux-64::torchvision-0.8.2-cpu_py37ha229d99_0 

The following packages will be SUPERSEDED by a higher-priority channel:

 blas                       conda-forge::blas-1.1-openblas --> pkgs/main::blas-1.0-mkl 
 libopenblas        conda-forge::libopenblas-0.3.28-pthre~ --> pkgs/main::libopenblas-0.3.21-h043d6bf_0 
 scipy               pkgs/main::scipy-1.7.3-py37hf838250_2 --> conda-forge::scipy-1.7.3-py37hf2a6cf1_0 

The following packages will be DOWNGRADED:

 libblas                         3.9.0-26_linux64_openblas --> 3.9.0-16_linux64_mkl 
 libcblas                        3.9.0-26_linux64_openblas --> 3.9.0-16_linux64_mkl 
 liblapack                       3.9.0-26_linux64_openblas --> 3.9.0-16_linux64_mkl 
 openblas                       0.3.28-pthreads_h6ec200e_1 --> 0.3.4-ha44fe06_0 

Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: - By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html

done
Cloning into 'fomm'...
remote: Enumerating objects: 211, done.
remote: Total 211 (delta 0), reused 0 (delta 0), pack-reused 211 (from 1)
Receiving objects: 100% (211/211), 58.16 MiB | 36.60 MiB/s, done.
Resolving deltas: 100% (108/108), done.
Collecting opencv-python==4.2.0.34
 Using cached opencv_python-4.2.0.34-cp37-cp37m-manylinux1_x86_64.whl (28.2 MB)
Collecting face-alignment==1.3.3
 Using cached face_alignment-1.3.3.tar.gz (25 kB)
 Preparing metadata (setup.py) ... done
Collecting pyzmq==20.0.0
 Using cached pyzmq-20.0.0-cp37-cp37m-manylinux1_x86_64.whl (1.1 MB)
Collecting msgpack-numpy==0.4.7.1
 Using cached msgpack_numpy-0.4.7.1-py2.py3-none-any.whl (6.7 kB)
Collecting pyyaml==5.4
 Using cached PyYAML-5.4-cp37-cp37m-manylinux1_x86_64.whl (636 kB)
ERROR: Ignored the following versions that require a different python version: 2.32.0 Requires-Python >=3.8; 2.32.1 Requires-Python >=3.8; 2.32.2 Requires-Python >=3.8; 2.32.3 Requires-Python >=3.8; 6.0.2 Requires-Python >=3.8
ERROR: Could not find a version that satisfies the requirement requests==2.32.0 (from versions: 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.4.0, 0.4.1, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.8.9, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.6, 0.10.7, 0.10.8, 0.11.1, 0.11.2, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.13.4, 0.13.5, 0.13.6, 0.13.7, 0.13.8, 0.13.9, 0.14.0, 0.14.1, 0.14.2, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 2.0.0, 2.0.1, 2.1.0, 2.2.0, 2.2.1, 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0, 2.6.1, 2.6.2, 2.7.0, 2.8.0, 2.8.1, 2.9.0, 2.9.1, 2.9.2, 2.10.0, 2.11.0, 2.11.1, 2.12.0, 2.12.1, 2.12.2, 2.12.3, 2.12.4, 2.12.5, 2.13.0, 2.14.0, 2.14.1, 2.14.2, 2.15.1, 2.16.0, 2.16.1, 2.16.2, 2.16.3, 2.16.4, 2.16.5, 2.17.0, 2.17.1, 2.17.2, 2.17.3, 2.18.0, 2.18.1, 2.18.2, 2.18.3, 2.18.4, 2.19.0, 2.19.1, 2.20.0, 2.20.1, 2.21.0, 2.22.0, 2.23.0, 2.24.0, 2.25.0, 2.25.1, 2.26.0, 2.27.0, 2.27.1, 2.28.0, 2.28.1, 2.28.2, 2.29.0, 2.30.0, 2.31.0)
ERROR: No matching distribution found for requests==2.32.0

conda list:

_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
_pytorch_select           0.1                       cpu_0  
blas                      1.0                         mkl  
blosc                     1.21.1               h83bc5f7_3    conda-forge
brotli                    1.0.9                h166bdaf_9    conda-forge
brotli-bin                1.0.9                h166bdaf_9    conda-forge
brunsli                   0.1                  h9c3ff4c_0    conda-forge
bzip2                     1.0.8                h4bc722e_7    conda-forge
c-ares                    1.34.4               hb9d3cd8_0    conda-forge
c-blosc2                  2.1.1                h7a311fb_2    conda-forge
ca-certificates           2024.12.14           hbcca054_0    conda-forge
certifi                   2024.8.30          pyhd8ed1ab_0    conda-forge
cfitsio                   4.0.0                h9a35b8e_0    conda-forge
charls                    2.2.0                h9c3ff4c_0    conda-forge
cloudpickle               2.2.1              pyhd8ed1ab_0    conda-forge
cudatoolkit               11.0.221             h6bb024c_0  
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
cytoolz                   0.12.0           py37h540881e_0    conda-forge
dask-core                 2022.2.0           pyhd8ed1ab_0    conda-forge
fftw                      3.3.10          nompi_h77c792f_102    conda-forge
fonttools                 4.38.0           py37h540881e_0    conda-forge
freetype                  2.12.1               h267a509_2    conda-forge
fsspec                    2023.1.0           pyhd8ed1ab_0    conda-forge
giflib                    5.2.2                hd590300_0    conda-forge
imagecodecs               2021.11.20       py37h4167934_1    conda-forge
imageio                   2.36.0             pyh12aca89_1    conda-forge
intel-openmp              2022.1.0          h9e868ea_3769  
jpeg                      9e                   h0b41bf4_3    conda-forge
jxrlib                    1.1                  hd590300_3    conda-forge
kiwisolver                1.4.2            py37h7cecad7_1    conda-forge
krb5                      1.21.3               h143b758_0  
lcms2                     2.14                 h6ed2654_0    conda-forge
ld_impl_linux-64          2.40                 h12ee557_0  
lerc                      3.0                  h9c3ff4c_0    conda-forge
libaec                    1.0.6                h9c3ff4c_0    conda-forge
libblas                   3.9.0            16_linux64_mkl    conda-forge
libbrotlicommon           1.0.9                h166bdaf_9    conda-forge
libbrotlidec              1.0.9                h166bdaf_9    conda-forge
libbrotlienc              1.0.9                h166bdaf_9    conda-forge
libcblas                  3.9.0            16_linux64_mkl    conda-forge
libcurl                   8.2.1                hca28451_0    conda-forge
libdeflate                1.8                  h7f98852_0    conda-forge
libedit                   3.1.20230828         h5eee18b_0  
libev                     4.33                 hd590300_2    conda-forge
libffi                    3.4.4                h6a678d5_1  
libgcc                    14.2.0               h77fa898_1    conda-forge
libgcc-ng                 14.2.0               h69a702a_1    conda-forge
libgfortran               14.2.0               h69a702a_1    conda-forge
libgfortran-ng            14.2.0               h69a702a_1    conda-forge
libgfortran5              14.2.0               hd5240d6_1    conda-forge
libgomp                   14.2.0               h77fa898_1    conda-forge
liblapack                 3.9.0            16_linux64_mkl    conda-forge
libnghttp2                1.57.0               h2d74bed_0  
libnsl                    2.0.1                hd590300_0    conda-forge
libopenblas               0.3.21               h043d6bf_0  
libpng                    1.6.43               h2797004_0    conda-forge
libssh2                   1.11.0               h0841786_0    conda-forge
libstdcxx-ng              11.2.0               h1234567_1  
libtiff                   4.4.0                hecacb30_2  
libuv                     1.48.0               h5eee18b_0  
libwebp-base              1.4.0                hd590300_0    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libzlib                   1.2.13               h4ab18f5_6    conda-forge
libzopfli                 1.0.3                h9c3ff4c_0    conda-forge
locket                    1.0.0              pyhd8ed1ab_0    conda-forge
lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
matplotlib-base           3.5.1            py37h1058ff1_0    conda-forge
mkl                       2022.1.0           hc2b9512_224  
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
ncurses                   6.4                  h6a678d5_0  
networkx                  2.7                pyhd8ed1ab_0    conda-forge
ninja                     1.12.1               h06a4308_0  
ninja-base                1.12.1               hdb19cb5_0  
numpy                     1.19.0           py37h8960a57_0    conda-forge
openblas                  0.3.4                ha44fe06_0    conda-forge
openjpeg                  2.5.0                h7d73246_0    conda-forge
openssl                   3.4.0                hb9d3cd8_0    conda-forge
packaging                 23.2               pyhd8ed1ab_0    conda-forge
pandas                    1.2.4            py37ha9443f7_0  
partd                     1.4.1              pyhd8ed1ab_0    conda-forge
pillow                    9.2.0            py37h850a105_2    conda-forge
pip                       22.3.1           py37h06a4308_0  
pthread-stubs             0.4               hb9d3cd8_1002    conda-forge
pyparsing                 3.1.4              pyhd8ed1ab_0    conda-forge
python                    3.7.12          hf930737_100_cpython    conda-forge
python-blosc              1.7.0           py37hf484d3e_1001    conda-forge
python-dateutil           2.9.0              pyhd8ed1ab_0    conda-forge
python_abi                3.7                     4_cp37m    conda-forge
pytorch                   1.7.1           py3.7_cuda11.0.221_cudnn8.0.5_0    pytorch
pytz                      2024.2             pyhd8ed1ab_0    conda-forge
pywavelets                1.3.0            py37h6c7ee08_0    conda-forge
pyyaml                    6.0              py37h540881e_4    conda-forge
readline                  8.2                  h5eee18b_0  
scikit-image              0.19.2           py37he8f5f7f_0    conda-forge
scipy                     1.7.3            py37hf2a6cf1_0    conda-forge
setuptools                65.6.3           py37h06a4308_0  
six                       1.16.0             pyh6c4a22f_0    conda-forge
snappy                    1.1.9                hbd366e4_1    conda-forge
sqlite                    3.45.3               h5eee18b_0  
tifffile                  2021.11.2          pyhd8ed1ab_0    conda-forge
tk                        8.6.14               h39e8969_0  
toolz                     0.12.1             pyhd8ed1ab_0    conda-forge
torchvision               0.8.2           cpu_py37ha229d99_0  
typing-extensions         4.7.1                hd8ed1ab_0    conda-forge
typing_extensions         4.7.1              pyha770c72_0    conda-forge
unicodedata2              14.0.0           py37h540881e_1    conda-forge
wheel                     0.38.4           py37h06a4308_0  
xorg-libxau               1.0.12               hb9d3cd8_0    conda-forge
xorg-libxdmcp             1.1.5                hb9d3cd8_0    conda-forge
xz                        5.4.6                h5eee18b_1  
yaml                      0.2.5                h7f98852_2    conda-forge
zfp                       0.5.5                h9c3ff4c_8    conda-forge
zlib                      1.2.13               h4ab18f5_6    conda-forge
zlib-ng                   2.0.7                h0b41bf4_0    conda-forge
zstd                      1.5.2                h8a70e8d_1    conda-forge

@King_Gabos on telegram
I will help you but know.. nothing huge

@Nene020911 Maybe nothing huge, yet preventing me from installing. I tried forcing conda into higher Python version (no avail - conflicts) and downgrading PyYaml to 5.1 (the same result). I'm out of ideas, at least for today.

JohanAR commented

Sorry, this project is not actively maintained, the install instructions and python requirements are probably very out of date.