-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Failure #66
Comments
I got the same exit code 2 issue when installing richdem using Python 3.10.9, Visual Studis 2022, Windows 11. I got the error of C2065 and I tries using the solution provided in davisking/dlib#2463 (comment). But it is not working for richdem. Maybe the pybind11 need updated? (#46 (comment)) richdem.cpp |
Not sure if you are still having this issue but I wondered if you tried installing using conda? That has its own issues that I struggled with for quite some time but I finally got it working using the workflow below. It's a bit of a messy solution and there might be a better way of doing it but it worked:
Hopefully this works for you. |
I have been attempting to install PyLEnM and the installation has failed while installing richdem. I am using Python 3.10.1, pip 23.0, setup tools 65.5,and Visual Studio 2022. I have down graded to VS 2019 and have used the --use pep 517 option and the installation still fails. The installation errors are:
DEPRECATION: richdem is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
"command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe' failed with exit code 2".
Any suggestions would be appreciated. Thanks.
The text was updated successfully, but these errors were encountered: