Comments (8)
Working in at least 4.9.0-2017-07-22
from sliceropencv.
Also fails in 4.8.1!
Probably need something like this: https://github.com/Radiomics/SlicerRadiomics/blob/master/SuperBuild/External_python-pyradiomics.cmake#L89-L95
from sliceropencv.
Further discussion:
https://discourse.slicer.org/t/extension-adding-an-entry-to-slicer-xyz-ini-pythonpath/1976
from sliceropencv.
from @naucoin
Hereβs the commit where I talked about trying to get python wrapping and importing to work:
fdf1dde
It referenced:
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=25305
from sliceropencv.
Related historical issue #12
from sliceropencv.
From @jcfr (see https://discourse.slicer.org/t/extension-adding-an-entry-to-slicer-xyz-ini-pythonpath/1976/11):
Since r25959 introduced in April 2017, extension can already package python modules and packages using PYTHON_SITE_PACKAGES_SUBDIR CMake variable to specify the install destination.
The packages found in this sub directory will be importable.
The suggestion above is implemented in #50
from sliceropencv.
This issue is still present
from sliceropencv.
Did the above PR fix this issue?
from sliceropencv.
Related Issues (20)
- Linking error on Mac HOT 5
- Windows: Fix error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in itkOpenCVVideoIO.obj HOT 3
- Improve SlicerOpenCVConfig to ensure dependent project find the expected OpenCV libraries
- `is not a valid Qt plugin` error on startup HOT 37
- Remove debug print statements HOT 6
- CLI failed on reading the input image from the shared memory pointer HOT 2
- fatal error: Eigen/Eigenvalues: No such file or directory when trying to build latest SlicerOpenCV on Ubuntu HOT 8
- Fix Windows build/test errors HOT 13
- Extension not available on either Linux or Mac dashboards HOT 4
- Hard-coded MD5 HOT 2
- Example of vtkImageData to cv2.Mat in Python HOT 2
- macOS dashboard build is broken HOT 13
- OpenCV is no longer python wrapped in latest nightly HOT 1
- Nightly extension failing to build on Windows and macOS HOT 1
- Extension fails to build HOT 3
- Adding zlib as dependency to OpenCV project lead to build errors
- OpenCV_contrib module `wechat_qrcode` leads to build error in client project
- Python bindings not generated HOT 6
- Build error on linux and macOS HOT 6
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 sliceropencv.