pythonocc-core icon indicating copy to clipboard operation
pythonocc-core copied to clipboard

Pythonocc-core Instalation on miniconda

Open TheNigis opened this issue 2 years ago • 1 comments

Hello everyone, now I'm trying to install PythonOCC-Core in a vps with conda (In my computer works me but not in my vps), but I saw the issues about the instalation and doesn't works me. The ways I tried:

  • README.md, and in this command conda install -c conda-forge pythonocc-core=7.5.1 occt=7.5.1, returns me
(pyoccenv) root@webApp:~# conda install -c conda-forge pythonocc-core=7.5.1 occt=7.5.1
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): / (pyoccenv) root@webApp:~#
  • conda install -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core==0.18.1, returns me
(testapp) root@webApp:~# conda install -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core==0.18.1
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): / (testapp) root@webApp:~#
(testapp) root@webApp:~#
  • #1058, with this command conda install -c conda-forge pythonocc-core=7.5.1 occt=7.5.1, returns me
(testapp) root@webApp:~# conda install -c conda-forge pythonocc-core=7.5.1 occt=7.5.1
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): / (testapp) root@webApp:~#

Any idea for a solution to this? Thanks

TheNigis avatar Jul 17 '22 23:07 TheNigis

It's either going to be that pythonocc-core=7.5.1 is incompatible with the Python version you have installed in your Conda environment or there is a a conflict between pythonocc-core and occt.

What happens when you just run these commands:

conda create --name=pyoccenv python=3.9
source activate pyoccenv
conda install -c conda-forge pythonocc-core=7.7.0

okwilkins avatar Mar 27 '23 18:03 okwilkins