Hi!
I'm trying to install toupy on a windows machine with Anaconda, via pip install. I used a separate environment where I first installed pyopencl and pyfftw via conda install because the toupy installation didn't manage to build the wheels.
The installation itself seems to have worked but I also need the dxchange library to import my data and it seems that toupy requires a newer version of h5py (>3.1) than currently works with dxchange.
Before I used dxchange version 0.1.5 with h5py 2.10.0 which worked fine (in an environment with tomopy), so I assumed these versions will work, but I'm not sure.
I tried 3 approaches already:
- installing toupy and afterwards installing dxchange
- installing toupy and afterwards installing the old versions of dxchange and h5py (downgrading h5py)
both gave the same error when I tried to import dxchange:
File "C:\Users\hanna\Documents\Python Scripts\Philip\Tomography scripts\FRC_berry_toupy.py", line 15, in
import functions.loadtomo as Load
File "C:\Users\hanna\Documents\Python Scripts\Philip\Tomography scripts\functions\loadtomo.py", line 4, in
import dxchange
File "C:\Users\hanna\anaconda3\envs\toupyenv2\lib\site-packages\dxchange_init_.py", line 55, in
from dxchange.exchange import *
File "C:\Users\hanna\anaconda3\envs\toupyenv2\lib\site-packages\dxchange\exchange.py", line 61, in
import dxchange.reader as dxreader
File "C:\Users\hanna\anaconda3\envs\toupyenv2\lib\site-packages\dxchange\reader.py", line 59, in
import h5py
File "C:\Users\hanna\anaconda3\envs\toupyenv2\lib\site-packages\h5py_init_.py", line 34, in
from . import version
File "C:\Users\hanna\anaconda3\envs\toupyenv2\lib\site-packages\h5py\version.py", line 17, in
from . import h5 as _h5
File "h5py\h5.pyx", line 1, in init h5py.h5
ImportError: DLL load failed: The specified procedure could not be found.
- installing toupy directly together with h5py=2.10.0 and dxchange=0.1.5 via pip
--> didn't work and it complains about conflicting dependencies.
Do you have any ideas what else I can try to make toupy and dxchange work together?
Thanks in advance for your help!
Hi!
I'm trying to install toupy on a windows machine with Anaconda, via
pip install. I used a separate environment where I first installed pyopencl and pyfftw viaconda installbecause the toupy installation didn't manage to build the wheels.The installation itself seems to have worked but I also need the dxchange library to import my data and it seems that toupy requires a newer version of h5py (>3.1) than currently works with dxchange.
Before I used dxchange version 0.1.5 with h5py 2.10.0 which worked fine (in an environment with tomopy), so I assumed these versions will work, but I'm not sure.
I tried 3 approaches already:
both gave the same error when I tried to import dxchange:
--> didn't work and it complains about conflicting dependencies.
Do you have any ideas what else I can try to make toupy and dxchange work together?
Thanks in advance for your help!