Skip to content
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

pip install itk failed, file name too long #4449

Closed
ZoroGH opened this issue Feb 5, 2024 · 5 comments
Closed

pip install itk failed, file name too long #4449

ZoroGH opened this issue Feb 5, 2024 · 5 comments
Labels
area:Python wrapping Python bindings for a class type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances
Milestone

Comments

@ZoroGH
Copy link

ZoroGH commented Feb 5, 2024

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>"

image

Steps to Reproduce

  1. install the CMake, add it to the PATH
  2. install the doxygen , add it to the PATH
  3. pip install itk

Environment

  • windows11
  • Python 3.12.1
  • pip 24.0
  • cmake version 3.28.2
  • doxygen 1.10.0
@ZoroGH ZoroGH added the type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances label Feb 5, 2024
Copy link

github-actions bot commented Feb 5, 2024

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.

@ZoroGH
Copy link
Author

ZoroGH commented Feb 5, 2024

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.

@dzenanz
Copy link
Member

dzenanz commented Feb 5, 2024

What processor architecture are you working with? ITK should have wheels for common architectures (amd64 and arm64). Also try enabling long paths.

@thewtex
Copy link
Member

thewtex commented Feb 5, 2024

Hi,

Please use

pip install --upgrade --pre itk

to obtain binary wheels -- 3.12 wheels are currently available in the 5.4 release candidate.

@thewtex
Copy link
Member

thewtex commented May 21, 2024

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.

@thewtex thewtex closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Python wrapping Python bindings for a class type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances
Projects
None yet
Development

No branches or pull requests

3 participants