Automatically try running pip install in root dir
See original GitHub issueThere are a number of packages on github that it would be useful to test with Binder. It would be great if there was a mode for automatically trying to run pip install .
if a setup.py file is present
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Install a Python package into a different directory using pip?
This option comes handy for installing packages as superuser for another non-root user without having to su around (which may be problematic in...
Read more >Using `--root` option checks existing installation in global site ...
I found that running python setup.py install --root=$DIR directly always behaves the same, it install the package under $DIR/usr/lib/python27/ ...
Read more >Good Integration Practices — pytest documentation
Install package with pip¶. For development, we recommend you use venv for virtual environments and pip for installing your application and any dependencies, ......
Read more >Building from source - JAX documentation
First, install pytest-xdist and pytest-benchmark by running pip install -r build/test-requirements.txt . Then, from the repository root directory run:.
Read more >Package installation issues | PyCharm Documentation
The most viable troubleshooting action is to try installing the problematic package on the selected Python interpreter using the terminal.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
#289 implements the above proposal (thanks @GladysNalvarte!). Before merging, I’d like it if people gave it a test on repos like ipython/ipython pandas-dev/pandas, jupyter/notebook, and any others people would like to try, to see how often it seems to work.
I think it’s a good idea to take a sampling of some package repos and see how we do detecting setup.py. It may make sense to do this.
Something to try: