rpaframework icon indicating copy to clipboard operation
rpaframework copied to clipboard

Fail to install rpaframework in Windows - python > 3.10

Open detobel36 opened this issue 8 months ago • 1 comments

Hello,

I have the following error:

ERROR: Could not find a version that satisfies the requirement pywin<307,>=302; python_full_version != "3.8.1" and sys_platform == "win32" (from rpaframewowrk) (from versions: 307, 308, 309, 310)

My python version is 3.13. I read here: https://github.com/robocorp/rpaframework/issues/1148 that recommanded value is 3.10. However, on windows, it's not possible to install python 3.10 (or lower): https://www.python.org/downloads/windows/

Do you have a solution ?

detobel36 avatar May 16 '25 09:05 detobel36

It would work with python version 3.12.

raivolink avatar May 16 '25 16:05 raivolink

We have been using Python Readiness as a general guideline for supporting newer Python versions.

The Python package readiness for Python 3.13 is currently 57.2%, compared to 73.3% for Python 3.12.

But I can look into the possibility of upgrading dependencies for pywin32 and pendulum.

https://pyreadiness.org/3.13/ https://pyreadiness.org/3.12/

mikahanninen avatar Jul 04 '25 07:07 mikahanninen

Hello. How often do you check Python Readiness? For example, the "setuptools" package version is now 80.9.0, that is supposed to be compatible with Python 3.13 already (it also did not give me any issue on installation). Same for "grpcio-tools", where they state compatibility for Python >= 3.6. Python 3.13 (the current stable version, is out since Oct 07, 2024 (9 months ago) and 3.14 is planned to be released at the beginning of next Oct., but recommended version is still 3.10 (released in 2021) even if it works on 3.11 and 3.12

Finally, this is the error tracking when installing rpaframework. Error is generated when trying to use "pillow", that in the Python Readiness is marked with green. It seems rpaframework still requires version<10.0.0,>=9.1.1, while i have the latest 11.3.0 installed...

Collecting pillow<10.0.0,>=9.1.1 (from rpaframework)
  Using cached Pillow-9.5.0.tar.gz (50.5 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
          exec(compile('''
          ~~~~^^^^^^^^^^^^
          # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          ...<32 lines>...
          exec(compile(setup_py_code, filename, "exec"))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          ''' % ('C:\\Users\\Public\\Documents\\pip-install-c742cdwr\\pillow_30cc54e755334f1a90e0548f73759cfc\\setup.py',), "<pip-setuptools-caller>", "exec"))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "<pip-setuptools-caller>", line 35, in <module>
        File "C:\Users\Public\Documents\pip-install-c742cdwr\pillow_30cc54e755334f1a90e0548f73759cfc\setup.py", line 29, in <module>
          PILLOW_VERSION = get_version()
        File "C:\Users\Public\Documents\pip-install-c742cdwr\pillow_30cc54e755334f1a90e0548f73759cfc\setup.py", line 26, in get_version
          return locals()["__version__"]
                 ~~~~~~~~^^^^^^^^^^^^^^^
      KeyError: '__version__'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

axiom41 avatar Jul 16 '25 12:07 axiom41

Hello. Any news on that? I checked right now and Readiness report for Python 3.13 now shows 60.0%. What is your minimum accepted value?

We have been using Python Readiness as a general guideline for supporting newer Python versions.

The Python package readiness for Python 3.13 is currently 57.2%, compared to 73.3% for Python 3.12.

But I can look into the possibility of upgrading dependencies for pywin32 and pendulum.

https://pyreadiness.org/3.13/ https://pyreadiness.org/3.12/

axiom41 avatar Sep 08 '25 07:09 axiom41

Hi Mika,

We're at Python 3.12 using the RPA Windows library. We'd like to upgrade to Python 3.13 but the dependency on pywin32<307 doesn't allow us.

Have you looked into that dependency?

Thanks.

magrosso avatar Oct 07 '25 12:10 magrosso