Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloads pages and links do not mention pre-compiled Pythons from Linux/UNIX distributions #1551

Open
pguerin3 opened this issue Jan 11, 2020 · 4 comments
Labels

Comments

@pguerin3
Copy link

@pguerin3 pguerin3 commented Jan 11, 2020

There is a Python port for FreeBSD.

Can you add 'Python for FreeBSD' to the webpage "Download Python for Other Platforms":
https://www.python.org/download/other/

To install the latest Python and Pip for version agnostic scripts, just do this:
pkg install python
python -m ensurepip --default-pip

To explicitly install Python3.x and Pip, just do this:
pkg install python3
python3 -m ensurepip --default-pip

More information about the port is here:
https://www.freshports.org/lang/python/

@Mariatta
Copy link
Member

@Mariatta Mariatta commented Jan 14, 2020

This has to be done through django admin, and I don't have that ability. @berkerpeksag is this something you could help with? Thanks.

@berkerpeksag
Copy link
Member

@berkerpeksag berkerpeksag commented Jan 15, 2020

This is on my TODO list. Hopefully I'll update the page sometime this week.

@ned-deily ned-deily changed the title Enhancement to documentation for FreeBSD Downloads pages and links do not mention pre-compiled Pythons from Linux/UNIX distributions Apr 29, 2020
@ned-deily
Copy link
Member

@ned-deily ned-deily commented Apr 29, 2020

Thanks for the suggestion. Looking at the current state of things, we seem to have a bit of a hole in the /Downloads section. For Windows and macOS, it shows you the binary packages we provide for those OS's and then there is the list of others in the above mentioned /download/other/ page. Everything else is assumed to be Linux/UNIX and for that huge category (which would also include FreeBSD), the only suggestion I see is to build Python yourself from source. like in the "Sources" box below the release list:

For most Unix systems, you must download and compile the source code. The same source code archive can also be used to build the Windows and Mac versions, and is the starting point for ports to all other platforms.

There doesn't seem to be any mention of the Pythons supplied by just about every distributor of Linux or UNIX operating systems (Debian, Ubuntu, Fedora, Red Hot, FreeBSD, etc etc) or of third-party distributors of package managers for platforms (like conda, Homebrew and MacPorts (for macOS), etc). That seems like a big disservice to beginning users. Some of these may be mentioned elsewhere in the website but I think we should figure out to make those options more prominent on the Downloads page. So, rather than just adding FreeBSD to the Other page, I'd like to expand the scope of this to address the above. It doesn't have to be a huge deal. If anyone wants to take this on, I'd be happy to work with you on it. Otherwise, I'll try to get to it myself soon.

@Bhupesh-V
Copy link

@Bhupesh-V Bhupesh-V commented Jun 4, 2020

I think from a beginners perspective (if they use any Linux based OS) then probably mentioning the right "command" for at least the popular distributions would help
We could just list the steps for doing this.

For Ubuntu Users:

  1. Update the system
    Before installing or removing any packages, once run the update command:
sudo apt-get update
  1. Install Python on Ubuntu
    If you don’t have the latest version on your Ubuntu 19.04 i.e Python3 then use the below command to install:
sudo apt install python3

Including steps like these (for Ubuntu, Fedora, Red Hot, FreeBSD) should solve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.