question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with conda installation : failed with initial frozen solve

See original GitHub issue

Hi, I have installed cadquery successfully with:

conda install -c conda-forge -c cadquery cadquery=2

I am trying now to install CQ-editor as explained here. It fails with this messages (extract, cuts = […], full here part 1, part 2):

(base) lalebarde@PC:/opt/openscad$ conda install -c cadquery -c conda-forge cq-editor
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.
Examining conflict for pluggy astropy spyder pytest-doctestplus [...]

Package mpi conflicts for:
h5py -> openmpi[version='>=4.0.2,<4.1.0a0'] -> mpi==1.0[build='openmpi|mpich']
hdf5 -> mpich[version='>=3.3,<3.4.0a0'] -> mpi==1.0[build='openmpi|mpich']

Package patchelf conflicts for:
anaconda==2019.10 -> patchelf==0.9=he6710b0_3
conda-build -> patchelf

I have also tried the solution here, but without success:

(base) lalebarde@PC:/opt/openscad$ conda env create -f cqgui_env.yml -n cqgui
SpecNotFound: Invalid name, try the format: user/package

I am not a conda user, so I don’t know if the installation sequence for cadquery, then CQ-editor is correct ?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
jmwrightcommented, Apr 16, 2020

@lalebarde The conda line above assumes that you pulled the latest master.

1reaction
jmwrightcommented, Apr 16, 2020

@lalebarde I think it’s because I forgot to update the version number in CadQuery’s init.py and so CQ-editor thinks it’s not updated.

If you’re running Anaconda you should be able to do the following, but the update message will persist. You should have the latest version though.

conda env update -f cqgui_env.yml
Read more comments on GitHub >

github_iconTop Results From Across the Web

failed with initial frozen solve. Retrying with flexible ...
I installed Anaconda on Windows 10 (x64, version 1903) using Anaconda3-2019.10-Windows-x86_64.exe and everything went well. When I create a new ...
Read more >
python - Conda install and update do not work also solving ...
1) I cannot use conda install for any package. It will give me the error in solving environment list this: failed with initial...
Read more >
[Linux/Ubuntu] How to fix 'Solving environment: failed with ...
So if you're new to Anaconda or have just encountered the 'Solving environment: failed with initial frozen solve.
Read more >
Solving environment: failed with initial frozen ...
I've read Solving environment: failed with initial frozen solve. Retrying with flexible solve and it doesn't work. conda install rstudio ...
Read more >
failed with initial frozen solve. Retrying with flexible ...
Hello. Try to install fenics-dolfinx with the below command (but it goes for ever and never install). conda install -c conda-forge ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found