mesh icon indicating copy to clipboard operation
mesh copied to clipboard

conda installation

Open karan00713 opened this issue 3 years ago • 6 comments

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

karan00713 avatar Feb 09 '22 12:02 karan00713

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

MhmdOdoo avatar Apr 28 '22 03:04 MhmdOdoo

Same issue

davidvfx07 avatar Aug 08 '22 07:08 davidvfx07

the same issue

LinghaoChan avatar Oct 05 '22 14:10 LinghaoChan

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

TuttiChi avatar Dec 04 '22 07:12 TuttiChi

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!

SwiftieH avatar Feb 16 '23 01:02 SwiftieH

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.

qaz8788817 avatar Feb 20 '24 02:02 qaz8788817