TomographicImaging / CIL

A versatile python framework for tomographic imaging
https://tomographicimaging.github.io/CIL/
Apache License 2.0
97 stars 45 forks source link

Can't install CIL on windows via conda #1482

Closed EB79 closed 1 year ago

EB79 commented 1 year ago

Hi . When i want to install CIL package with command conda create --name cil -c conda-forge -c intel -c ccpi cil=23.0.1 astra-toolbox tiger ccpi-regulariser tomophantom "ipywidgets<8" , command window stuck in solving environment section and i wait about 20 minutes but nothing happened at all . It seems that conda can't find the required packages . What should I do?

epapoutsellis commented 1 year ago

Hi @EB79 ,

What is your conda --version?

EB79 commented 1 year ago

Hi @EB79 ,

What is your conda --version?

image

epapoutsellis commented 1 year ago

I think you have a typo in the cmd above, should be tigre, not tiger

EB79 commented 1 year ago

Thanks about that but the problem still goes on After that I correct the package name I tried to install packages once again but something that I discovered is that RAM memory of computer fill up to its peak (in my case I have 12GB RAM memory) Therefore I tried to install those packages one by one . But right after the installation of CIL package I found out conda can't find tigre ccpi-regulariser tomophantom packages for windows even with option -c conda-forge Annotation 2023-06-20 113444

epapoutsellis commented 1 year ago

Could you include -c ccpi? and without tigre, tomophantom conda create --name cil -c conda-forge -c intel -c ccpi cil=23.0.1 astra-toolbox ccpi-regulariser "ipywidgets<8"

epapoutsellis commented 1 year ago

I also have some problem on Win and with conda. An alternative option with no problems so far on Win is using mamba conda create --name cil_new conda activate cil_new mamba install -c conda-forge -c intel -c ccpi cil=23.0.1 astra-toolbox ccpi-regulariser "ipywidgets<8"

paskino commented 1 year ago

Can you add python=3.9 to the packages to install list?

Another thing to try is to use mamba instead of conda in the install command, as commented above. Normally mamba comes with a clearer error message.

paskino commented 1 year ago

@EB79 do you still have an issue?

EB79 commented 1 year ago

@EB79 do you still have an issue? Honestly, I tried to install mamba on windows to check whether if CIL installation is ok with mamba package manager or not !? But I encountered some errors and issues with mamba itself that prevented from installing any package !!!

gfardell commented 1 year ago

Sorry to hear it's still not working for you. It could be helpful for us to see what the issues are with the install and try to resolve it in real time for you.

Would you be able to join our user drop in session on Fridays 10-11 BST? We run them every friday so if you can't join this week that's not a problem.

Fri, 18 August, 10:00 – 11:00 https://discord.gg/EAVm3Szrmx

EB79 commented 1 year ago

I also have some problem on Win and with conda. An alternative option with no problems so far on Win is using mamba conda create --name cil_new conda activate cil_new mamba install -c conda-forge -c intel -c ccpi cil=23.0.1 astra-toolbox ccpi-regulariser "ipywidgets<8"

Thanks, It worked finally