You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install the latest version of pysystemtrade on Windows using a virtual environment set up with Anaconda. I remember running older versions of pysystemtrade without any issues (using Python 3.8.x). However, on Python 3.10.x, I am unable to install psutil version 5.6.6; only 5.6.7 or newer versions are available. When I try to use version 5.6.7 or newer, the pysystemtrade setup returns an error.
I have tried installing several different versions of Microsoft Visual C++ 14.0 or higher, but the result remains the same.
Here’s the error output:
**psutil/_psutil_windows.c(272): error C2094: label 'error' was undefined
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for psutil
Running setup.py clean for psutil
Failed to build psutil
ERROR: Could not build wheels for psutil, which is required to install pyproject.toml-based projects**
I have searched online about installing psutil 5.6.6 and found that it seems to be impossible for many users. It is often suggested to install version 5.6.7 instead (ref: EGA-archive/ega-download-client#205).
How did you manage to run the latest version on Windows with Python 3.10.x or newer?
What is the correct setup I should follow?
Thank you for the help.
The text was updated successfully, but these errors were encountered:
I got similar issue.
I finally used psutil==6.0.0 and downloaded the wheel somewhere I dont remember since I wasn't able to build it. I think it was at this link : https://pypi.org/project/psutil/6.0.0/#files
Hello,
I am trying to install the latest version of pysystemtrade on Windows using a virtual environment set up with Anaconda. I remember running older versions of pysystemtrade without any issues (using Python 3.8.x). However, on Python 3.10.x, I am unable to install psutil version 5.6.6; only 5.6.7 or newer versions are available. When I try to use version 5.6.7 or newer, the pysystemtrade setup returns an error.
I have tried installing several different versions of Microsoft Visual C++ 14.0 or higher, but the result remains the same.
Here’s the error output:
**psutil/_psutil_windows.c(272): error C2094: label 'error' was undefined
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for psutil
Running setup.py clean for psutil
Failed to build psutil
ERROR: Could not build wheels for psutil, which is required to install pyproject.toml-based projects**
I have searched online about installing psutil 5.6.6 and found that it seems to be impossible for many users. It is often suggested to install version 5.6.7 instead (ref: EGA-archive/ega-download-client#205).
How did you manage to run the latest version on Windows with Python 3.10.x or newer?
What is the correct setup I should follow?
Thank you for the help.
The text was updated successfully, but these errors were encountered: