Skip to content

Python3.11/3.13 is not supported[Windows] #524

@iengai

Description

@iengai

3.10 can do the pip install, but 3.11/3.13 can not. Maybe 3.12 can not either, not tested
Requirements for python on README.md should be updated.

3.13 full pip install logs

Ignoring numba: markers 'python_version < "3.9"' don't match your environment
Collecting maturin==1.5.1 (from -r C:\Users\iamib\projects\passivbot\requirements-rust.txt (line 1))
  Downloading maturin-1.5.1-py3-none-win_amd64.whl.metadata (18 kB)
Collecting python-dateutil==2.8.2 (from -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 2))
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl.metadata (8.2 kB)
Collecting numba==0.59.1 (from -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 3))
  Downloading numba-0.59.1.tar.gz (2.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 1.4 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [24 lines of output]
      Traceback (most recent call last):
        File "C:\Users\iamib\projects\passivbot\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 389, in <module>
          main()
          ~~~~^^
        File "C:\Users\iamib\projects\passivbot\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\iamib\projects\passivbot\.venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "C:\Users\iamib\AppData\Local\Temp\pip-build-env-buvauht5\overlay\Lib\site-packages\setuptools\build_meta.py", line 331, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\iamib\AppData\Local\Temp\pip-build-env-buvauht5\overlay\Lib\site-packages\setuptools\build_meta.py", line 301, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "C:\Users\iamib\AppData\Local\Temp\pip-build-env-buvauht5\overlay\Lib\site-packages\setuptools\build_meta.py", line 512, in run_setup
          super().run_setup(setup_script=setup_script)
          ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\iamib\AppData\Local\Temp\pip-build-env-buvauht5\overlay\Lib\site-packages\setuptools\build_meta.py", line 317, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 51, in <module>
        File "<string>", line 48, in _guard_py_ver
      RuntimeError: Cannot install on Python version 3.13.5; only versions >=3.9,<3.13 are supported.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 25.1.1 -> 25.2
[notice] To update, run: python.exe -m pip install --upgrade pip
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

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

3.11 full pip install logs

Ignoring numba: markers 'python_version < "3.9"' don't match your environment
Collecting maturin==1.5.1 (from -r C:\Users\iamib\projects\passivbot\requirements-rust.txt (line 1))
  Using cached maturin-1.5.1-py3-none-win_amd64.whl.metadata (18 kB)
Collecting python-dateutil==2.8.2 (from -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 2))
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl.metadata (8.2 kB)
Collecting numba==0.59.1 (from -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 3))
  Downloading numba-0.59.1-cp311-cp311-win_amd64.whl.metadata (2.8 kB)
Collecting pandas==1.5.3 (from -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 5))
  Downloading pandas-1.5.3-cp311-cp311-win_amd64.whl.metadata (12 kB)
Collecting asyncio==3.4.3 (from -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 6))
  Downloading asyncio-3.4.3-py3-none-any.whl.metadata (1.7 kB)
Collecting numpy==1.22.4 (from -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 7))
  Downloading numpy-1.22.4.zip (11.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.5/11.5 MB 1.5 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting ccxt==4.4.99 (from -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 8))
  Downloading ccxt-4.4.99-py2.py3-none-any.whl.metadata (132 kB)
Collecting hjson==3.0.2 (from -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 9))
  Downloading hjson-3.0.2-py3-none-any.whl.metadata (2.6 kB)
Collecting prettytable==3.0.0 (from -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 10))
  Downloading prettytable-3.0.0-py3-none-any.whl.metadata (22 kB)
Collecting sortedcontainers==2.4.0 (from -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 11))
  Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
Collecting portalocker==3.2.0 (from -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 12))
  Downloading portalocker-3.2.0-py3-none-any.whl.metadata (8.7 kB)
Collecting tqdm==4.62.3 (from -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 13))
  Downloading tqdm-4.62.3-py2.py3-none-any.whl.metadata (56 kB)
