Skip to content

Erreur d'installation avec la version de python 3.13.0 #3

@Ridimo

Description

@Ridimo

Bonjour,

Je souhaite faire l ísntallation complète du projet, comme indiquée dans le README.

Lors de l'installation des requirments, l'installation plante (comme ci-dessous) avec la evrsion de Python 3.13.0.

Il semblerait que les libs Panda ne fonctionnent qu'avec une version < "3.12".

error:
(.venv) PS D:\Projects\Python\Backtest-Tools-V2> pip install -r .\requirements.txt
Collecting ccxt==4.1.91 (from -r .\requirements.txt (line 1))
Using cached ccxt-4.1.91-py2.py3-none-any.whl.metadata (105 kB)
Collecting pandas==2.1.4 (from -r .\requirements.txt (line 2))
Using cached pandas-2.1.4.tar.gz (4.3 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [57 lines of output]
Ignoring oldest-supported-numpy: markers 'python_version < "3.12"' don't match your environment
Collecting meson-python==0.13.1
Using cached meson_python-0.13.1-py3-none-any.whl.metadata (4.1 kB)
Collecting meson==1.2.1
Using cached meson-1.2.1-py3-none-any.whl.metadata (1.7 kB)
Collecting wheel
Using cached wheel-0.45.0-py3-none-any.whl.metadata (2.3 kB)
Collecting Cython<3,>=0.29.33
Using cached Cython-0.29.37-py2.py3-none-any.whl.metadata (3.1 kB)
Collecting numpy<2,>=1.26.0
Using cached numpy-1.26.4.tar.gz (15.8 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error

    Preparing metadata (pyproject.toml) did not run successfully.
    exit code: 1

    [21 lines of output]
    + D:\Projects\Python\Backtest-Tools-V2\.venv\Scripts\python.exe C:\Users\idirm\AppData\Local\Temp\pip-install-rlbm389j\numpy_3bce03dae68542eb9e0189ba0536946e\vendored-meson\meson\meson.py setup C:\Users\idirm\AppData\Local\Temp\pip-install-rlbm389j\numpy_3bce03dae68542eb9e0189ba0536946e C:\Users\idirm\AppData\Local\Temp\pip-install-rlbm389j\numpy_3bce03dae68542eb9e0189ba0536946e\.mesonpy-67n07_kw -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\idirm\AppData\Local\Temp\pip-install-rlbm389j\numpy_3bce03dae68542eb9e0189ba0536946e\.mesonpy-67n07_kw\meson-python-native-file.ini
    The Meson build system
    Version: 1.2.99
    Source dir: C:\Users\idirm\AppData\Local\Temp\pip-install-rlbm389j\numpy_3bce03dae68542eb9e0189ba0536946e
    Build dir: C:\Users\idirm\AppData\Local\Temp\pip-install-rlbm389j\numpy_3bce03dae68542eb9e0189ba0536946e\.mesonpy-67n07_kw
    Build type: native build
    Project name: NumPy
    Project version: 1.26.4
    WARNING: Failed to activate VS environment: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe

    ..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
    The following exception(s) were encountered:
    Running `icl ""` gave "[WinError 2] Le fichier spécifié est introuvable"
    Running `cl /?` gave "[WinError 2] Le fichier spécifié est introuvable"
    Running `cc --version` gave "[WinError 2] Le fichier spécifié est introuvable"
    Running `gcc --version` gave "[WinError 2] Le fichier spécifié est introuvable"
    Running `clang --version` gave "[WinError 2] Le fichier spécifié est introuvable"
    Running `clang-cl /?` gave "[WinError 2] Le fichier spécifié est introuvable"
    Running `pgcc --version` gave "[WinError 2] Le fichier spécifié est introuvable"

    A full log can be found at C:\Users\idirm\AppData\Local\Temp\pip-install-rlbm389j\numpy_3bce03dae68542eb9e0189ba0536946e\.mesonpy-67n07_kw\meson-logs\meson-log.txt
    [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.
  [end of output]

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

× pip subprocess to install build dependencies 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.

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