Python 3 migration docs say to use pip after removing it #1850

Closed
opened 2025-12-29 17:19:45 +01:00 by adam · 3 comments
Owner

Originally created by @lampwins on GitHub (Jul 18, 2018).

Issue type

[ ] Feature request
[ ] Bug report
[ x ] Documentation
[ ] Housekeeping

Environment

  • Python version: 3.5
  • NetBox version: 2.3.6

Description

The first step in the python migration docs say to remove python-pip but later tell you to use pip.

# apt-get remove --purge -y python-dev python-pip
...
# pip uninstall gunicorn
Originally created by @lampwins on GitHub (Jul 18, 2018). <!-- Before opening a new issue, please search through the existing issues to see if your topic has already been addressed. Note that you may need to remove the "is:open" filter from the search bar to include closed issues. Check the appropriate type for your issue below by placing an x between the brackets. For assistance with installation issues, or for any other issues other than those listed below, please raise your topic for discussion on our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please note that issues which do not fall under any of the below categories will be closed. Due to an excessive backlog of feature requests, we are not currently accepting any proposals which extend NetBox's feature scope. Do not prepend any sort of tag to your issue's title. An administrator will review your issue and assign labels as appropriate. ---> ### Issue type [ ] Feature request <!-- An enhancement of existing functionality --> [ ] Bug report <!-- Unexpected or erroneous behavior --> [ x ] Documentation <!-- A modification to the documentation --> [ ] Housekeeping <!-- Changes pertaining to the codebase itself --> <!-- Please describe the environment in which you are running NetBox. (Be sure to verify that you are running the latest stable release of NetBox before submitting a bug report.) If you are submitting a bug report and have made any changes to the code base, please first validate that your bug can be recreated while running an official release. --> ### Environment * Python version: 3.5 * NetBox version: 2.3.6 <!-- BUG REPORTS must include: * A list of the steps needed for someone else to reproduce the bug * A description of the expected and observed behavior * Any relevant error messages (screenshots may also help) FEATURE REQUESTS must include: * A detailed description of the proposed functionality * A use case for the new feature * A rough description of any necessary changes to the database schema * Any relevant third-party libraries which would be needed --> ### Description The first step in the python migration [docs](https://netbox.readthedocs.io/en/latest/installation/migrating-to-python3/) say to remove python-pip but later tell you to use pip. ``` # apt-get remove --purge -y python-dev python-pip ... # pip uninstall gunicorn ```
adam added the type: documentation label 2025-12-29 17:19:45 +01:00
adam closed this issue 2025-12-29 17:19:45 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 18, 2018):

apt-get install ... python3-pip should install pip3 as /usr/local/bin/pip:

$ pip -V
pip 9.0.1 from /usr/local/lib/python3.5/dist-packages/pip-9.0.1-py3.5.egg (python 3.5)

It's all something of a crapshoot honestly...

@jeremystretch commented on GitHub (Jul 18, 2018): `apt-get install ... python3-pip` should install pip3 as `/usr/local/bin/pip`: ``` $ pip -V pip 9.0.1 from /usr/local/lib/python3.5/dist-packages/pip-9.0.1-py3.5.egg (python 3.5) ``` It's all something of a crapshoot honestly...
Author
Owner

@lampwins commented on GitHub (Jul 18, 2018):

Probably a non-issue anyway. Uninstalling gunicorn with pip failed for me obviously, but I continued to install it again with pip3 and it was all fine.

@lampwins commented on GitHub (Jul 18, 2018): Probably a non-issue anyway. Uninstalling gunicorn with pip failed for me obviously, but I continued to install it again with pip3 and it was all fine.
Author
Owner

@jeremystretch commented on GitHub (Jul 18, 2018):

Tweaked this in the v2.4-docs branch as part of the ongoing refresh for the v2.4 release.

@jeremystretch commented on GitHub (Jul 18, 2018): Tweaked this in the `v2.4-docs` branch as part of the ongoing refresh for the v2.4 release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1850