io icon indicating copy to clipboard operation
io copied to clipboard

installation via pip does not work for python 3.12.2

Open JB91451 opened this issue 1 year ago • 3 comments

Dear all,

I tried on two different PCs (Win10, 64 bit), each with a fresh Python 3.12.2 installation to install within an active venv. I get the following error:

C:\Tmp\Develop>python -m venv venv
C:\Tmp\Develop>venv\Scripts\activate

(venv) C:\Tmp\Develop>python -m pip install pip --upgrade
Requirement already satisfied: pip in c:\tmp\develop\venv\lib\site-packages (24.0)
Collecting pip
  Downloading pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Downloading pip-24.2-py3-none-any.whl (1.8 MB)
   ---------------------------------------- 1.8/1.8 MB 9.7 MB/s eta 0:00:00
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 24.0
    Uninstalling pip-24.0:
      Successfully uninstalled pip-24.0
Successfully installed pip-24.2

(venv) C:\Tmp\Develop>pip freeze

(venv) C:\Tmp\Develop>pip list
Package Version
------- -------
pip     24.2

(venv) C:\Tmp\Develop>pip install tensorflow-io-gcs-filesystem
ERROR: Could not find a version that satisfies the requirement tensorflow-io-gcs-filesystem (from versions: none)
ERROR: No matching distribution found for tensorflow-io-gcs-filesystem
C:\Tmp\Develop>python -VV
Python 3.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 21:26:36) [MSC v.1937 64 bit (AMD64)]

Is this something I can fix by adjusting the requirements file of my package etc?

Best regards, Juergen

JB91451 avatar Jul 29 '24 15:07 JB91451

@JB91451 did you solve that problem? I am having same error. Please let me know solution if you have

cg-tester avatar Jan 15 '25 09:01 cg-tester

There is no release that supports Python 3.12 at this moment.

mihaimaruseac avatar Jan 16 '25 21:01 mihaimaruseac

I think, Python 3.12 is meanwhile supported. However support for Python 3.13 still lacks behind.

JB91451 avatar Jan 17 '25 09:01 JB91451