Advice for installation with pip
Hi!
I used "pip install foldcomp" to install it in my system (WSL2 with conda as well as google colab). However it looks like foldcomp is not recognized because when i wrote "foldcomp" in the terminal there is no such command.
running "pip show foldcomp" shows 2 directories located at /home/my_user/anaconda3/envs/bio/lib/python3.11/site-packages:
-
foldcomp/ files: init.py util.py setup.py pycache foldcomp.cpython-311-x86_64-linux-gnu.so
foldcomp.py (is empty) -
foldcomp-0.0.7.dist-info/ files: INSTALLER LICENSE.txt METADATA RECORD REQUESTED WHEEL top_level.txt
how foldcomp must be installed ?
thanks for your attention :)
Hi @miangoar!
It is indeed not very clear, but by using pip install you're only installing a Python interface, not a command line application.
To run full foldcomp from the command line you need to download binaries or compile the soft.
Cheers!
Hi @valentynbez
Thank you. I was confused and i don't want to explode my PC. I just downloaded the pre-compiled binary and moved it to "/usr/bin/".
Before this, I noted that using the python API in a jupter notebook works well. Anyway ¯_(ツ)_/¯
Cheers !
We should ship the foldcomp binary through pip as-well @khb7840
Maybe similar to this: https://simonwillison.net/2022/May/23/bundling-binary-tools-in-python-wheels