[Python] Cannot install GPy [closed]

Discussão em 'Python' iniciado por Stack, Julho 3, 2025.

  1. Stack

    Stack Membro Participativo

    I'm struggling to install GPy. I have PyCharm and a virtual environment for it.

    The installation keeps failing at the generating metadata part. It kept failing at some NumPy bit, then I installed wheel and something else via pip and then it stopped failing at the NumPy bit but still failed in the metadata part.

    What I am doing is going via the python packages tab of PyCharm and telling it to install GPy, but I have tried with activating the venv and running the command pip install gpy in the terminal as well, same issue. The GitHub says something about how you should do this via conda and I now have the conda navigator and tried running the commands they want in a conda activated terminal but that seems to also be wrong because, apparently, my machine doesn't even know some of those commands?

    Is there a way to do this that doesn't involve redoing my entire setup in WSL?

    The following is the error messages I get when I try to run it without wheel installed

    × Preparing metadata (pyproject.toml) did not run successfully.
    │ exit code: 3221225477
    ╰─> [14 lines of output]
    <frozen importlib._bootstrap>:488: Warning: Numpy built with MINGW-W64 on Windows 64 bits is experimental, and only available for
    testing. You are advised not to use it for production.

    CRASHES ARE TO BE EXPECTED - PLEASE REPORT THEM TO NUMPY DEVELOPERS
    C:\Users\akutn\AppData\Local\Temp\pip-build-env-rqyj6fmd\normal\Lib\site-packages\numpy\core\getlimits.py:225: RuntimeWarning: invalid value encountered in exp2
    epsneg_f128 = exp2(ld(-113))
    C:\Users\akutn\AppData\Local\Temp\pip-build-env-rqyj6fmd\normal\Lib\site-packages\numpy\core\getlimits.py:226: RuntimeWarning: invalid value encountered in exp2
    tiny_f128 = exp2(ld(-16382))
    C:\Users\akutn\AppData\Local\Temp\pip-build-env-rqyj6fmd\normal\Lib\site-packages\numpy\core\getlimits.py:240: RuntimeWarning: invalid value encountered in exp2
    eps=exp2(ld(-112)),
    C:\Users\akutn\AppData\Local\Temp\pip-build-env-rqyj6fmd\normal\Lib\site-packages\numpy\core\getlimits.py:41: RuntimeWarning: invalid value encountered in nextafter
    self._smallest_subnormal = nextafter(
    C:\Users\akutn\AppData\Local\Temp\pip-build-env-rqyj6fmd\normal\Lib\site-packages\numpy\core\getlimits.py:52: RuntimeWarning: invalid value encountered in log10
    self.precision = int(-log10(self.eps))
    [end of output]

    Continue reading...

Compartilhe esta Página