<div dir="ltr"><div dir="ltr"><div>It's generally not recommended to try to "upgrade" Python in Ubuntu or any Linux distro. I don't know if it would really break anything, but the distro ships with a ton of python scripts that are all verified to work with the installed version. Some of them are critical, so you just don't chance it.</div><div><br></div><div>What you can do is simply install it using apt. I don't know the reason the "make" instructions are failing since I've never had a need to build it from source. I just install it:</div><div><br></div><div> sudo apt install python3.13</div><div><br></div><div>This will install python3.13 alongside python3.12. To run using the latest version, you type:</div><div><br></div><div> python3.13</div><div><br></div><div>To see what you have installed, you can type</div><div><br></div><div> ls -l /usr/bin/python*</div><div><br></div><div>It will show that python3 is "linked" to python3.12 (
(I assume...I'm still on 22.04). Just leave it that way.</div><div><br></div><div>If you want to have environments where 3.13 is "default", then look into using virtual environments. <a href="https://docs.python.org/3/library/venv.html">https://docs.python.org/3/library/venv.html</a></div><div><br></div><div>You can run something like:</div><div><br></div><div> python3.13 -m venv ~/thirteen</div><div><br></div><div>This creates a virtual environment in your home directory called "thirteen". You then "activate" it by typing:</div><div><br></div><div> source ~/thirteen/bin/activate</div><div><br></div><div>Then for the duration of that terminal session, you'll be running the latest version. It's also totally isolated from the core installation, so you don't run the risk of fouling up your OS install by installing or upgrading a package that breaks some odd dependency.</div><div><br></div><div>Hope this helps. No answer for you on the screen reader as I too still retain a small amount of vision.</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Feb 18, 2025 at 7:03 PM Alan K. Martinez via NFBCS <<a href="mailto:nfbcs@nfbnet.org">nfbcs@nfbnet.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello everyone,<br>
<br>
If this is not the appropriate place to ask for this type of help<br>
please let me know and disregard my message... but I need some help...<br>
<br>
<br>
<br>
<br>
I had to re-image my desktop setup from the ground up.<br>
<br>
I just finished a fresh installation of Ubuntu 24.04 LTS. I feel I'm<br>
still a little new to Linux but after the last 2 years of making it my<br>
daily driver I learned a lot so I'm more comfortable doing things. I<br>
just need to know where to go to get things done. Sometimes doing<br>
Google searches gets a little complicated especially when a situation<br>
doesn't quite match the search results and suggestions.<br>
<br>
Right now the currently installed version of Python is 3.12.3.<br>
<br>
I wanted to update it to the most current available on <a href="http://python.org" rel="noreferrer" target="_blank">python.org</a> which<br>
is 3.13.3. I understand that it's just an x.01.x revission difference<br>
but my pseudo self diagnosed OCD wants it to be as current as possible<br>
whenever I can update. Please don't bash me for this...<br>
<br>
I downloaded the update .tar and started the installation. I managed<br>
to install 'make' and 'gcc' updates.<br>
<br>
AFter I run ./conigure and make from the command line it all seems to<br>
go well until the end where I get the following information:<br>
<br>
<br>
The necessary bits to build these optional modules were not found:<br>
_bz2 _ctypes _ctypes_test <br>
_curses _curses_panel _dbm <br>
_gdbm _hashlib _lzma <br>
_ssl _tkinter _uuid <br>
readline zlib <br>
To find the necessary bits, look in <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> and config.log.<br>
<br>
Could not build the ssl module!<br>
Python requires a OpenSSL 1.1.1 or newer<br>
<br>
Checked 112 modules (33 built-in, 63 shared, 1 n/a on linux-x86_64, 1<br>
disabled, 14 missing, 0 failed on import)<br>
<br>
<br>
<br>
The information that concerns me is the Python requires a OpenSSL 1.1.1<br>
or newer. When I checked I HAVE a newer version with 3.0.13 from Jan<br>
2024.<br>
<br>
Why does it not recognize OpenSSL as a newer version? <br>
<br>
Also the part about the necessary bits to build, will it find them<br>
after I get the OpenSSL resolved? If not, can someone suggest how to<br>
get them installed?<br>
<br>
I know this is Linux and not everyone is knowledgeable or comfortable<br>
and this might be more of a tech support issue with Linux first but I<br>
thought I'd come here first since this is for Python and it might help<br>
others out in the future.<br>
<br>
Any help would be appreciated.<br>
<br>
Thanks,<br>
<br>
Alan<br>
<br>
<br>
P.S. On a separate subject because I'm curious.<br>
I still have some useable vision and I use it as much as possible so I<br>
don't have or uses a screen reader on my desktop. In the world of the<br>
internet and texting all caps denotes an emphasized emotion or yelling.<br>
How does that get translated with screen readers or to people with no<br>
vision at all? Just curious...<br>
<br>
<br>
_______________________________________________<br>
NFBCS mailing list<br>
<a href="mailto:NFBCS@nfbnet.org" target="_blank">NFBCS@nfbnet.org</a><br>
<a href="http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org" rel="noreferrer" target="_blank">http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org</a><br>
To unsubscribe, change your list options or get your account info for NFBCS:<br>
<a href="http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/paul%40yorkfamily.com" rel="noreferrer" target="_blank">http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/paul%40yorkfamily.com</a><br>
</blockquote></div></div>