From doctor at doctor.nl2k.ab.ca Sun Mar 2 09:35:08 2025 From: doctor at doctor.nl2k.ab.ca (The Doctor) Date: Sun, 2 Mar 2025 14:35:08 -0000 (UTC) Subject: Python recompile Message-ID: How do I compensate for ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:138 (Python/thread_pthread.h:138) >>> thread.o:(PyThread_init_thread) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:140 (Python/thread_pthread.h:140) >>> thread.o:(PyThread_init_thread) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32S cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:141 (Python/thread_pthread.h:141) >>> thread.o:(PyThread_init_thread) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:138 (Python/thread_pthread.h:138) >>> thread.o:(do_start_joinable_thread) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:140 (Python/thread_pthread.h:140) >>> thread.o:(do_start_joinable_thread) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32S cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:141 (Python/thread_pthread.h:141) >>> thread.o:(do_start_joinable_thread) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(thread.o) >>> referenced by thread_pthread.h:290 (Python/thread_pthread.h:290) >>> thread.o:(do_start_joinable_thread) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:138 (Python/thread_pthread.h:138) >>> thread.o:(PyThread_get_thread_ident_ex) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:140 (Python/thread_pthread.h:140) >>> thread.o:(PyThread_get_thread_ident_ex) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32S cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:141 (Python/thread_pthread.h:141) >>> thread.o:(PyThread_get_thread_ident_ex) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:138 (Python/thread_pthread.h:138) >>> thread.o:(PyThread_get_thread_ident) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:140 (Python/thread_pthread.h:140) >>> thread.o:(PyThread_get_thread_ident) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32S cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:141 (Python/thread_pthread.h:141) >>> thread.o:(PyThread_get_thread_ident) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:138 (Python/thread_pthread.h:138) >>> thread.o:(PyThread_get_thread_native_id) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:140 (Python/thread_pthread.h:140) >>> thread.o:(PyThread_get_thread_native_id) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32S cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:141 (Python/thread_pthread.h:141) >>> thread.o:(PyThread_get_thread_native_id) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:138 (Python/thread_pthread.h:138) >>> thread.o:(PyThread_allocate_lock) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:140 (Python/thread_pthread.h:140) >>> thread.o:(PyThread_allocate_lock) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32S cannot be used against symbol '_PyRuntime'; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o) >>> referenced by thread_pthread.h:141 (Python/thread_pthread.h:141) >>> thread.o:(PyThread_allocate_lock) in archive /usr/local/lib/libpython3.13.a ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC >>> defined in /usr/local/lib/libpython3.13.a(thread.o) >>> referenced by thread_pthread.h:441 (Python/thread_pthread.h:441) >>> thread.o:(PyThread_allocate_lock) in archive /usr/local/lib/libpython3.13.a ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) clang++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 -- Member - Liberal International This is doctor at nk.ca Ici doctor at nk.ca Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism ; Ontario vote for the Liberals - The best Anti-Trump option! From lew.pitcher at digitalfreehold.ca Sun Mar 2 10:54:19 2025 From: lew.pitcher at digitalfreehold.ca (Lew Pitcher) Date: Sun, 2 Mar 2025 15:54:19 -0000 (UTC) Subject: Python recompile References: Message-ID: First off, this isn't really on-topic for comp.lang.c, as it is a question regarding a linker, interacting with the results of various options given to a specific compiler. However... On Sun, 02 Mar 2025 14:35:08 +0000, The Doctor wrote: > How do I compensate for > > ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC The error message tells you exactly how to fix the problem: recompile the module using the -fPIC option to the compiler. -fPIC tells your compiler to generate a specific type of position-independant code, which your linker (apparently) requires for a specific type of relocation. [snip] HTH -- Lew Pitcher "In Skills We Trust" From olegsivokon at gmail.com Sun Mar 2 17:26:07 2025 From: olegsivokon at gmail.com (Left Right) Date: Sun, 2 Mar 2025 23:26:07 +0100 Subject: Python recompile In-Reply-To: References: Message-ID: I think Python compiles with fPIC by default. Something else had happened to the OPs checkout that caused these errors. OP needs to better describe what they were doing to properly understand the problem. On Sun, Mar 2, 2025 at 10:10?PM Lew Pitcher via Python-list wrote: > > > First off, this isn't really on-topic for comp.lang.c, as it is a question regarding a linker, interacting > with the results of various options given to a specific compiler. > > However... > > On Sun, 02 Mar 2025 14:35:08 +0000, The Doctor wrote: > > > How do I compensate for > > > > ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC > > The error message tells you exactly how to fix the problem: recompile the module using the > -fPIC > option to the compiler. -fPIC tells your compiler to generate a specific type of position-independant > code, which your linker (apparently) requires for a specific type of relocation. > > > [snip] > > HTH > -- > Lew Pitcher > "In Skills We Trust" > -- > https://mail.python.org/mailman/listinfo/python-list From garyfallidis at gmail.com Mon Mar 3 19:08:53 2025 From: garyfallidis at gmail.com (Eleftherios Garyfallidis) Date: Mon, 3 Mar 2025 19:08:53 -0500 Subject: Only Ten days left! Secure Your Spot for the Online 2025 DIPY Workshop! Message-ID: Dear All, The 2025 DIPY Workshop is fast approaching, and we are excited to offer a unique opportunity for you to join us online from March 17 to March 21, 2025. This year?s workshop will feature an in-depth focus on AI applications in advanced imaging, alongside hands-on sessions with the latest tools and techniques for diffusion and structural MRI analysis. DIPY, an open-source Python-based software, is renowned for its capability to analyze diffusion and structural MRI data. Whether you're a researcher, engineer, or medical professional, this workshop provides an excellent opportunity to expand your skills with state-of-the-art methods in imaging science. We are thrilled to have top-tier keynote speakers delivering presentations, including: - Prof. Simon Warfield (Harvard Medical School) - Prof. Alexandra Badea (Duke University) - Prof. Franco Pestilli (University of Texas at Austin) - Prof. Marco Palombo (Cardiff University) - Prof. Julien Cohen-Adad (Polytechnique Montr?al) - Prof. Aris Sotiras (Washington University) - Dr. Maeliss Jallais (Cardiff University) What You?ll Gain from the Workshop: - Cutting-edge Presentations: Dive deep into subjects like Harmonization, Denoising, Reconstruction, Tractography, Microstructure Modeling, and Visualization from researchers such as Descoteaux, Tang, Chandio, Fadnavis, Koudoro and many others. - This year?s highlight! Get a deep dive into our ultra-fast tracking APIs (CPU & GPU). - Hands-on Training: Participate in guided sessions, work through real-world challenges, and have the chance to showcase your own research. - Certification: Receive a Certificate of Attendance to highlight your participation and new skills gained. Ready to Join? Click here to Register Now and secure your spot for this can?t-miss event! If you have any questions, don?t hesitate to reach out to us at workshop at dipy.org. ? International Discount: We recognize the financial challenges posed by exchange rates in some countries. To ensure accessibility, special discounts are available for participants from regions where the USD conversion rate is a barrier. If this applies to you, please reach out to us for more details. It is time to explore the future of imaging together! See you soon, Eleftherios Garyfallidis, PhD DIPY Founder & Lead Associate Professor, Intelligent Systems Engineering Indiana University Luddy Hall, 700 N Woodlawn Bloomington, IN 47408 GRG | DIPY From jc2conforte at gmail.com Thu Mar 6 05:36:04 2025 From: jc2conforte at gmail.com (Jorge Conrado Conforte) Date: Thu, 6 Mar 2025 07:36:04 -0300 Subject: Scipy curve_fit Message-ID: Hi, I have an array with precipitation data and other with burned area. I don't have experience with curve_fit. I read my data and plot the points for each precipitation and burned area. Then I use: popt = curve_fit(non_linear_model, preciamz,areaqamz) and I had: /home/conrado/FOCOS_2003_2024/NELSON/VER_NC_SHP/ler_csv_areaq_prec_plota.py:69: OptimizeWarning: Covariance of the parameters could not be estimated Please how can I resolve this error. Thanks, Conrado From phd at phdru.name Fri Mar 7 09:06:18 2025 From: phd at phdru.name (Oleg Broytman) Date: Fri, 7 Mar 2025 17:06:18 +0300 Subject: SQLObject 3.13.0 Message-ID: Hello! I'm pleased to announce version 3.13.0, the first release of branch 3.13 of SQLObject. What's new in SQLObject ======================= Drivers ------- * Extended default list of MySQL drivers to ``mysqldb``, ``mysqlclient``, ``mysql-connector``, ``mysql-connector-python``, ``pymysql``. * Extended default list of PostgreSQL drivers to ``psycopg``, ``psycopg2``, ``pygresql``, ``pg8000``. * Fixed outstanding problems with ``psycopg``. It's now the first class driver. * Fixed all problems with ``pg8000``. It's now the first class driver. * Dropped support for ``CyMySQL``; its author refused to fix unicode-related problems. * Dropped support for ``py-postgresql``; it's completely broken with debianized ``Postgres`` and the authors reject fixes. Tests ----- * Added tests for ``mysqldb`` (aka ``mysql-python``) and ``mysqlclient`` on w32. * Improved tests of ``mysql-connector`` and ``mysql-connector-python``. CI -- * Tests(GHActions): Fixed old bugs in the workflow on w32. * Run tests with ``psycopg[c]``. For a more complete list, please see the news: http://sqlobject.org/News.html What is SQLObject ================= SQLObject is a free and open-source (LGPL) Python object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be easy to use and quick to get started with. SQLObject supports a number of backends: MySQL/MariaDB (with a number of DB API drivers: ``MySQLdb``, ``mysqlclient``, ``mysql-connector``, ``PyMySQL``, ``mariadb``), PostgreSQL (``psycopg``, ``psycopg2``, ``PyGreSQL``, partially ``pg8000``), SQLite (builtin ``sqlite3``); connections to other backends - Firebird, Sybase, MSSQL and MaxDB (also known as SAPDB) - are less debugged). Python 2.7 or 3.4+ is required. Where is SQLObject ================== Site: http://sqlobject.org Download: https://pypi.org/project/SQLObject/3.13.0 News and changes: http://sqlobject.org/News.html StackOverflow: https://stackoverflow.com/questions/tagged/sqlobject Mailing lists: https://sourceforge.net/p/sqlobject/mailman/ Development: http://sqlobject.org/devel/ Developer Guide: http://sqlobject.org/DeveloperGuide.html Example ======= Install:: $ pip install sqlobject Create a simple class that wraps a table:: >>> from sqlobject import * >>> >>> sqlhub.processConnection = connectionForURI('sqlite:/:memory:') >>> >>> class Person(SQLObject): ... fname = StringCol() ... mi = StringCol(length=1, default=None) ... lname = StringCol() ... >>> Person.createTable() Use the object:: >>> p = Person(fname="John", lname="Doe") >>> p >>> p.fname 'John' >>> p.mi = 'Q' >>> p2 = Person.get(1) >>> p2 >>> p is p2 True Queries:: >>> p3 = Person.selectBy(lname="Doe")[0] >>> p3 >>> pc = Person.select(Person.q.lname=="Doe").count() >>> pc 1 Oleg. -- Oleg Broytman https://phdru.name/ phd at phdru.name Programmers don't die, they just GOSUB without RETURN. From thitanpraveenkumar143 at gmail.com Sat Mar 8 05:29:51 2025 From: thitanpraveenkumar143 at gmail.com (Praveen Kumar) Date: Sat, 8 Mar 2025 15:59:51 +0530 Subject: =?UTF-8?Q?=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC=27_=28Access_D?= =?UTF-8?Q?enied=29_error_when_running_Python_or_checking_version_in_CMD_?= =?UTF-8?Q?on_Windows_11=22?= Message-ID: Hi Python community and members, I hope this email finds you well, I want you to be assisted in resolving this following issue. kindly look at the below concern, """I?m running into an error where I get a 'This app can?t run on your PC' pop-up with (Access is Denied error) whenever I try to run the Python version (python --version) or run python.exe in the Command Prompt on Windows 11.""" *Here?s what I?ve tried so far:* *Uninstalled python software from the apps settings and reinstalled python software from the official python.org site *Added Python to the PATH in the Environment Variables. (system variables, User variables.) ***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\ ***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\Scripts\ * however, then after I tried running direct path execution in the cmd. "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe" --version, however it works well and it executed and showed the version, but without file path, it won't work anyway. * Additionally I've checked windows apps interference whether it is causing this error, and I saw a couple of python.exe files in this folder contains 0KB size then I thought these were corrupted and after I tried deleting these files, later I re-checked in cmd, however the issue persisted. refer to the following error for your further reference. *https://i.sstatic.net/6koOnZBM.png https://i.sstatic.net/65JC9FuB.png * * Ran the Command Prompt as an administrator. *Tried multiple other troubleshooting steps, but none of them worked. Despite these efforts, the issue persists. Could someone please help me resolve this? Extending my request you to kindly help me out of this error and give me the root cause of this problem. *Kind regards, * *Sincerely,* *Praveen Kumar* *Mob: *+91 9515531643 From list1 at tompassin.net Sat Mar 8 17:19:43 2025 From: list1 at tompassin.net (Thomas Passin) Date: Sat, 8 Mar 2025 17:19:43 -0500 Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC?= =?UTF-8?Q?=27_=28Access_Denied=29_error_when_running_Python_or_checking_ver?= =?UTF-8?Q?sion_in_CMD_on_Windows_11=22?= In-Reply-To: References: Message-ID: <6dc1a96f-b023-486b-9c40-48eb4ee5d64c@tompassin.net> On 3/8/2025 5:29 AM, Praveen Kumar via Python-list wrote: > Hi Python community and members, > > I hope this email finds you well, I want you to be assisted in resolving > this following issue. kindly look at the below concern, > > """I?m running into an error where I get a 'This app can?t run on your PC' > pop-up with (Access is Denied error) whenever I try to run the Python > version (python --version) or run python.exe in the Command Prompt on > Windows 11.""" > > > *Here?s what I?ve tried so far:* > > *Uninstalled python software from the apps settings and reinstalled python > software from the official python.org site > > *Added Python to the PATH in the Environment Variables. (system variables, > User variables.) > > ***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\ > ***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\Scripts\ > > * however, then after I tried running direct path execution in the cmd. > "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe" > --version, however it works well and it executed and showed the version, > but without file path, it won't work anyway. > > * Additionally I've checked windows apps interference whether it is causing > this error, and I saw a couple of python.exe files in this folder contains > 0KB size then I thought these were corrupted and after I tried deleting > these files, later I re-checked in cmd, however the issue persisted. refer > to the following error for your further reference. > > > > *https://i.sstatic.net/6koOnZBM.png > https://i.sstatic.net/65JC9FuB.png > * > > * Ran the Command Prompt as an administrator. > > *Tried multiple other troubleshooting steps, but none of them worked. > > Despite these efforts, the issue persists. Could someone please help me > resolve this? > > Extending my request you to kindly help me out of this error and give me > the root cause of this problem. > > > *Kind regards, * > > *Sincerely,* > > *Praveen Kumar* > > *Mob: *+91 9515531643 It sounds like you installed Python as an admin but are trying to run it as a non-admin user. From thitanpraveenkumar143 at gmail.com Sat Mar 8 22:33:44 2025 From: thitanpraveenkumar143 at gmail.com (Praveen Kumar) Date: Sun, 9 Mar 2025 09:03:44 +0530 Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC=27_=28Acce?= =?UTF-8?Q?ss_Denied=29_error_when_running_Python_or_checking_version_in_?= =?UTF-8?Q?CMD_on_Windows_11=22?= In-Reply-To: <6dc1a96f-b023-486b-9c40-48eb4ee5d64c@tompassin.net> References: <6dc1a96f-b023-486b-9c40-48eb4ee5d64c@tompassin.net> Message-ID: Hi Thomas No, I wasn't installed by admin privileges and I'm not running as a non-admin, regardless I tried running with admin and non-admin privileges, however the issue still persisted. Kind regards, Sincerely, Praveen Kumar Mob: +91 9515531643 On Sun, 9 Mar 2025, 03:52 Thomas Passin via Python-list, < python-list at python.org> wrote: > On 3/8/2025 5:29 AM, Praveen Kumar via Python-list wrote: > > Hi Python community and members, > > > > I hope this email finds you well, I want you to be assisted in resolving > > this following issue. kindly look at the below concern, > > > > """I?m running into an error where I get a 'This app can?t run on your > PC' > > pop-up with (Access is Denied error) whenever I try to run the Python > > version (python --version) or run python.exe in the Command Prompt on > > Windows 11.""" > > > > > > *Here?s what I?ve tried so far:* > > > > *Uninstalled python software from the apps settings and reinstalled > python > > software from the official python.org site > > > > *Added Python to the PATH in the Environment Variables. (system > variables, > > User variables.) > > > > ***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\ > > ***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\Scripts\ > > > > * however, then after I tried running direct path execution in the cmd. > > "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe" > > --version, however it works well and it executed and showed the version, > > but without file path, it won't work anyway. > > > > * Additionally I've checked windows apps interference whether it is > causing > > this error, and I saw a couple of python.exe files in this folder > contains > > 0KB size then I thought these were corrupted and after I tried deleting > > these files, later I re-checked in cmd, however the issue persisted. > refer > > to the following error for your further reference. > > > > > > > > *https://i.sstatic.net/6koOnZBM.png > > https://i.sstatic.net/65JC9FuB.png > > * > > > > * Ran the Command Prompt as an administrator. > > > > *Tried multiple other troubleshooting steps, but none of them worked. > > > > Despite these efforts, the issue persists. Could someone please help me > > resolve this? > > > > Extending my request you to kindly help me out of this error and give me > > the root cause of this problem. > > > > > > *Kind regards, * > > > > *Sincerely,* > > > > *Praveen Kumar* > > > > *Mob: *+91 9515531643 > > It sounds like you installed Python as an admin but are trying to run it > as a non-admin user. > > -- > https://mail.python.org/mailman/listinfo/python-list > From inhahe at gmail.com Sat Mar 8 22:45:13 2025 From: inhahe at gmail.com (inhahe) Date: Sat, 8 Mar 2025 22:45:13 -0500 Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC=27_=28Acce?= =?UTF-8?Q?ss_Denied=29_error_when_running_Python_or_checking_version_in_?= =?UTF-8?Q?CMD_on_Windows_11=22?= In-Reply-To: References: Message-ID: I just recently found out that Windows 11 has an option to only allow apps from the Microsoft store. I think it was an option I happened to see somewhere. Maybe that option is set on your PC? If you've already installed and run other non-Microsoft apps, maybe that option got changed recently by accident? I don't know. On Sat, 8 Mar 2025 at 16:59, Praveen Kumar via Python-list < python-list at python.org> wrote: > Hi Python community and members, > > I hope this email finds you well, I want you to be assisted in resolving > this following issue. kindly look at the below concern, > > """I?m running into an error where I get a 'This app can?t run on your PC' > pop-up with (Access is Denied error) whenever I try to run the Python > version (python --version) or run python.exe in the Command Prompt on > Windows 11.""" > > > *Here?s what I?ve tried so far:* > > *Uninstalled python software from the apps settings and reinstalled python > software from the official python.org site > > *Added Python to the PATH in the Environment Variables. (system variables, > User variables.) > > ***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\ > ***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\Scripts\ > > * however, then after I tried running direct path execution in the cmd. > "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe" > --version, however it works well and it executed and showed the version, > but without file path, it won't work anyway. > > * Additionally I've checked windows apps interference whether it is causing > this error, and I saw a couple of python.exe files in this folder contains > 0KB size then I thought these were corrupted and after I tried deleting > these files, later I re-checked in cmd, however the issue persisted. refer > to the following error for your further reference. > > > > *https://i.sstatic.net/6koOnZBM.png > https://i.sstatic.net/65JC9FuB.png > * > > * Ran the Command Prompt as an administrator. > > *Tried multiple other troubleshooting steps, but none of them worked. > > Despite these efforts, the issue persists. Could someone please help me > resolve this? > > Extending my request you to kindly help me out of this error and give me > the root cause of this problem. > > > *Kind regards, * > > *Sincerely,* > > *Praveen Kumar* > > *Mob: *+91 9515531643 > -- > https://mail.python.org/mailman/listinfo/python-list > From thitanpraveenkumar143 at gmail.com Sat Mar 8 22:47:42 2025 From: thitanpraveenkumar143 at gmail.com (Praveen Kumar) Date: Sun, 9 Mar 2025 09:17:42 +0530 Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC=27_=28Acce?= =?UTF-8?Q?ss_Denied=29_error_when_running_Python_or_checking_version_in_?= =?UTF-8?Q?CMD_on_Windows_11=22?= In-Reply-To: References: <6dc1a96f-b023-486b-9c40-48eb4ee5d64c@tompassin.net> Message-ID: Hi Thomas and team, It's worked In non-admin privileges after put the file in path at the first on environmental path variables, but with admin privileges it doesn't work though. Showing same error, as I mentioned earlier. Kind regards, Sincerely, Praveen Kumar Mob: +91 9515531643 On Sun, 9 Mar 2025, 09:03 Praveen Kumar, wrote: > Hi Thomas > > No, I wasn't installed by admin privileges and I'm not running as a > non-admin, regardless I tried running with admin and non-admin privileges, > however the issue still persisted. > > Kind regards, > Sincerely, > Praveen Kumar > Mob: +91 9515531643 > > On Sun, 9 Mar 2025, 03:52 Thomas Passin via Python-list, < > python-list at python.org> wrote: > >> On 3/8/2025 5:29 AM, Praveen Kumar via Python-list wrote: >> > Hi Python community and members, >> > >> > I hope this email finds you well, I want you to be assisted in resolving >> > this following issue. kindly look at the below concern, >> > >> > """I?m running into an error where I get a 'This app can?t run on your >> PC' >> > pop-up with (Access is Denied error) whenever I try to run the Python >> > version (python --version) or run python.exe in the Command Prompt on >> > Windows 11.""" >> > >> > >> > *Here?s what I?ve tried so far:* >> > >> > *Uninstalled python software from the apps settings and reinstalled >> python >> > software from the official python.org site >> > >> > *Added Python to the PATH in the Environment Variables. (system >> variables, >> > User variables.) >> > >> > ***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\ >> > ***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\Scripts\ >> > >> > * however, then after I tried running direct path execution in the cmd. >> > "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe" >> > --version, however it works well and it executed and showed the version, >> > but without file path, it won't work anyway. >> > >> > * Additionally I've checked windows apps interference whether it is >> causing >> > this error, and I saw a couple of python.exe files in this folder >> contains >> > 0KB size then I thought these were corrupted and after I tried deleting >> > these files, later I re-checked in cmd, however the issue persisted. >> refer >> > to the following error for your further reference. >> > >> > >> > >> > *https://i.sstatic.net/6koOnZBM.png >> > https://i.sstatic.net/65JC9FuB.png >> > * >> > >> > * Ran the Command Prompt as an administrator. >> > >> > *Tried multiple other troubleshooting steps, but none of them worked. >> > >> > Despite these efforts, the issue persists. Could someone please help me >> > resolve this? >> > >> > Extending my request you to kindly help me out of this error and give me >> > the root cause of this problem. >> > >> > >> > *Kind regards, * >> > >> > *Sincerely,* >> > >> > *Praveen Kumar* >> > >> > *Mob: *+91 9515531643 >> >> It sounds like you installed Python as an admin but are trying to run it >> as a non-admin user. >> >> -- >> https://mail.python.org/mailman/listinfo/python-list >> > From list1 at tompassin.net Sun Mar 9 08:17:33 2025 From: list1 at tompassin.net (Thomas Passin) Date: Sun, 9 Mar 2025 08:17:33 -0400 Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC?= =?UTF-8?Q?=27_=28Access_Denied=29_error_when_running_Python_or_checking_ver?= =?UTF-8?Q?sion_in_CMD_on_Windows_11=22?= In-Reply-To: References: <6dc1a96f-b023-486b-9c40-48eb4ee5d64c@tompassin.net> Message-ID: <569e3dac-7be5-42b1-8b7a-39403e9d986f@tompassin.net> On 3/8/2025 10:47 PM, Praveen Kumar wrote: > Hi Thomas and team, > > It's worked In non-admin privileges after put the file in path at the > first on environmental path variables, but with admin privileges it > doesn't work though. Showing same error, as I mentioned earlier. If the path had been set for a local user but not for the system, you would see that behavior. The install from python.org should have installed the "py" launcher. Does that run? IOW, does typing "py" launch Python? > > Kind regards, > Sincerely, > Praveen Kumar > Mob: +91 9515531643 > > On Sun, 9 Mar 2025, 09:03 Praveen Kumar, > > wrote: > > Hi?Thomas > > No, I wasn't installed by admin privileges and I'm not running as a > non-admin, regardless I tried running with admin and non-admin > privileges, however the issue still persisted. > > Kind regards, > Sincerely, > Praveen Kumar > Mob: +91 9515531643 > > On Sun, 9 Mar 2025, 03:52 Thomas Passin via Python-list, list at python.org > wrote: > > On 3/8/2025 5:29 AM, Praveen Kumar via Python-list wrote: > > Hi Python community and members, > > > > I hope this email finds you well, I want you to be assisted > in resolving > > this following issue. kindly look at the below concern, > > > > """I?m running into an error where I get a 'This app can?t > run on your PC' > > pop-up with (Access is Denied error) whenever I try to run > the Python > > version (python --version) or run python.exe in the Command > Prompt on > > Windows 11.""" > > > > > > *Here?s what I?ve tried so far:* > > > > *Uninstalled python software from the apps settings and > reinstalled python > > software from the official python.org site > > > > *Added Python to the PATH in the Environment Variables. > (system variables, > > User variables.) > > > > ***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\ > > ***C: > \Users\Bharath\AppData\Local\Programs\Python\Python313\Scripts\ > > > > * however, then after I tried running direct path execution > in the cmd. > > "C: > \Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe" > > --version, however it works well and it executed and showed > the version, > > but without file path, it won't work anyway. > > > > * Additionally I've checked windows apps interference whether > it is causing > > this error, and I saw a couple of python.exe files in this > folder contains > > 0KB size then I thought these were corrupted and after I > tried deleting > > these files, later I re-checked in cmd, however the issue > persisted. refer > > to the following error for your further reference. > > > > > > > > *https://i.sstatic.net/6koOnZBM.png i.sstatic.net/6koOnZBM.png> > > i.sstatic.net/6koOnZBM.png>>https://i.sstatic.net/65JC9FuB.png > > > i.sstatic.net/65JC9FuB.png>>* > > > > * Ran the Command Prompt as an administrator. > > > > *Tried multiple other troubleshooting steps, but none of them > worked. > > > > Despite these efforts, the issue persists. Could someone > please help me > > resolve this? > > > > Extending my request you to kindly help me out of this error > and give me > > the root cause of this problem. > > > > > > *Kind regards, * > > > > *Sincerely,* > > > > *Praveen Kumar* > > > > *Mob: *+91 9515531643 > > It sounds like you installed Python as an admin but are trying > to run it > as a non-admin user. > > -- > https://mail.python.org/mailman/listinfo/python-list mail.python.org/mailman/listinfo/python-list> > From thitanpraveenkumar143 at gmail.com Sun Mar 9 10:50:47 2025 From: thitanpraveenkumar143 at gmail.com (Praveen Kumar) Date: Sun, 9 Mar 2025 20:20:47 +0530 Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC=27_=28Acce?= =?UTF-8?Q?ss_Denied=29_error_when_running_Python_or_checking_version_in_?= =?UTF-8?Q?CMD_on_Windows_11=22?= In-Reply-To: <569e3dac-7be5-42b1-8b7a-39403e9d986f@tompassin.net> References: <6dc1a96f-b023-486b-9c40-48eb4ee5d64c@tompassin.net> <569e3dac-7be5-42b1-8b7a-39403e9d986f@tompassin.net> Message-ID: If the path had been set for a local user but not for the system, you would see that behavior. The install from python.org should have installed the "py" launcher. Does that run? IOW, does typing "py" launch Python? Yes it does for both admin and non-admin cmd shells. But python.exe and python do evoke the cited error. Kind regards, Praveen On Sun, 9 Mar 2025, 17:56 Thomas Passin via Python-list, < python-list at python.org> wrote: > On 3/8/2025 10:47 PM, Praveen Kumar wrote: > > Hi Thomas and team, > > > > It's worked In non-admin privileges after put the file in path at the > > first on environmental path variables, but with admin privileges it > > doesn't work though. Showing same error, as I mentioned earlier. > > If the path had been set for a local user but not for the system, you > would see that behavior. > > The install from python.org should have installed the "py" launcher. > Does that run? IOW, does typing "py" launch Python? > > > > > Kind regards, > > Sincerely, > > Praveen Kumar > > Mob: +91 9515531643 > > > > On Sun, 9 Mar 2025, 09:03 Praveen Kumar, > > > > wrote: > > > > Hi Thomas > > > > No, I wasn't installed by admin privileges and I'm not running as a > > non-admin, regardless I tried running with admin and non-admin > > privileges, however the issue still persisted. > > > > Kind regards, > > Sincerely, > > Praveen Kumar > > Mob: +91 9515531643 > > > > On Sun, 9 Mar 2025, 03:52 Thomas Passin via Python-list, > list at python.org > wrote: > > > > On 3/8/2025 5:29 AM, Praveen Kumar via Python-list wrote: > > > Hi Python community and members, > > > > > > I hope this email finds you well, I want you to be assisted > > in resolving > > > this following issue. kindly look at the below concern, > > > > > > """I?m running into an error where I get a 'This app can?t > > run on your PC' > > > pop-up with (Access is Denied error) whenever I try to run > > the Python > > > version (python --version) or run python.exe in the Command > > Prompt on > > > Windows 11.""" > > > > > > > > > *Here?s what I?ve tried so far:* > > > > > > *Uninstalled python software from the apps settings and > > reinstalled python > > > software from the official python.org > site > > > > > > *Added Python to the PATH in the Environment Variables. > > (system variables, > > > User variables.) > > > > > > ***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\ > > > ***C: > > \Users\Bharath\AppData\Local\Programs\Python\Python313\Scripts\ > > > > > > * however, then after I tried running direct path execution > > in the cmd. > > > "C: > > > \Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe" > > > --version, however it works well and it executed and showed > > the version, > > > but without file path, it won't work anyway. > > > > > > * Additionally I've checked windows apps interference whether > > it is causing > > > this error, and I saw a couple of python.exe files in this > > folder contains > > > 0KB size then I thought these were corrupted and after I > > tried deleting > > > these files, later I re-checked in cmd, however the issue > > persisted. refer > > > to the following error for your further reference. > > > > > > > > > > > > *https://i.sstatic.net/6koOnZBM.png > i.sstatic.net/6koOnZBM.png> > > > > i.sstatic.net/6koOnZBM.png>>https://i.sstatic.net/65JC9FuB.png > > > > > > i.sstatic.net/65JC9FuB.png>>* > > > > > > * Ran the Command Prompt as an administrator. > > > > > > *Tried multiple other troubleshooting steps, but none of them > > worked. > > > > > > Despite these efforts, the issue persists. Could someone > > please help me > > > resolve this? > > > > > > Extending my request you to kindly help me out of this error > > and give me > > > the root cause of this problem. > > > > > > > > > *Kind regards, * > > > > > > *Sincerely,* > > > > > > *Praveen Kumar* > > > > > > *Mob: *+91 9515531643 > > > > It sounds like you installed Python as an admin but are trying > > to run it > > as a non-admin user. > > > > -- > > https://mail.python.org/mailman/listinfo/python-list > mail.python.org/mailman/listinfo/python-list> > > > > -- > https://mail.python.org/mailman/listinfo/python-list > From list1 at tompassin.net Sun Mar 9 17:14:00 2025 From: list1 at tompassin.net (Thomas Passin) Date: Sun, 9 Mar 2025 17:14:00 -0400 Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC?= =?UTF-8?Q?=27_=28Access_Denied=29_error_when_running_Python_or_checking_ver?= =?UTF-8?Q?sion_in_CMD_on_Windows_11=22?= In-Reply-To: References: Message-ID: <00f632bb-3c0e-4a9e-90ce-23f96cbadcc1@tompassin.net> On 3/9/2025 3:16 PM, Gilmeh Serda via Python-list wrote: > On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote: > >> "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe" > > Is that an approved location for executables? Yes, that's where a python.org install normally goes. If you are changing the system paths, that location is the one to use. But if that's the location that the system links Python.File to, it should launch without a problem. Maybe you should remove the path steps you added previously and see if that clears up the problem. First, though, try to run python using the absolute path you have just found. BTW, it's always a good idea to run pip using the python install that you will be running. So if "python" runs the right version, then invoke pip this way: python -m pip If you use the launcher, then: py -m pip This will make sure you use the version of pip that goes with your version of python, just in case there are other versions somewhere on the computer. From thitanpraveenkumar143 at gmail.com Mon Mar 10 11:01:05 2025 From: thitanpraveenkumar143 at gmail.com (Praveen Kumar) Date: Mon, 10 Mar 2025 20:31:05 +0530 Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC=27_=28Acce?= =?UTF-8?Q?ss_Denied=29_error_when_running_Python_or_checking_version_in_?= =?UTF-8?Q?CMD_on_Windows_11=22?= In-Reply-To: References: Message-ID: Is that an approved location for executables? May I know? What do you mean by approved location? Kind regards, Praveen On Mon, 10 Mar 2025, 01:25 Gilmeh Serda via Python-list, < python-list at python.org> wrote: > On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote: > > > "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe" > > Is that an approved location for executables? > > -- > Gilmeh > > Even bytes get lonely for a little bit. > -- > https://mail.python.org/mailman/listinfo/python-list > From thitanpraveenkumar143 at gmail.com Mon Mar 10 11:12:56 2025 From: thitanpraveenkumar143 at gmail.com (Praveen Kumar) Date: Mon, 10 Mar 2025 20:42:56 +0530 Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC=27_=28Acce?= =?UTF-8?Q?ss_Denied=29_error_when_running_Python_or_checking_version_in_?= =?UTF-8?Q?CMD_on_Windows_11=22?= In-Reply-To: <00f632bb-3c0e-4a9e-90ce-23f96cbadcc1@tompassin.net> References: <00f632bb-3c0e-4a9e-90ce-23f96cbadcc1@tompassin.net> Message-ID: Yes, I have 24.3.1 version of pip in my win 11 device, there is a new version of pip available, 25.0.1 Shall I upgrade that? Kind regards, Praveen On Mon, 10 Mar 2025, 03:04 Thomas Passin via Python-list, < python-list at python.org> wrote: > On 3/9/2025 3:16 PM, Gilmeh Serda via Python-list wrote: > > On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote: > > > >> "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe" > > > > Is that an approved location for executables? > > Yes, that's where a python.org install normally goes. If you are > changing the system paths, that location is the one to use. But if > that's the location that the system links Python.File to, it should > launch without a problem. Maybe you should remove the path steps you > added previously and see if that clears up the problem. > > First, though, try to run python using the absolute path you have just > found. > > BTW, it's always a good idea to run pip using the python install that > you will be running. So if "python" runs the right version, then invoke > pip this way: > > python -m pip > > If you use the launcher, then: > > py -m pip > > This will make sure you use the version of pip that goes with your > version of python, just in case there are other versions somewhere on > the computer. > > -- > https://mail.python.org/mailman/listinfo/python-list > From thitanpraveenkumar143 at gmail.com Mon Mar 10 12:08:14 2025 From: thitanpraveenkumar143 at gmail.com (Praveen Kumar) Date: Mon, 10 Mar 2025 21:38:14 +0530 Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC=27_=28Acce?= =?UTF-8?Q?ss_Denied=29_error_when_running_Python_or_checking_version_in_?= =?UTF-8?Q?CMD_on_Windows_11=22?= In-Reply-To: References: <00f632bb-3c0e-4a9e-90ce-23f96cbadcc1@tompassin.net> Message-ID: Hi Matt, I pointed out onething that related to the errors, what I pointed out is I just gone through the system 32 path in c drive and I found the python executive and other python files indicating 0 kb, and I deleted these exe, since these are seem to be corrupted to me, then after I tried running python and python --version with admin and all those executables, anyway it works really well. (Finally The all issues stand resolved.) Thank you for support matt and team, I'm really thankful for your attention to this matter. Kind regards, Praveen On Mon, 10 Mar 2025, 20:42 Praveen Kumar, wrote: > Yes, > > I have 24.3.1 version of pip in my win 11 device, there is a new version > of pip available, 25.0.1 > > Shall I upgrade that? > > Kind regards, > Praveen > > On Mon, 10 Mar 2025, 03:04 Thomas Passin via Python-list, < > python-list at python.org> wrote: > >> On 3/9/2025 3:16 PM, Gilmeh Serda via Python-list wrote: >> > On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote: >> > >> >> "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe" >> > >> > Is that an approved location for executables? >> >> Yes, that's where a python.org install normally goes. If you are >> changing the system paths, that location is the one to use. But if >> that's the location that the system links Python.File to, it should >> launch without a problem. Maybe you should remove the path steps you >> added previously and see if that clears up the problem. >> >> First, though, try to run python using the absolute path you have just >> found. >> >> BTW, it's always a good idea to run pip using the python install that >> you will be running. So if "python" runs the right version, then invoke >> pip this way: >> >> python -m pip >> >> If you use the launcher, then: >> >> py -m pip >> >> This will make sure you use the version of pip that goes with your >> version of python, just in case there are other versions somewhere on >> the computer. >> >> -- >> https://mail.python.org/mailman/listinfo/python-list >> > From mats at wichmann.us Mon Mar 10 14:23:35 2025 From: mats at wichmann.us (Mats Wichmann) Date: Mon, 10 Mar 2025 12:23:35 -0600 Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC?= =?UTF-8?Q?=27_=28Access_Denied=29_error_when_running_Python_or_checking_ver?= =?UTF-8?Q?sion_in_CMD_on_Windows_11=22?= In-Reply-To: References: <00f632bb-3c0e-4a9e-90ce-23f96cbadcc1@tompassin.net> Message-ID: <3195bd9e-bf26-49a8-8115-188377e83d74@wichmann.us> On 3/10/25 10:08, Praveen Kumar via Python-list wrote: > Hi Matt, > > I pointed out onething that related to the errors, what I pointed out is I > just gone through the system 32 path in c drive and I found the python > executive and other python files indicating 0 kb, and I deleted these exe, > since these are seem to be corrupted to me, then after I tried running > python and python --version with admin and all those executables, anyway it > works really well. > > (Finally The all issues stand resolved.) > > Thank you for support matt and team, > > I'm really thankful for your attention to this matter. The "empty" ones are part of the app execution alias system in Windows. If you do nothing at all, these at the things that offer to launch the Microsoft Store you can install Python from there. They're not actual files, they are NTFS reparse points, and if you need to remove them you should use the fsutil utility. Yes, this is pretty obscure. From meejah at meejah.ca Wed Mar 12 20:29:10 2025 From: meejah at meejah.ca (meejah) Date: Wed, 12 Mar 2025 18:29:10 -0600 Subject: magic-wormhole 0.18.0 Message-ID: <5711f80b-ef1f-4ac0-b321-f278724dfdf3@app.fastmail.com> Hello, I am happy to announce that magic-wormhole 0.18.0 has been released. A visible change is the default display of QR Codes, following the specification for file-transfer magic-wormhole codes. This can be turned off with --no-qr All changes in this release: * Improve the example to act more like send/receive (#558, @OndrewBot) * Display a QR code by default for "wormhole send" (#555, @ferada + @meejah) This encodes "wormhole-transfer:M-word0-word1" per the spec: https://github.com/magic-wormhole/magic-wormhole-protocols/blob/main/uri-scheme.md * Add sequence diagram * Support Read the Docs pull-request builds * Drop support for Python 3.8 (#556) * Add broken-link checker (#588, https://github.com/Cycloctane) * Preemptively fix Click 8.2 (#584, @cjwatson) * Basic support for PEP518 (#579, @SnoopJ) * Add WORMHOLE_ACCEPT_FILE (#570, @haatveit) thanks to all contributors and users, meejah From ndbecker2 at gmail.com Thu Mar 13 09:37:03 2025 From: ndbecker2 at gmail.com (Neal Becker) Date: Thu, 13 Mar 2025 09:37:03 -0400 Subject: magic-wormhole 0.18.0 In-Reply-To: <5711f80b-ef1f-4ac0-b321-f278724dfdf3@app.fastmail.com> References: <5711f80b-ef1f-4ac0-b321-f278724dfdf3@app.fastmail.com> Message-ID: On Wed, Mar 12, 2025 at 8:33?PM meejah via Python-list < python-list at python.org> wrote: > Hello, > > I am happy to announce that magic-wormhole 0.18.0 has been released. > A visible change is the default display of QR Codes, following the > specification for file-transfer magic-wormhole codes. > This can be turned off with --no-qr > > All changes in this release: > > * Improve the example to act more like send/receive (#558, @OndrewBot) > * Display a QR code by default for "wormhole send" (#555, @ferada + > @meejah) > This encodes "wormhole-transfer:M-word0-word1" per the spec: > > https://github.com/magic-wormhole/magic-wormhole-protocols/blob/main/uri-scheme.md > * Add sequence diagram > * Support Read the Docs pull-request builds > * Drop support for Python 3.8 (#556) > * Add broken-link checker (#588, https://github.com/Cycloctane) > * Preemptively fix Click 8.2 (#584, @cjwatson) > * Basic support for PEP518 (#579, @SnoopJ) > * Add WORMHOLE_ACCEPT_FILE (#570, @haatveit) > > thanks to all contributors and users, > > meejah > Thanks. When you wish to make announcements like this, please provide context for those who are not following the project. Neal From hugo at python.org Fri Mar 14 13:29:59 2025 From: hugo at python.org (Hugo van Kemenade) Date: Fri, 14 Mar 2025 19:29:59 +0200 Subject: Python 3.14.0 alpha 6 Message-ID: Here comes the penultimate alpha. https://www.python.org/downloads/release/python-3140a6/ This is an early developer preview of Python 3.14 Major new features of the 3.14 series, compared to 3.13: Python 3.14 is still in development. This release, 3.14.0a6, is the sixth of seven planned alpha releases. Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process. During the alpha phase, features may be added up until the start of the beta phase (2025-05-06) and, if necessary, may be modified or deleted up until the release candidate phase (2025-07-22). Please keep in mind that this is a preview release and its use is not recommended for production environments. Many new features for Python 3.14 are still being planned and written. Among the new major new features and changes so far: - PEP 649: deferred evaluation of annotations - PEP 741: Python configuration C API - PEP 761: Python 3.14 and onwards no longer provides PGP signatures for release artifacts. Instead, Sigstore is recommended for verifiers. - Improved error messages - A new type of interpreter. For certain newer compilers, this interpreter provides significantly better performance. Opt-in for now, requires building from source. - UUID versions 6-8 are now supported by the uuid module, and generation of versions 3-5 and 8 are up to 40% faster. - Python removals and deprecations - C API removals and deprecations - (Hey, fellow core developer, if a feature you find important is missing from this list, let Hugo know.) The next pre-release of Python 3.14 will be the final alpha, 3.14.0a7, currently scheduled for 2025-04-08. More resources - Online documentation: https://docs.python.org/3.14/ - PEP 745, 3.14 Release Schedule: https://peps.python.org/pep-0745/ - Report bugs at https://github.com/python/cpython/issues - Help fund Python and its community: https://www.python.org/psf/donations/ And now for something completely different! March 14 is celebrated as pi day, because 3.14 is an approximation of ?. The day is observed by eating pies (savoury and/or sweet) and celebrating ?. The first pi day was organised by physicist and tinkerer Larry Shaw of the San Francisco Exploratorium in 1988. It is also the International Day of Mathematics and Albert Einstein?s birthday. Let?s all eat some pie, recite some ?, install and test some py, and wish a happy birthday to Albert, Loren and all the other pi day children! Enjoy the new release Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the Python Software Foundation. Regards from Helsinki as fresh snow falls, Your release team, Hugo van Kemenade Ned Deily Steve Dower ?ukasz Langa From sch at fedora.email Tue Mar 18 02:24:29 2025 From: sch at fedora.email (Schimon Jehudah) Date: Tue, 18 Mar 2025 08:24:29 +0200 Subject: Creating a framework for bots Message-ID: <20250318082301.0077ef3e@workstation.localdomain> Good day! My name is Schimon, and I create software in a form of XMPP contacts (i.e. bots) with chat and visual interfaces. https://git.xmpp-it.net/sch I already have three bots, and several ideas for other bots, including BitTorrent, MPD, and even Chess. gemini://woodpeckersnest.space/~schapps/journal/2024-05-23-slixfeed-news-bot.gmi https://schapps.woodpeckersnest.eu/journal/2024-05-23-slixfeed-news-bot/#preview The basic structure of all of the bots is almost identical. Instead of repeating code and copy and paste my own templates, I was thinking of creating a framework for creating XMPP bots, based on the module Slixmpp, and perhaps also for IRC and MQTT. I do not know how to design a framework yet. I would appreciate guidance. Kind regards, Schimon From sch at fedora.email Fri Mar 21 06:37:02 2025 From: sch at fedora.email (Schimon Jehudah) Date: Fri, 21 Mar 2025 12:37:02 +0200 Subject: Creating a framework for bots In-Reply-To: <20250318082301.0077ef3e@workstation.localdomain> References: <20250318082301.0077ef3e@workstation.localdomain> Message-ID: <20250321123702.702b2b4f@workstation.localdomain> Good day. I am studynig decorators, and I am yet to understand how to create a dcorator for a function which is invoked upon an event. That is, the function depends upon an event from the event system of Slixmpp, and the external decorator should be invoked by it. gemini://woodpeckersnest.space/~schapps/journal/2025-03-19-designing-a-framework-for-xmpp-chat-bots.gmi From the frameworks of Flask, and FastAPI, I suppose that it should be possible, and I do not understand that system yet to do so. In the attached file you would see what I think that I want to do for some of the functions that Slixmpp provides. https://bpa.st/PDNA. Please advise. Regards, Schimon On Tue, 18 Mar 2025 08:24:29 +0200 Schimon Jehudah via Python-list wrote: > Good day! > > My name is Schimon, and I create software in a form of XMPP contacts > (i.e. bots) with chat and visual interfaces. > > https://git.xmpp-it.net/sch > > I already have three bots, and several ideas for other bots, including > BitTorrent, MPD, and even Chess. > > gemini://woodpeckersnest.space/~schapps/journal/2024-05-23-slixfeed-news-bot.gmi > > https://schapps.woodpeckersnest.eu/journal/2024-05-23-slixfeed-news-bot/#preview > > The basic structure of all of the bots is almost identical. > > Instead of repeating code and copy and paste my own templates, I was > thinking of creating a framework for creating XMPP bots, based on the > module Slixmpp, and perhaps also for IRC and MQTT. > > I do not know how to design a framework yet. > > I would appreciate guidance. > > Kind regards, > Schimon From info at physalia-courses.org Thu Mar 27 09:59:42 2025 From: info at physalia-courses.org (info at physalia-courses.org) Date: Thu, 27 Mar 2025 14:59:42 +0100 (CET) Subject: Online course: Introduction to Deep Learning in Python Message-ID: <1743083982.746418398@webmail.jimdo.com> Dear all, We are pleased to invite you to our upcoming online course: Introduction to Deep Learning for Biologists Dates: 3-7 November 2025 Format: Online Course website: [ https://www.physalia-courses.org/courses-workshops/course67/ ]( https://www.physalia-courses.org/courses-workshops/course67/ ) This course will provide a practical introduction to deep learning and its applications in biological research. Participants will learn: - The fundamentals of deep learning architectures- How to apply Convolutional Neural Networks (CNNs) to classification, regression, and image segmentation tasks- Best practices for evaluating model performance and avoiding overfitting - Hands-on implementation using Python, Jupyter Notebooks, and Linux This course is designed for students, researchers, and professionals interested in integrating deep learning into their work. Prior programming experience is helpful but not required. Best regards, Carlo -------------------- Carlo Pecoraro, Ph.D Physalia-courses DIRECTOR info at physalia-courses.org mobile: +49 17645230846 [ Bluesky ]( https://bsky.app/profile/physaliacourses.bsky.social ) [ Linkedin ]( https://www.linkedin.com/in/physalia-courses-a64418127/ )