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

Advice for installation with pip #49

Open
miangoar opened this issue Mar 24, 2024 · 3 comments
Open

Advice for installation with pip #49

miangoar opened this issue Mar 24, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@miangoar
Copy link

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

@valentynbez
Copy link

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!

@miangoar
Copy link
Author

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 !

@milot-mirdita
Copy link
Member

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

@khb7840 khb7840 added the enhancement New feature or request label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants