ITK
ITK copied to clipboard
pip install itk failed, file name too long
Description
I use the command pip install itk
οΌthe log show it that it didn't have a CMake, then I install the CMake. Then i still fail to install becasue it requires the doxygen, ok i install the doxygen. Finally it show it that the File Name too Long error.
I don't know how to fix this, because the pwd is very short already "C:\Users\zorogh\dev\python\BS_origin>"
Steps to Reproduce
- install the CMake, add it to the PATH
- install the doxygen , add it to the PATH
- pip install itk
Environment
- windows11
- Python 3.12.1
- pip 24.0
- cmake version 3.28.2
- doxygen 1.10.0
Thank you for contributing an issue! π
Welcome to the ITK community! π€πβοΈ
We are glad you are here and appreciate your contribution. Please keep in mind our community participation guidelines. π Also, please check existing open issues and consider discussion on the ITK Discourse. π
This is an automatic message. Allow for time for the ITK community to be able to read the issue and comment on it.
the Cmake error let me change the source directory, but the length is too long...
CMake Error at CMakeLists.txt:109 (message):
ITK source code directory path length is too long (133 > 50).Please move
the ITK source code directory to a directory with a shorter path.
What processor architecture are you working with? ITK should have wheels for common architectures (amd64 and arm64). Also try enabling long paths.
Hi,
Please use
pip install --upgrade --pre itk
to obtain binary wheels -- 3.12 wheels are currently available in the 5.4 release candidate.
pip install --upgrade pip
pip install --upgrade itk
will install the itk
5.4.0
wheels. These are 3.11 Stable ABI wheels that work with 3.12.