python pip - install from local dir - Stack Overflow
https://stackoverflow.com/questions/41535915All you need to do is run. pip install /opt/mypackage and pip will search /opt/mypackage for a setup.py, build a wheel, then install it.. The problem with using the -e flag for pip install as suggested in the comments and this answer is that this requires that the original source directory stay in place for as long as you want to use the module. It's great if you're a developer working …
python pip - install from local dir - Stack Overflow
stackoverflow.com › questions › 41535915pip install /opt/mypackage and pip will search /opt/mypackage for a setup.py, build a wheel, then install it. The problem with using the -e flag for pip install as suggested in the comments and this answer is that this requires that the original source directory stay in place for as long as you want to use the module. It's great if you're a developer working on the source, but if you're just trying to install a package, it's the wrong choice.