Edoardo Pasca

Results 183 comments of Edoardo Pasca

Looks like that installing in the conda environment works. ``` . C:\Apps\miniconda3\envs\sirf_b3\bin\env_sirf.PS1 ctest -C Release -R PET_ --output-on-failure Test project C:/Users/ofn77899/Dev/buildVC3/builds/SIRF/build Start 9: PET_TESTS_CPLUSPLUS_1 1/5 Test #9: PET_TESTS_CPLUSPLUS_1 ............ Passed...

No, I did not use PowerShell, rather command prompt. So I had added the environment variables by hand.

Yes, outside of conda dirs neither PowerShell, nor CMD worked. I had an issue with setting the path with `"` on CMD, but now, without double quotes, it seems to...

I've just read [here](https://github.com/Kitware/VTK/tree/master/Wrapping/Python#vtkpython) that > Note that on Windows, from Python 3.9 onwards, DLL paths must be added by calling os.add_dll_directory() within Python rather than by setting PATH. Indeed,...

Some more discussion on Python `add_dll_directory` here https://discourse.vtk.org/t/how-to-write-a-custom-function-that-uses-vtk-c-and-then-use-it-in-python/9030/7?u=edoardo_pasca

Interestingly enough NiftyPET doesn't seem to build on my Ubuntu18.04 with python3: ``` [ 4%] Building CUDA object nipet/CMakeFiles/mmr_auxe.dir/src/aux_module.cu.o cd /home/ofn77899/devel/buildNiftyPET/sources/NiftyPET/build/nipet && /usr/local/cuda/bin/nvcc -Dmmr_auxe_EXPORTS -I/home/ofn77899/devel/buildNiftyPET/sources/NiftyPET/niftypet/nipet/src -I/usr/include/python3.6m -I/home/ofn77899/.local/lib/python3.6/site-packages/numpy/core/include -I/home/ofn77899/devel/buildNiftyPET/sources/NiftyPET/niftypet/nipet/include -O3 -DNDEBUG...

@casperdcl I have numpy installed! That's installed with `pip` to the local user.

Not that I don't want to do it, but this is what I've got currently: a `pip` installed local version of numpy 1.19.5 ``` numpy.version >>> numpy.version.version '1.19.5' ```

Just to make this clear @casperdcl I'm not building NiftyPET as part of SIRF-SuperBuild yet, but rather just the package itself using the [instructions ](https://github.com/NiftyPET/NIPET#external-cmake-projects)on the NiftyPET repo. In the...

I downgraded `numpy` to 1.18. I added a `message(WARNING` to the NiftyPET `CMakeLists.txt` to see that Python is found and includes are there, but it still fails in the same...