Python Forum
Python 3.13(Windows) does not have the latest module OS
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 3.13(Windows) does not have the latest module OS
#1
I have installed the latest Python 3.13.1 on my Windows 10 PC.

I'm trying to run program pssh which requires OS.pipe2().

The module OS should have a function called 'pipe2'. The documentation here describes this:
https://docs.python.org/3/library/os.html

Python Vvrsion 3.13.1 is the latest available stable version.

I'm told the OS module is "built in" and cannot be separately upgraded.

I did try upgrading module OS, though:
python -m pip install os --upgrade
ERROR: Could not find a version that satisfies the requirement os (from versions: none)
ERROR: No matching distribution found for os

How can I fix this? I want to get the OS module that matches the documentation.

Thanks.
Reply
#2
os.pipe2 is not available on Windows. Many os calls depend on the underlying operating system. From the documentation.
Quote:os.pipe2(flags, /)
Create a pipe with flags set atomically. flags can be constructed by ORing together one or more of these values: O_NONBLOCK, O_CLOEXEC. Return a pair of file descriptors (r, w) usable for reading and writing, respectively.

Availability: Unix, not WASI.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ModuleNotFoundError: No module named 'tkcalendar', Thonny, Windows 10 Edward_ 4 904 Apr-06-2025, 07:56 PM
Last Post: Edward_
  For Loop assigns only the latest value from List Caliban86 3 1,249 Sep-22-2024, 02:47 AM
Last Post: deanhystad
  Get latest version off website and save it as variable [SOLVED] AlphaInc 5 3,161 Nov-14-2021, 09:00 PM
Last Post: DeaD_EyE
  Running latest Python version on the Terminal (MAC) Damian 4 3,691 Mar-22-2021, 07:58 AM
Last Post: Damian
  Latest file with a pattern produces an error tester_V 4 4,643 Dec-10-2020, 02:14 AM
Last Post: tester_V
  Read plotly-latest.min.js from local issac_n 1 3,169 Nov-18-2020, 02:08 PM
Last Post: issac_n
  fcntl module not found - Windows kaushiikasuresh 0 3,667 Sep-03-2019, 11:14 AM
Last Post: kaushiikasuresh
  How to save latest time stamp in a file? redwood 12 10,085 Jul-11-2019, 11:03 AM
Last Post: redwood
  Is there any way to convert a python script (with Tkinter module), to a .exe (Windows moste 3 5,116 May-12-2019, 12:02 PM
Last Post: snippsat
  Python ftp server get the latest sub-directory name muzamalrana 1 4,263 Aug-08-2018, 11:40 PM
Last Post: muzamalrana

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020