Installing from source via pip
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- python
- Domain
- documentation
Research direction
Open the installation guide at https://alleninstitute.github.io/bmtk/installation.html and find the section describing installation from source. Update the documented python setup.py install step to show the proposed local pip3 install --prefix=<path/to/software/folder> . command, then verify the guide clearly explains the trailing dot and the resulting installation.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 335
- Forks
- 102
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AllenInstitute/bmtk
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AllenInstitute/bmtk#468 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
AllenInstitute/bmtk#337 ·
-
AllenInstitute/bmtk#463 · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
AllenInstitute/bmtk#457 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
AllenInstitute/bmtk#448 ·
All issues in AllenInstitute/bmtk
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100