ppsp-team / HyPyP

The Hyperscanning Python Pipeline
BSD 3-Clause "New" or "Revised" License
75 stars 42 forks source link

HyPyP installation is failing on CentOS7 with the error- No matching distribution found for PyQt5-Qt5>=5.15.2 (from pyqt5<6.0.0,>=5.15.0->HyPyP) #86

Closed shivak3 closed 2 years ago

shivak3 commented 2 years ago

Hi All,

I am trying to install HyPyP on CentOS 7, But it is failing with the error:

collecting PyQt5-Qt5>=5.15.2 (from pyqt5<6.0.0,>=5.15.0->HyPyP) Could not find a version that satisfies the requirement PyQt5-Qt5>=5.15.2 (from pyqt5<6.0.0,>=5.15.0->HyPyP) (from versions: ) No matching distribution found for PyQt5-Qt5>=5.15.2 (from pyqt5<6.0.0,>=5.15.0->HyPyP)

Machine details: Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-1127.el7.x86_64 Architecture: x86-64

Full Installation process is:

[root@localhost ~]# pip3 install HyPyP
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting HyPyP
  Downloading https://files.pythonhosted.org/packages/57/b9/a710b48fb85391d19c79ae84d7e1306992089fc6b145e87a468341137534/hypyp-0.2.0a4-py3-none-any.whl (44kB)
    100% |████████████████████████████████| 51kB 3.0MB/s 
Collecting matplotlib<4.0.0,>=3.2.1 (from HyPyP)
  Downloading https://files.pythonhosted.org/packages/09/03/b7b30fa81cb687d1178e085d0f01111ceaea3bf81f9330c937fb6f6c8ca0/matplotlib-3.3.4-cp36-cp36m-manylinux1_x86_64.whl (11.5MB)
    100% |████████████████████████████████| 11.5MB 144kB/s 
Collecting pandas<2.0.0,>=1.0.3 (from HyPyP)
  Downloading https://files.pythonhosted.org/packages/c3/e2/00cacecafbab071c787019f00ad84ca3185952f6bb9bca9550ed83870d4d/pandas-1.1.5-cp36-cp36m-manylinux1_x86_64.whl (9.5MB)
    100% |████████████████████████████████| 9.5MB 174kB/s 
Collecting numpy<2.0.0,>=1.18.3 (from HyPyP)
  Downloading https://files.pythonhosted.org/packages/45/b2/6c7545bb7a38754d63048c7696804a0d947328125d81bf12beaa692c3ae3/numpy-1.19.5-cp36-cp36m-manylinux1_x86_64.whl (13.4MB)
    100% |████████████████████████████████| 13.4MB 121kB/s 
Collecting scikit-learn<0.23.0,>=0.22.2 (from HyPyP)
  Downloading https://files.pythonhosted.org/packages/5e/d8/312e03adf4c78663e17d802fe2440072376fee46cada1404f1727ed77a32/scikit_learn-0.22.2.post1-cp36-cp36m-manylinux1_x86_64.whl (7.1MB)
    100% |████████████████████████████████| 7.1MB 242kB/s 
Collecting mne<0.21.0,>=0.20.8 (from HyPyP)
  Downloading https://files.pythonhosted.org/packages/90/c6/7619cef2fe437038267f2a5e2752180dfa594daada8b10a8ab73d187c078/mne-0.20.8-py3-none-any.whl (6.6MB)
    100% |████████████████████████████████| 6.6MB 255kB/s 
Collecting statsmodels<0.12.0,>=0.11.1 (from HyPyP)
  Downloading https://files.pythonhosted.org/packages/cb/83/540fd83238a18abe6c2d280fa8e489ac5fcefa1f370f0ca1acd16ae1b860/statsmodels-0.11.1-cp36-cp36m-manylinux1_x86_64.whl (8.7MB)
    100% |████████████████████████████████| 8.7MB 194kB/s 
Collecting tqdm<5.0.0,>=4.46.0 (from HyPyP)
  Downloading https://files.pythonhosted.org/packages/63/f3/b7a1b8e40fd1bd049a34566eb353527bb9b8e9b98f8b6cf803bb64d8ce95/tqdm-4.62.3-py2.py3-none-any.whl (76kB)
    100% |████████████████████████████████| 81kB 7.8MB/s 
Collecting pyqt5<6.0.0,>=5.15.0 (from HyPyP)
  Using cached https://files.pythonhosted.org/packages/36/66/19983d471c702e551a19a7225a92a7c1efadd961f6c650110ed906dd0ed7/PyQt5-5.15.6-cp36-abi3-manylinux1_x86_64.whl
Collecting scipy<2.0.0,>=1.4.1 (from HyPyP)
  Downloading https://files.pythonhosted.org/packages/c8/89/63171228d5ced148f5ced50305c89e8576ffc695a90b58fe5bb602b910c2/scipy-1.5.4-cp36-cp36m-manylinux1_x86_64.whl (25.9MB)
    100% |████████████████████████████████| 25.9MB 64kB/s 
Collecting joblib<0.15.0,>=0.14.1 (from HyPyP)
  Downloading https://files.pythonhosted.org/packages/28/5c/cf6a2b65a321c4a209efcdf64c2689efae2cb62661f8f6f4bb28547cf1bf/joblib-0.14.1-py2.py3-none-any.whl (294kB)
    100% |████████████████████████████████| 296kB 3.4MB/s 
