
How to update/upgrade a package using pip? - Stack Overflow
Nov 2, 2017 · What is the way to update a package using pip? those do not work: pip update pip upgrade I know this is a simple question but it is needed as it is not so easy to find (pip …
How to list all installed packages and their versions in Python?
Is there a way in Python to list all installed packages and their versions? I know I can go inside python/Lib/site-packages and see what files and directories exist, but I find this very awkward. ...
How to find a Python package's dependencies - Stack Overflow
Apr 20, 2015 · How can you programmatically get a Python package's list of dependencies? The standard setup.py has these documented, but I can't find an easy way to access it from either Python …
python - Find which version of package is installed with pip - Stack ...
Using pip, is it possible to figure out which version of a package is currently installed? I know about pip install XYZ --upgrade but I am wondering if there is anything like pip info XYZ. If not...
python - Installing specific package version with pip - Stack Overflow
In my case, this manifested with strange syntax errors because the newer version of the package added a file that was only compatible with Python 3, and when I downgraded package versions to support …
Identifying the dependency relationship for python packages installed ...
This doesn't answer my question exactly, because it shows the children (dependencies) for a specific package, instead of the parents. But it's easy enough to throw something together to check the …
How to write a Python module/package? - Stack Overflow
Apr 1, 2013 · Make a python module install-able with "pip install ..." Here is an absolute minimal example, showing the basic steps of preparing and uploading your package to PyPI using setuptools …
python - How to uninstall a package installed with pip install --user ...
Oct 29, 2015 · To uninstall the package system-wide using pip, first uninstall it locally, then run the same uninstall command again, with root privileges. In addition to the predefined user install directory, pip …
syntax - What does __all__ mean in Python? - Stack Overflow
That file is what makes the directory an actual Python package. For example, say you have the following files in a package: package ├── __init__.py ├── module_1.py └── module_2.py Let's create these …
python - Unable to import a module that is definitely installed - Stack ...
Jan 13, 2013 · Then pip agreed it needed to be installed, installed it, and my script ran. Or even better, use python -m pip install <package>. The benefit of this is, since you are executing the specific …