Open guiwitz opened 4 years ago
Hi @guiwitz ,
sorry for the confusion. I was also confused because there exist two ways for installing pyimagej. You don't need to install anything in the base. I just tried again and found this working:
conda config --add channels conda-forge
conda config --set channel_priority strict
conda create -n pyimagej pyimagej openjdk=8
Whenever you want to use pyimagej, activate its environment:
conda activate pyimagej
pip install pyimagej
pip install scikit-image
pip install scipy
pip install numpy
pip install matplotlib
pip install gputools
I also updated the installation instructions on the readme accordingly. Would you mind trying installation like this?
Thanks!
Cheers, Robert
Hi @haesleinhuepf,
so now when exactly following these instructions, everything works and things are blazingly fast on my Quadro p4000 ! However
pip install pyimagej
is not necessary as it gets installed by conda when creating the environment. I tried without and it worked. I also had the pyopencl problem mentioned in the instructions. I downloaded pyopencl and then could run:
pip install pyopencl-2019.1.1+cl12-cp37-cp37m-win_amd64.whl
pip install gputools
Maybe it's worth mentioning that the whl file has to be installed with pip in the instructions ?
Probably now you should also change the Linux instructions so that people don't think they have to install pyimagej in the base environment ?
Cheers,
Guillaume
Hey @guiwitz ,
thanks again for checking the instructions. I just updated/simplified them. IMHO windows and linux instructions are the same now, except the issue with pyopencl.
Again, your support is very much appreciated!
Cheers, Robert
Hi @haesleinhuepf,
I have some trouble installing clijpy on a Windows machine by using a simple conda installation. Re-reading your installation instructions for Windows:
I'm just a bit troubled my one thing: at the very beginning you pip install pyjnius and pyimagej in the base environment, then create an environment called imagej and install again pyimagej in there. Is there a reason for this ? My installation has trouble finding the JDK. Does this "double-installation" fix this ? I'm just a bit worried about installing things into the base environment.
Thanks for your help! Cheers, Guillaume