Collecting matplotlib==3.5.1 (from -r requirements.txt (line 3))
  Downloading matplotlib-3.5.1.tar.gz (35.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.3/35.3 MB 1.3 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting prospector==1.6.0 (from -r requirements.txt (line 4))
  Downloading prospector-1.6.0-py3-none-any.whl.metadata (8.3 kB)
Collecting colorama==0.4.4 (from -r requirements.txt (line 5))
  Downloading colorama-0.4.4-py2.py3-none-any.whl.metadata (14 kB)
Collecting mkdocs==1.4.0 (from -r requirements.txt (line 6))
  Downloading mkdocs-1.4.0-py3-none-any.whl.metadata (5.0 kB)
Collecting mkdocs-material==8.1.8 (from -r requirements.txt (line 7))
  Downloading mkdocs_material-8.1.8-py2.py3-none-any.whl.metadata (10 kB)
Collecting pymdown-extensions==9.1 (from -r requirements.txt (line 8))
  Downloading pymdown_extensions-9.1-py3-none-any.whl.metadata (2.9 kB)
Collecting PyYAML==6.0 (from -r requirements.txt (line 9))
  Downloading PyYAML-6.0-cp311-cp311-win_amd64.whl.metadata (2.1 kB)
Collecting pyecharts==1.9.1 (from -r requirements.txt (line 10))
  Downloading pyecharts-1.9.1-py3-none-any.whl.metadata (1.3 kB)
Collecting deap==1.4.1 (from -r requirements.txt (line 11))
  Downloading deap-1.4.1.tar.gz (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 1.1 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting websockets==10.4 (from -r requirements.txt (line 12))
  Downloading websockets-10.4-cp311-cp311-win_amd64.whl.metadata (6.4 kB)
Collecting aiohttp==3.11.18 (from -r requirements.txt (line 13))
  Downloading aiohttp-3.11.18-cp311-cp311-win_amd64.whl.metadata (8.0 kB)
Collecting dictdiffer==0.9.0 (from -r requirements.txt (line 14))
  Downloading dictdiffer-0.9.0-py2.py3-none-any.whl.metadata (4.8 kB)
Collecting openpyxl==3.1.5 (from -r requirements.txt (line 15))
  Downloading openpyxl-3.1.5-py2.py3-none-any.whl.metadata (2.5 kB)
Collecting msgpack==1.1.0 (from -r requirements.txt (line 16))
  Downloading msgpack-1.1.0-cp311-cp311-win_amd64.whl.metadata (8.6 kB)
Collecting plotly==6.0.1 (from -r requirements.txt (line 17))
  Downloading plotly-6.0.1-py3-none-any.whl.metadata (6.7 kB)
Collecting six>=1.5 (from python-dateutil==2.8.2->-r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 2))
  Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting llvmlite<0.43,>=0.42.0dev0 (from numba==0.59.1->-r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 3))
  Downloading llvmlite-0.42.0-cp311-cp311-win_amd64.whl.metadata (4.9 kB)
Collecting pytz>=2020.1 (from pandas==1.5.3->-r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 5))
  Using cached pytz-2025.2-py2.py3-none-any.whl.metadata (22 kB)
INFO: pip is looking at multiple versions of pandas to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 3), -r C:\Users\iamib\projects\passivbot\requirements-live.txt (line 5) and numpy==1.22.4 because these package versions have conflicting dependencies.
                                                                                                                                                                                                                                                                                                                                                                                                                                  
The conflict is caused by:
    The user requested numpy==1.22.4
    numba 0.59.1 depends on numpy<1.27 and >=1.22
    pandas 1.5.3 depends on numpy>=1.21.0; python_version >= "3.10"
    pandas 1.5.3 depends on numpy>=1.23.2; python_version >= "3.11"

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict


[notice] A new release of pip is available: 25.1.1 -> 25.2
[notice] To update, run: python.exe -m pip install --upgrade pip
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions