Closed lzhan132 closed 4 years ago
I solved this by doing the following:
Hope it is helpful to others who meet the same problem!
I've also encountered the same problem. Reinstalling python (added to the PATH variable) and cmake didn't help. Any idea why?
I noticed when I hit "generate" it almost completes instantly, and nothing's being actually built by cmake.
I've also encountered the same problem. Reinstalling python (added to the PATH variable) and cmake didn't help. Any idea why?
Did you check in cmd if your system can access Python? If it does, and your folder name is normal, then I have no idea what might have happened in your case...
I did. What version of Python are you using? I'm using 3.8.5 with VS 16 2019.
and cmake 3.18.2
I did. What version of Python are you using? I'm using 3.8.5 with VS 16 2019.
I'm using Python 3.7.6 under Anaconda 3. My cmake version is 3.16.5.
Let me see if I can replicate it. Thanks!
Let me see if I can replicate it. Thanks!
My pleasure. Good luck!
and did you built it with cmake gui?
and did you built it with cmake gui?
Yep, I built it with cmake gui.
Hello,
It seems some people have reported this but I still couldn't find a clear solution to it - in the last step of installing the python module on Windows, there is no such folder called "/Wrapping/Python/Packaging" under "SimpleITK-build", and no file called "setup.py" in it. People have pointed out that it may be an issue coming from the improper Python Path. I tried adding Python Path under Anaconda to the system so that it can be accessed through cmd, but it didn't solve the problem. Then I uninstalled Anaconda, re-installed a separate Python and added Python Path to the system, and it didn't solve the problem, either. Could someone share some experience on how to solve this? I would appreciate your help.
Linghua
CMakeCacheInit.txt