Collecting astropy<5.0.0,>=4.0.1 (from HyPyP)
  Downloading https://files.pythonhosted.org/packages/74/9c/a1e51955d4a2af497a507c323409ebe55c122a91c438d2884d918360efc1/astropy-4.1-cp36-cp36m-manylinux1_x86_64.whl (10.3MB)
    100% |████████████████████████████████| 10.3MB 168kB/s 
Collecting meshio<5.0.0,>=4.0.13 (from HyPyP)
  Downloading https://files.pythonhosted.org/packages/bb/36/02702cfc5fdf19e6477ea2a78cac4a774a8da4c2cf9557f3ddfb33c74192/meshio-4.4.6-py3-none-any.whl (158kB)
    100% |████████████████████████████████| 163kB 3.7MB/s 
Collecting autoreject<0.3.0,>=0.2.1 (from HyPyP)
  Downloading https://files.pythonhosted.org/packages/00/00/1d93f88be662a1a65cae78261aad6856740a173c6947d47deaf91d70c47c/autoreject-0.2.2-py3-none-any.whl
Collecting kiwisolver>=1.0.1 (from matplotlib<4.0.0,>=3.2.1->HyPyP)
  Downloading https://files.pythonhosted.org/packages/a7/1b/cbd8ae738719b5f41592a12057ef5442e2ed5f5cb5451f8fc7e9f8875a1a/kiwisolver-1.3.1-cp36-cp36m-manylinux1_x86_64.whl (1.1MB)
    100% |████████████████████████████████| 1.1MB 1.3MB/s 
Collecting pillow>=6.2.0 (from matplotlib<4.0.0,>=3.2.1->HyPyP)
  Downloading https://files.pythonhosted.org/packages/7d/2a/2fc11b54e2742db06297f7fa7f420a0e3069fdcf0e4b57dfec33f0b08622/Pillow-8.4.0.tar.gz (49.4MB)
    100% |████████████████████████████████| 49.4MB 33kB/s 
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in /usr/local/lib/python3.6/site-packages (from matplotlib<4.0.0,>=3.2.1->HyPyP)
Collecting python-dateutil>=2.1 (from matplotlib<4.0.0,>=3.2.1->HyPyP)
  Downloading https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl (247kB)
    100% |████████████████████████████████| 256kB 3.3MB/s 
Collecting cycler>=0.10 (from matplotlib<4.0.0,>=3.2.1->HyPyP)
  Downloading https://files.pythonhosted.org/packages/5c/f9/695d6bedebd747e5eb0fe8fad57b72fdf25411273a39791cde838d5a8f51/cycler-0.11.0-py3-none-any.whl
Collecting pytz>=2017.2 (from pandas<2.0.0,>=1.0.3->HyPyP)
  Downloading https://files.pythonhosted.org/packages/d3/e3/d9f046b5d1c94a3aeab15f1f867aa414f8ee9d196fae6865f1d6a0ee1a0b/pytz-2021.3-py2.py3-none-any.whl (503kB)
    100% |████████████████████████████████| 512kB 2.8MB/s 
Collecting patsy>=0.5 (from statsmodels<0.12.0,>=0.11.1->HyPyP)
  Downloading https://files.pythonhosted.org/packages/87/7f/d37cd027c25145eeba92b1a756976931c831803d92547c8637a3400c339f/patsy-0.5.2-py2.py3-none-any.whl (233kB)
    100% |████████████████████████████████| 235kB 4.3MB/s 
Collecting PyQt5-Qt5>=5.15.2 (from pyqt5<6.0.0,>=5.15.0->HyPyP)
  Could not find a version that satisfies the requirement PyQt5-Qt5>=5.15.2 (from pyqt5<6.0.0,>=5.15.0->HyPyP) (from versions: )
No matching distribution found for PyQt5-Qt5>=5.15.2 (from pyqt5<6.0.0,>=5.15.0->HyPyP)
[root@localhost ~]# 

Then I tried to install PyQT5

[root@localhost ~]# pip3 install PyQt5
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting PyQt5
  Using cached https://files.pythonhosted.org/packages/36/66/19983d471c702e551a19a7225a92a7c1efadd961f6c650110ed906dd0ed7/PyQt5-5.15.6-cp36-abi3-manylinux1_x86_64.whl
Collecting PyQt5-sip<13,>=12.8 (from PyQt5)
  Using cached https://files.pythonhosted.org/packages/cc/c2/c4f637463825ff04b206de85d57707b3559ec1d34af1bd6621ff8d6de972/PyQt5_sip-12.9.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting PyQt5-Qt5>=5.15.2 (from PyQt5)
  Could not find a version that satisfies the requirement PyQt5-Qt5>=5.15.2 (from PyQt5) (from versions: )
No matching distribution found for PyQt5-Qt5>=5.15.2 (from PyQt5)
[root@localhost ~]

Could you please guide me to fix this issue. -Thank you

deep-introspection commented 2 years ago

Sorry, we have no one in the team using CentOS. Apparently, there are guides for installing PyQT5 like this one: https://www.quora.com/How-do-I-install-a-PyQt5-on-Linux-Centos-7

Hope this helps! Let us know if it worked.