Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation problems #52

Open
LidiaML opened this issue May 26, 2022 · 2 comments
Open

installation problems #52

LidiaML opened this issue May 26, 2022 · 2 comments

Comments

@LidiaML
Copy link

LidiaML commented May 26, 2022

Dear all,

I am having problems with the installation and the solutions proposed in the documentation didn't work so far. Your help will be really appreciated.

1st attempt: installing plastid with pip install gave me the following error:
"ERROR: Could not build wheels for plastid, which is required to install pyproject.toml-based projects"
python version: Python 3.7.10; pip version: pip version 22.0.4; Linux distribution: "CentOS Linux 7 (Core)"

2nd attempt: installing plastid in a new conda environment gave me this error:
PackagesNotFoundError: The following packages are not available from current channels:

3rd attempt: installing plastid in a vanilla environment (virtualenv) so that I make sure that there are no conflicts with other packages etc. "ERROR: Could not build wheels for plastid, which is required to install pyproject.toml-based projects"

Is there anything I am missing?? any system library or something like that? a problem with the gcc compiler?

Thank you very much in advance!

Find below the log of one of the installation attempts.

###########################################################################################
Using pip 22.0.4 from /home/lmateo/miniconda3/envs/orfrater/lib/python3.7/site-packages/pip (python 3.7)
Collecting plastid
Downloading plastid-0.6.1.tar.gz (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 8.5 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting pysam>=0.8.4
Downloading pysam-0.19.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.0/15.0 MB 58.4 MB/s eta 0:00:00
Collecting twobitreader>=3.0.0
Downloading twobitreader-3.1.7.tar.gz (9.2 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting biopython>=1.64
Downloading biopython-1.79-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (2.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 12.2 MB/s eta 0:00:00
Link requires a different Python (3.7.10 not in: '>=3.8,<3.11'): https://files.pythonhosted.org/packages/c0/ad/e3c052ed4e0027a8abef0a5e8441a044427d252d17d9aee06d56e62fc698/scipy-1.8.0rc1.tar.gz#sha256=54adf5c1197d6c3de2e131dc71660bb11d4e449aff79c8c231bd05dc6ad307eb (from https://pypi.org/simple/scipy/) (requires-python:>=3.8,<3.11)
Link requires a different Python (3.7.10 not in: '>=3.8,<3.11'): https://files.pythonhosted.org/packages/29/d2/151a54944b333e465f98804dced31dab1284f3c37b752b9cefa710b64681/scipy-1.8.0rc2.tar.gz#sha256=d73b13eb0452c178f946b4db60b27e400225df02e926609652ed67798054e77d (from https://pypi.org/simple/scipy/) (requires-python:>=3.8,<3.11)
Link requires a different Python (3.7.10 not in: '>=3.8,<3.11'): https://files.pythonhosted.org/packages/e4/26/83dd1c6378513a6241d984bda9f08c512b6e35fff13fba3acc1b3c195f02/scipy-1.8.0rc3.tar.gz#sha256=7e4f827b37275b1264102f2cc063ba17a40fb858af7a98f63b3b1be2670a34b1 (from https://pypi.org/simple/scipy/) (requires-python:>=3.8,<3.11)
Link requires a different Python (3.7.10 not in: '>=3.8,<3.11'): https://files.pythonhosted.org/packages/22/78/056cc43e7737811b6f50886788a940f852773dd9804f5365952805db9648/scipy-1.8.0rc4.tar.gz#sha256=bfa5b17b108203c31388d362fe666b96c2f0aa1a094d460aab85440c22e6f22f (from https://pypi.org/simple/scipy/) (requires-python:>=3.8,<3.11)
Link requires a different Python (3.7.10 not in: '>=3.8,<3.11'): https://files.pythonhosted.org/packages/b4/a2/4faa34bf0cdbefd5c706625f1234987795f368eb4e97bde9d6f46860843e/scipy-1.8.0.tar.gz#sha256=31d4f2d6b724bc9a98e527b5849b8a7e589bf1ea630c33aa563eda912c9ff0bd (from https://pypi.org/simple/scipy/) (requires-python:>=3.8,<3.11)
Link requires a different Python (3.7.10 not in: '>=3.8,<3.11'): https://files.pythonhosted.org/packages/26/b5/9330f004b9a3b2b6a31f59f46f1617ce9ca15c0e7fe64288c20385a05c9d/scipy-1.8.1.tar.gz#sha256=9e3fb1b0e896f14a85aa9a28d5f755daaeeb54c897b746df7a55ccb02b340f33 (from https://pypi.org/simple/scipy/) (requires-python:>=3.8,<3.11)
Collecting scipy>=0.15.1
Downloading scipy-1.7.3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (38.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.1/38.1 MB 40.1 MB/s eta 0:00:00
Link requires a different Python (3.7.10 not in: '>=3.8'): https://files.pythonhosted.org/packages/29/e3/6bd596d81eaf9f5b35398fdac0c535efadd9bbf8d0f859739badf9f90c63/pandas-1.4.0rc0.tar.gz#sha256=c0d453fda0a87d51f5fe65c16a89b64f13a736f4f17c0202cfcff67e6b341a57 (from https://pypi.org/simple/pandas/) (requires-python:>=3.8)
Link requires a different Python (3.7.10 not in: '>=3.8'): https://files.pythonhosted.org/packages/4d/aa/e7078569d20f45e8cf6512a24bf2945698f13a7975650773c01366ea96dc/pandas-1.4.0.tar.gz#sha256=cdd76254c7f0a1583bd4e4781fb450d0ebf392e10d3f12e92c95575942e37df5 (from https://pypi.org/simple/pandas/) (requires-python:>=3.8)
Link requires a different Python (3.7.10 not in: '>=3.8'): https://files.pythonhosted.org/packages/c4/eb/cfa96ba42695b3c28d4864a796d492f188471dd536df7e5e5e0c54b629a6/pandas-1.4.1.tar.gz#sha256=8db93ec98ac7cb5f8ac1420c10f5e3c43533153f253fe7fb6d891cf5aa2b80d2 (from https://pypi.org/simple/pandas/) (requires-python:>=3.8)
Link requires a different Python (3.7.10 not in: '>=3.8'): https://files.pythonhosted.org/packages/5a/ac/b3b9aa2318de52e40c26ae7b9ce6d4e9d1bcdaf5da0899a691642117cf60/pandas-1.4.2.tar.gz#sha256=92bc1fc585f1463ca827b45535957815b7deb218c549b7c18402c322c7549a12 (from https://pypi.org/simple/pandas/) (requires-python:>=3.8)
Collecting pandas>=0.17.0
Downloading pandas-1.3.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 37.2 MB/s eta 0:00:00
Collecting cython>=0.22.0
Downloading Cython-0.29.30-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (1.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 43.7 MB/s eta 0:00:00
Collecting termcolor
Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting matplotlib>=1.4.0
Downloading matplotlib-3.5.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (11.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.2/11.2 MB 39.1 MB/s eta 0:00:00
Link requires a different Python (3.7.10 not in: '>=3.8'): https://files.pythonhosted.org/packages/7a/7f/5384d4c85a2349bd89ff1c0253bff77c7b617e48af201f2d823fc619189a/numpy-1.22.0rc1.zip#sha256=bc991b3f8ea7c0f6703df2bc23c098cfe6f1a3a5e8a3a901eb6a5619275d53ff (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
Link requires a different Python (3.7.10 not in: '>=3.8'): https://files.pythonhosted.org/packages/a1/4a/8fd68d9a0a9fe5419cdbb697ffc96259fb716bd952c5c64225991add7551/numpy-1.22.0rc2.zip#sha256=01810dc32c5ac4c895b5c0d285497e1eb52038834919f3d2eaddfb9526b20dc9 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
Link requires a different Python (3.7.10 not in: '>=3.8'): https://files.pythonhosted.org/packages/17/d4/d3ac79fca81154e8d3e11232967024f480cfdc87dfeef479803716fb20cb/numpy-1.22.0rc3.zip#sha256=0b5642efe2a36f2191102b44bb95ee1479f14c1adb2d7155303e50b2517e43bc (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
Link requires a different Python (3.7.10 not in: '>=3.8'): https://files.pythonhosted.org/packages/50/e1/9b0c184f04b8cf5f3c941ffa56fbcbe936888bdac9aa7ba6bae405ac752b/numpy-1.22.0.zip#sha256=a955e4128ac36797aaffd49ab44ec74a71c11d6938df83b1285492d277db5397 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
Link requires a different Python (3.7.10 not in: '>=3.8'): https://files.pythonhosted.org/packages/0a/c8/a62767a6b374a0dfb02d2a0456e5f56a372cdd1689dbc6ffb6bf1ddedbc0/numpy-1.22.1.zip#sha256=e348ccf5bc5235fc405ab19d53bec215bb373300e5523c7b476cc0da8a5e9973 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
Link requires a different Python (3.7.10 not in: '>=3.8'): https://files.pythonhosted.org/packages/e9/6c/c0a8130fe198f27bab92f1b28631e0cc2572295f6b7a31e87efe7448aa1c/numpy-1.22.2.zip#sha256=076aee5a3763d41da6bef9565fdf3cb987606f567cd8b104aded2b38b7b47abf (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
Link requires a different Python (3.7.10 not in: '>=3.8'): https://files.pythonhosted.org/packages/64/4a/b008d1f8a7b9f5206ecf70a53f84e654707e7616a771d84c05151a4713e9/numpy-1.22.3.zip#sha256=dbc7601a3b7472d559dc7b933b18b4b66f9aa7452c120e87dfb33d02008c8a18 (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
Link requires a different Python (3.7.10 not in: '>=3.8'): https://files.pythonhosted.org/packages/f6/d8/ab692a75f584d13c6542c3994f75def5bce52ded9399f52e230fe402819d/numpy-1.22.4.zip#sha256=425b390e4619f58d8526b3dcf656dde069133ae5c240229821f01b5f44ea07af (from https://pypi.org/simple/numpy/) (requires-python:>=3.8)
Collecting numpy>=1.9.4
Downloading numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.7/15.7 MB 42.2 MB/s eta 0:00:00
Collecting python-dateutil>=2.7
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 102.7 MB/s eta 0:00:00
Collecting packaging>=20.0
Downloading packaging-21.3-py3-none-any.whl (40 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 KB 53.7 MB/s eta 0:00:00
Collecting cycler>=0.10
Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting fonttools>=4.22.0
Downloading fonttools-4.33.3-py3-none-any.whl (930 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 930.9/930.9 KB 66.3 MB/s eta 0:00:00
Collecting kiwisolver>=1.0.1
Downloading kiwisolver-1.4.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 50.2 MB/s eta 0:00:00
Collecting pillow>=6.2.0
Downloading Pillow-9.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 47.6 MB/s eta 0:00:00
Collecting pyparsing>=2.2.1
Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 KB 90.8 MB/s eta 0:00:00
Collecting pytz>=2017.3
Downloading pytz-2022.1-py2.py3-none-any.whl (503 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 503.5/503.5 KB 50.5 MB/s eta 0:00:00
Collecting typing-extensions
Downloading typing_extensions-4.2.0-py3-none-any.whl (24 kB)
Collecting six>=1.5
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: plastid, twobitreader, termcolor
Building wheel for plastid (pyproject.toml): started
Building wheel for plastid (pyproject.toml): finished with status 'error'
Building wheel for twobitreader (setup.py): started
Building wheel for twobitreader (setup.py): finished with status 'done'
Created wheel for twobitreader: filename=twobitreader-3.1.7-py3-none-any.whl size=9602 sha256=48feed40c805dbbcffafd2fcbc7731b1b7b30f4b3ee9e461f75cd207f46827ae
Stored in directory: /tmp/pip-ephem-wheel-cache-_hfd3tv8/wheels/d7/4f/70/282382e10dc13fd946f157888d9652437b01e3ac4541ac4b4b
Building wheel for termcolor (setup.py): started
Building wheel for termcolor (setup.py): finished with status 'done'
Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4848 sha256=31dede504b8826f170c8c0b1e06eb37fc09f3a70ce4b543f7beae55ea0fb5050
Stored in directory: /tmp/pip-ephem-wheel-cache-_hfd3tv8/wheels/3f/e3/ec/8a8336ff196023622fbcb36de0c5a5c218cbb24111d1d4c7f2
Successfully built twobitreader termcolor
Failed to build plastid

@LidiaML
Copy link
Author

LidiaML commented May 27, 2022

I could finally install plastid using the second approach (conda). The only thing I had to do is to add the bioconda channel like this: conda config --add channels bioconda and then run conda install plastid. This might seem obvious to expert conda users but might be of help for other people ;-)

@joshuagryphon
Copy link
Owner

Glad you got this installed. I'm unsure what did not work with a non-conda install, as the install log isn't giving many clues. One possibility- plastid has some non-Python dependencies, in the form of packges and development headers zlib, libcrypto, and libssl (latter two provided by libopenssl on many Linux platforms).

I'm not a CentOS user, but if I'm not mistaken, the headers would come from these packages:

  • zlib-devel
  • openssl-devel

Do you have those installed on your system?

Another way to debug the system-wide install would be to generate a verbose install log to get more detail: pip install --verbose plastid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants