Comments (12)
I've solved this problem, your Python path mush be '/usr/bin', instead of the anaconda one.
from simpleelastix.
Dear kaspermarstal
When I run “python setup.py install” command in the {BUILD_DIRECTORY}/SimpleITK-build/Wrapping/Python/Packaging path, the following error occurs:
error: can’t copy ‘F:\Development\build\SimpleElastix\SimpleITK-build\Wrapping\Python\Packaging\ _simpleitk.pyd’ : does not exist or not a regular file
I would be thankful if you help me in this way
from simpleelastix.
I didn't find the setup.py
either. To be more specific, there's no such directory called PythonPackage
.
I tried the setupegg.py
of Wrapping/Python/Packaging/setupegg.py
, but it didn't work.
from simpleelastix.
In the build directory:
kyobi@mischief:~/code$ find build/ -type f -name "*setup*" -print
build/Swig-prefix/src/Swig/Tools/setup.py.tmpl
build/Swig-prefix/src/Swig/Examples/chicken/egg/single.setup
build/Swig-prefix/src/Swig/Examples/chicken/egg/multi.setup
In the SimpleElastix directory:
kyobi@mischief:~/code$ find SimpleElastix -type f -name "*setup*" -print
SimpleElastix/Wrapping/PythonPackage/setuptools-2.2.tar.gz
SimpleElastix/Wrapping/PythonPackage/ez_setup.py
SimpleElastix/Wrapping/PythonPackage/setup.py.in
SimpleElastix/Wrapping/PythonPackage/setupegg.py
At this point I am not clear on how to actually install the python module successfully. Running the ez_setup.py script:
sudo python ez_setup.py install
but this itself does not let me import the module, is there some system path variable I am neglecting?
from simpleelastix.
You should have a setup.py file in build/SimpleITK-build/Wrapping/PythonPackage directory. This should then be run like sudo python setup.py install
.
Can you point out where there is confusion about the build directories? It should be the top-level build directory when using the SuperBuild and needs to be fixed :) thanks for the heads up
from simpleelastix.
The confusion may stem from that fact that the Python directory will be in buildir/SimpleITK-build/Wrapping/PythonPackage
directory when using the superbuild, and buildir/Wrapping/PythonPackage
when not using the superbuild.
from simpleelastix.
I found setup.py in SimpleITK-build/Wrapping/Python/Packaging
Running this seemed to work, at least I can see Elastix & SimpleElastix in dir(SimpleITK). This was fresh clone, commit: 7e30260
from simpleelastix.
I just met the same problem as @stephenholtz,
There is only Java, Lua and Tcl , I cannot find PythonPackage .
from simpleelastix.
I'm having the same issue as @snapfinger
In the build > SimpleITK folder I only see CMakeCacheInit.txt. In SimpleElastix > Wrapping > Python > Packaging I have the following: init.py, setup.py.in and setupegg.py. I have attached the cache file if it is of use.
CMakeCacheInit.txt
Using macOS and have tried using both the native python and anaconda installations.
from simpleelastix.
@a-r-j It looks like CMake is not picking up your Python installation, otherwise it is usually build by default. There isn't any Python variables in your CMakeCacheInit.txt either. Is WRAP_Python set to ON or OFF after cmake is initialized?
from simpleelastix.
I've solved this problem, your Python path mush be '/usr/bin', instead of the anaconda one.
Hello, I meet the same problem, could tell me how do you solve this problem? thanks.
from simpleelastix.
I am having the same issue. Does Python with Anaconda work? or having linux filesystem is a dependency?
from simpleelastix.
Related Issues (20)
- RuntimeError: Exception thrown in SimpleITK Elastix HOT 1
- AffineDTITransform does not return the CenterOfRotationPoint
- windows user :thank you very much
- Gradient based optimizer: how to control learning rate HOT 2
- Rigid transformation warping with "TransformixImageFilter"
- error of compiling on linux
- Fatal error LNK1181
- Error while installing SimpleElastix on Windows. HOT 1
- Shearing matrix composition in Affine DTI 3D Transform
- Failed to build on Win10 HOT 3
- affine registration outcome measurement
- A lot of console output even after turning it off HOT 1
- Registration with initial transform obtained using SimpleITK/etc. (.tfm file) HOT 1
- The ElastixImageFilter stuck when using iterative InitialTransformParameterFileName.
- Unable to create/compile/build SimpleElastix C++ dynamic or static library in 32bit or 64-bit.
- Trouble understanding basic usage
- Is there a way to save the transform to a .tfm file?
- AttributeError: module 'SimpleITK' has no attribute 'VesselnessMeasureImageFilter'
- Use only corresponding points based transformation
- SimpleElastix no longer maintained, use SimpleITK or ITKElastix!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simpleelastix.