-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conda instal: UnsatisfiableError #51
Comments
Hi Piotr, I can confirm that I get a similar issue: UnsatisfiableError: The following specifications were found to be incompatible with your system:
Your installed version is: 2.23 We will look into this problem in the coming week, and get back to you. |
Hi Piotr, We still don't know why this issue occurs but it seems to be isolated to Linux. Strangely enough, if I install tudat using a .yaml file:
it seems to work perfectly well. Can you see if this also works for you? |
@DominicDirkx Could you provide a link for the .yaml file? |
The full contents of the yaml file are what I put above as a 'code block'. If you paste this into a file named environment.yaml file, and run
it should work. Or at least, it did for me. In the process of diagnosing this issue I also did conda update conda you may want to do this before creating the new environment. |
The .yaml file worked well for me, thank you! |
Happy to hear it! |
@DominicDirkx While the installation via an
Can it be fixed? I have attempted a quick-and-dirty solution, by putting the path to the CMake configuration file (
but then, having
It seems that the C++ interface is very hard to use now. Should I make the problem with CMake a new isse? |
Hi Piotr, you should be able to use the conda environment for a CMakeLists.txt as well. You can add the conda environment as per step 7 in the README here: https://github.com/tudat-team/tudat-bundle Then, you should be able to find all the packages in the conda environment (including tudat) |
Hello Dominic, thank you for the tip. I think it moved me somewhat forward, since when I added
to my CMakeLists.txt (I use Visual Studio Code, not CLion, what requires to modify CMakeLists.txt manually), the configuration gave me another error, about not finding CSpice:
I suppose that this is because I have installed Tudat by the |
@DominicDirkx With today's (8 II 2022) updates of Ubuntu 20.04 and the newest Anaconda 4.11.0, I was able to install the tudat-bundle environment via
CMake complains about not finding CSpice:
Should I make this a new issue? |
I think this should be: find_package(CSpice REQUIRED 1.0.0) Possibly the name of the package we use (but not its contents) changed when moving from the old to the new tudat setup |
@DominicDirkx Thank you, I will try this. I have tried to use
|
Hmmm, it's weird that it works on some systems but not on others... But, on this new machine does the installation with teh yaml file work? |
Yes, the installation by |
@DominicDirkx And on my first machine (the one where
|
On Ubuntu 20.04 (all packages up to the date), while installing by
conda install -c tudat-team tudat
, I encountered:`
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package libstdcxx-ng conflicts for:
python=3.9 -> libstdcxx-ng[version='>=7.3.0|>=7.5.0']
tudat -> libstdcxx-ng[version='>=7.5.0|>=9.3.0|>=9.4.0']The following specifications were found to be incompatible with your system:
Your installed version is: 2.31
`
The text was updated successfully, but these errors were encountered: