MPI-IS / mesh

MPI-IS Mesh Processing Library
Other
643 stars 147 forks source link

conda installation #67

Open karan00713 opened 2 years ago

karan00713 commented 2 years ago

Screenshot (456) Hi, I tried the conda prompt method of boost installation and psbody-mesh installation on windows I'm facing this issue while installing the psbody-mesh library installation, could you take a look on it and help me to clear this out?

it showing some errors like : c:\users\karan k s\anaconda3\envs\my_venv\include\pyconfig.h(206): fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit code 2 error: subprocess-exited-with-error error: legacy-install-failure

× Running setup.py install for psbody-mesh 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.

× Encountered error while trying to install package. ╰─> psbody-mesh

MhmdAliChamass99 commented 2 years ago

Did you solve it? Because I am facing the same issue

davidvfx07 commented 1 year ago

Same issue

LinghaoChan commented 1 year ago

the same issue

TuttiChi commented 1 year ago

Same issue.Try solving it with upgrade setuptools?But Im not fix it.

SwiftieH commented 1 year ago

I seem to fix this issue by directly installing boost from https://astuteinternet.dl.sourceforge.net/project/boost/boost-binaries/1.73.0/boost_1_73_0-msvc-14.0-64.exe instead of conda. Then run with pip install --no-deps --install-option="--boost-location=C:\local\boost_1_73_0" --verbose --no-cache-dir .

I also followed the instruction from https://github.com/johnbanq/mesh/tree/fix/MSVC_compilation

Hope it works!

qaz8788817 commented 4 months ago

https://astuteinternet.dl.sourceforge.net

I follow the command and I can't run it successfully. Can you help me? image

Updated: --install-option is not supported anymore in pip v22.0, it should be replaced by --config-settings .

Thanks.