foldcomp icon indicating copy to clipboard operation
foldcomp copied to clipboard

Advice for installation with pip

Open miangoar opened this issue 1 year ago • 3 comments

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:

  1. foldcomp/ files: init.py util.py setup.py pycache foldcomp.cpython-311-x86_64-linux-gnu.so
    foldcomp.py (is empty)

  2. 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 :)

miangoar avatar Mar 24 '24 03:03 miangoar

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!

valentynbez avatar Mar 25 '24 16:03 valentynbez

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 !

miangoar avatar Mar 26 '24 05:03 miangoar

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

milot-mirdita avatar Mar 27 '24 05:03 milot-mirdita