-
Notifications
You must be signed in to change notification settings - Fork 4
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
Failure to install - please help! #13
Comments
I also tried to use (surfmap) atanasradkov@Atanass-MBP surfmap_docker % python -m pip install --use-pep517 -e git+https://github.com/i2bc/[email protected]#egg=surfmap × Building wheel for freesasa (pyproject.toml) did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
thank you in advance for your time and help! |
Hi, Thanks for your interest in surfmap. I think the source of the error may arise from freesasa 2.1.0 that does not seem compatible with python 3.12 version. To fix your error, I suggest you execute the following instructions:
It sould be ok. If not, you could still try your first install process with a lower version of python (e.g. from 3.7 to 3.10 - i guess...). Please let me know if this resolved the failure. Thanks, Nicolas |
thank you very much Nicolas! I was able to install Now I'm running into this error. please see below my command and everything that happened afterwards. is this still a python 3.12 issue? if yes, could you let me know the python version that you know works, and I will just use that python version? thank you Nicolas! (surfmap) atanasradkov@ surfmap % surfmap -pdb P43235.pdb -tomap stickiness SURFMAP: Projection of protein surface features on 2D map Permission is hereby granted, free of charge, to any person obtaining a copy The above copyright notice and this permission notice shall be included in all THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
Hi, The msms executable does not seem to work: Are you on a macOS system? The first solution i would recommend is to use the docker image of surfmap:
This should work, Nicolas |
hi Nicolas! Thank you so much for your help! I think I have Docker set up correctly. Now I'm getting this error (please see below). I may need to look into Docker a bit more to make sure I have it set up correctly. I don't have much experience using Docker. Feel free to close this issue because I might not be able to return to this for some time. Thank you again for all your time and help! This is the error:
|
Dear Atanas, I am afraid this has nothing to do with docker. I suspect a strange behaviour causes from the use of anaconda (don't know what exactly). I suggest you use an other virtual environment manager (venv, virtualenv, ....) and also you should try with another python version (3.10 should be ok, without using conda to install it if possible). Sorry for the failures. N. |
here is the command that I ran and all of the message that came following that. and also I'm including a list of the exact packages in my conda environment.
packages in my surfmap conda environment:
(surfmap) atanasradkov@Atanass-MBP surfmap_docker % conda list
packages in environment at /Users/atanasradkov/opt/anaconda3/envs/surfmap:
Name Version Build Channel
bzip2 1.0.8 h10d778d_5 conda-forge
ca-certificates 2023.11.17 h8857fd0_0 conda-forge
libexpat 2.5.0 hf0c8a7f_1 conda-forge
libffi 3.4.2 h0d85af4_5 conda-forge
libsqlite 3.44.2 h92b6c6a_0 conda-forge
libzlib 1.2.13 h8a1eda9_5 conda-forge
ncurses 6.4 h93d8f39_2 conda-forge
openssl 3.2.0 hd75f5a5_0 conda-forge
pip 23.3.1 pyhd8ed1ab_0 conda-forge
python 3.12.0 h30d4d87_0_cpython conda-forge
readline 8.2 h9e318b2_1 conda-forge
setuptools 68.2.2 pyhd8ed1ab_0 conda-forge
tk 8.6.13 h1abcd95_1 conda-forge
tzdata 2023c h71feb2d_0 conda-forge
wheel 0.41.3 pyhd8ed1ab_0 conda-forge
xz 5.2.6 h775f41a_0 conda-forge
my command in terminal:
(surfmap) atanasradkov@Atanass-MBP surfmap_docker % python -m pip install -e git+https://github.com/i2bc/[email protected]#egg=surfmap
everything that happened afterwards:
Obtaining surfmap from git+https://github.com/i2bc/[email protected]#egg=surfmap
Cloning https://github.com/i2bc/SURFMAP.git (to revision v2.0.0) to ./src/surfmap
Running command git clone --filter=blob:none --quiet https://github.com/i2bc/SURFMAP.git /Users/atanasradkov/Desktop/Arcadia/developing_coding/ProtCart/surfmap_docker/src/surfmap
Running command git checkout -q f19184f961fcd8ecc12a2a0716125ae8d63c5a05
Resolved https://github.com/i2bc/SURFMAP.git to commit f19184f961fcd8ecc12a2a0716125ae8d63c5a05
Preparing metadata (setup.py) ... done
Collecting freesasa==2.1.0 (from surfmap)
Using cached freesasa-2.1.0.tar.gz (241 kB)
Preparing metadata (setup.py) ... done
Collecting numpy>=1.21.6 (from surfmap)
Using cached numpy-1.26.2-cp312-cp312-macosx_10_9_x86_64.whl.metadata (61 kB)
Collecting pdb2pqr==3.1.0 (from surfmap)
Using cached pdb2pqr-3.1.0-py2.py3-none-any.whl (206 kB)
Collecting requests==2.22.0 (from surfmap)
Using cached requests-2.22.0-py2.py3-none-any.whl (57 kB)
Collecting propka>=3.2 (from pdb2pqr==3.1.0->surfmap)
Using cached propka-3.5.0-py3-none-any.whl (98 kB)
Collecting pandas>=1.0 (from pdb2pqr==3.1.0->surfmap)
Using cached pandas-2.1.3-cp312-cp312-macosx_10_9_x86_64.whl.metadata (18 kB)
Collecting pytest>=5.4.1 (from pdb2pqr==3.1.0->surfmap)
Using cached pytest-7.4.3-py3-none-any.whl.metadata (7.9 kB)
Collecting mmcif-pdbx>=1.1.2 (from pdb2pqr==3.1.0->surfmap)
Using cached mmcif_pdbx-2.0.1-py2.py3-none-any.whl (20 kB)
Collecting chardet<3.1.0,>=3.0.2 (from requests==2.22.0->surfmap)
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting idna<2.9,>=2.5 (from requests==2.22.0->surfmap)
Using cached idna-2.8-py2.py3-none-any.whl (58 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests==2.22.0->surfmap)
Using cached urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
Collecting certifi>=2017.4.17 (from requests==2.22.0->surfmap)
Using cached certifi-2023.11.17-py3-none-any.whl.metadata (2.2 kB)
Collecting python-dateutil>=2.8.2 (from pandas>=1.0->pdb2pqr==3.1.0->surfmap)
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pytz>=2020.1 (from pandas>=1.0->pdb2pqr==3.1.0->surfmap)
Using cached pytz-2023.3.post1-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.1 (from pandas>=1.0->pdb2pqr==3.1.0->surfmap)
Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
Collecting iniconfig (from pytest>=5.4.1->pdb2pqr==3.1.0->surfmap)
Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting packaging (from pytest>=5.4.1->pdb2pqr==3.1.0->surfmap)
Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting pluggy<2.0,>=0.12 (from pytest>=5.4.1->pdb2pqr==3.1.0->surfmap)
Using cached pluggy-1.3.0-py3-none-any.whl.metadata (4.3 kB)
Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas>=1.0->pdb2pqr==3.1.0->surfmap)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached numpy-1.26.2-cp312-cp312-macosx_10_9_x86_64.whl (20.3 MB)
Using cached certifi-2023.11.17-py3-none-any.whl (162 kB)
Using cached pandas-2.1.3-cp312-cp312-macosx_10_9_x86_64.whl (11.4 MB)
Using cached pytest-7.4.3-py3-none-any.whl (325 kB)
Using cached pluggy-1.3.0-py3-none-any.whl (18 kB)
Using cached pytz-2023.3.post1-py2.py3-none-any.whl (502 kB)
Using cached packaging-23.2-py3-none-any.whl (53 kB)
Building wheels for collected packages: freesasa
Building wheel for freesasa (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [49 lines of output]
Define environment variable USE_CYTHON to build from Cython source
/Users/atanasradkov/opt/anaconda3/envs/surfmap/lib/python3.12/site-packages/setuptools/init.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for freesasa
Running setup.py clean for freesasa
error: subprocess-exited-with-error
× python setup.py clean did not run successfully.
│ exit code: 1
╰─> [49 lines of output]
Define environment variable USE_CYTHON to build from Cython source
/Users/atanasradkov/opt/anaconda3/envs/surfmap/lib/python3.12/site-packages/setuptools/init.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for freesasa
Failed to build freesasa
ERROR: Could not build wheels for freesasa, which is required to install pyproject.toml-based projects
The text was updated successfully, but these errors were encountered: