cesium-ml/cesium

installation issue on macos

Closed this issue · 3 comments

Hello,

Having trouble installing cesium via conda.
Is Python 3.9 not supported for cesium?

% conda install -c conda-forge cesium
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 the existing python installation in your environment:

Specifications:

  - cesium -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0']

Your python: python=3.9

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
pip install cesium 

succeeds, but attempting to import cesium yields

ModuleNotFoundError: No module named 'cesium' 

Thanks for any advice.

This is an Anaconda issue, which you will need to file with them.

Do you mind trying to install with pip? If that does not work, we'll be happy to address any issues that arise.

Update: I am not convinced this is a conda issue. Also, pip doesn't install cesium either (as noted above with python 3.9).

I was able to install cesium with conda using python 3.8 without problem, so I think it is a python 3.9 issue with cesium.

Closing this issue because #304 is more detailed.