Closed skeletonyyy closed 1 week ago
So, this issue is still not fixed, but I found a workaround by using VS Code and WSL. It works fine there (apart from memory problem, but that's probably unrelated to ANTs), but it would be neat to be able to use it with PyCharm since I'm sure a few of us are used to that IDE for Python projects.
In other words, this issue is not as pressing as it was :)
What was the workaround you implemented? I have the same issue here where building the wheel fails Usign WSL (Ubuntu 22.04) on Windows 11 with Python 3.6.15
From the error ModuleNotFoundError: No module named 'cmake'
- you have to have cmake installed. Try this - https://cmake.org/download/
Closing as the build process has been overhauled extensively. Wheels are available under the releases tab (pypi to follow)
I have been trying to install antspyx using PyCharm's package manager, and it kept failing when building the wheel. I then turned to installing it manually, but the problem persisted. I then tried cloning the github repo, changing Python versions (I tried 3.6, 3.9, and 3.11), using Conda, yet nothing is working. Here is the last lines that I think will be useful to identify the problem, but let me know if you need more!
Steps to reproduce the behavior: With PyCharm:
pip install antspyx
git clone https://github.com/ANTsX/ANTsPy
cd ANTsPy
python3 setup.py install
From what I understand, this looks like an issue with cmake, yet cmake looks fine. I have also installed setuptools-cmake (and setuptools only). I'm not sure what else I could be missing.
Desktop (please complete the following information):
In the meantime, I've been using ANTs with Ubuntu command line through WSL, but it would be really neat to use it with Python.
Thanks for your help!