gecos-lab / PZero

GNU Affero General Public License v3.0
24 stars 2 forks source link

Issues with conda install "UnsatisfiableError: The following specifications were found to be incompatible with each other" on Windows machine #4

Closed gbene closed 3 months ago

gbene commented 2 years ago

Problems with installing the required packages from the requirements.yml on a fresh install of Windows 10 on my personal machine (dual boot with Pop!_OS 21.10).

After running

conda env create -n pzero -f environment.yml

The following error is given:

UnsatisfiableError: The following specifications were found to be incompatible with each other: Output in format: Requested package -> Available versions

followed by a long list of conflicts (see this attachment)

This problem was not encountered on other windows machines. I do not know what could cause this... Maybe the dual boot system? Could it be related to issue #3?

gautier-laurent commented 2 years ago

hello,

I am adding a similar issue to this one as it seems to be same same.

I tried to create a pzero environment (on several windows machines) and ended up with the following : UnsatisfiableError: The following specifications were found to be incompatible with each other:

Attached is the (very long) list of conflicts found : conflict_pzero.txt

I am using anaconda distribution with a conda version : 4.11.0

I don't have a dual boot, so that's a difference with the previous post

andrea-bistacchi commented 2 years ago

Dear all, we are collecting various installation issues here and we will try to solve them. The problem is at the moment these issues are a bit random so to understand why this happens we need to try and detect a pattern. Please be patient!

gautier-laurent commented 2 years ago

Dear Andrea,

Thanks for your reply.

In the meantime, I try to investigate another route and install the environment listed in your requirements.txt This time it worked!

I gave this solution a try earlier but there was another problem with installing geopandas because of lack of admin access to the directory where anaconda was installed. With a cleaner installation it now works.

I think this should be similar to following the instructions you giving lower in the readme file, in the advanced install section : https://github.com/andrea-bistacchi/PZero#advanced-usersdevelopers-installation-with-anaconda

only I installed one package at a time in a sequence to see when a possible conflict would pop.

So I think the environment.yml file must be too specific and causes conflicts on some systems / installs, where as a less specific one would do the job.

Best regards

PS: I tried to attach the script showing my isntallation process and final environment but for somme reason file attachment is not working right now (?)... I can email you or post them later if need be

andrea-bistacchi commented 2 years ago

Hello, in the process of making the installation easier, we are trying to manage everything with conda, avoiding mixing conda and pip. This should be more robust particularly when dealing with multiple operating systems and OS-specific libraries including compiled code (such as VTK and Qt in our case).

It looks like we are going in the right direction, as reported in #6, but, as also reported in #6, we have a problem installing LoopStructural, that at the moment seems broken both in conda and pip.

andrea-bistacchi commented 3 months ago

To be closed due to many improvements on environments and installation.