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

Installing from source via pip #326

Open
moravveji opened this issue Sep 20, 2023 · 0 comments
Open

Installing from source via pip #326

moravveji opened this issue Sep 20, 2023 · 0 comments

Comments

@moravveji
Copy link

I would like to propose an update to your installation guide (https://alleninstitute.github.io/bmtk/installation.html) when building from source. Currently, the proposed installation step is python setup.py install. However, in the latest versions of Python, using .egg files is deprecated. When I try this on our HPC clusters, I ended up with only .egg files under the lib folder, and not a working copy of the actual bmtk module and its other dependencies.

Instead, simply using pip(3) comes to the rescue, e.g.

cd bmtk-1.0.8     # i.e. the top folder for a specific version
pip3 install --prefix=<path/to/software/folder> .

mind the ending dot . which enforces pip3 to use the local setup.py file.

I hope this helps.

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

1 participant