Skip to content
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

Cannot Setup pyOCCT in non-env Miniconda #65

Closed
8bit-Dude opened this issue Jul 17, 2020 · 1 comment
Closed

Cannot Setup pyOCCT in non-env Miniconda #65

8bit-Dude opened this issue Jul 17, 2020 · 1 comment

Comments

@8bit-Dude
Copy link

Hey Trelau!

I have been using pythonOCC for a few years now, and thought I would give your pyOCCT a try (so I can use SMESH/NETGEN). I was able to setup pyOCCT using the env method in miniconda, but I cannot make it work without an env, even though I use a miniconda with the same version of python: I just get DLL load failed error for all modules.

I would really prefer to install it without using an env, do you have some suggestion?

Steps to Reproduce (for bugs)

Install Miniconda3-py38-4.8.3: https://repo.anaconda.com/miniconda/Miniconda3-py38_4.8.3-Windows-x86_64.exe
Do:
conda init
conda install -c conda-forge -c trelau pyocct
Then try:
python
from OCCT.Graphic3d import Graphic3d_NOM_ALUMINIUM
Gets a message:
ImportError: DLL load failed while importing Graphic3d: The specified module could not be found.

@8bit-Dude
Copy link
Author

Nevermind, I was just being dense...
Doing the following solves the issue:
conda activate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant