[Fixed] conda build 0.19.20381 broken

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
UR_
Veteran
Posts: 1355
Joined: Tue Jan 03, 2017 8:42 pm

[Fixed] conda build 0.19.20381 broken

Post by UR_ »

Since conda updated to occt 7.4.0 build 4

Code: Select all

(freecad) C:\Users\aio\Miniconda3>conda list occt
# packages in environment at C:\Users\aio\Miniconda3\envs\freecad:
#
# Name                    Version                   Build  Channel
occt                      7.4.0                h823b557_4    conda-forge

FreeCAD build finishes but most workbenches (eg. Sketcher) failed to load because dlls aren't found.

Had to downgrade to build 3 to get a working FreeCAD build.

Code: Select all

(freecad) C:\Users\aio\Miniconda3>conda install occt=7.4.0=*_3

Any suggestions?
Last edited by UR_ on Mon Apr 06, 2020 6:33 pm, edited 1 time in total.
User avatar
Markymark
Posts: 228
Joined: Sun Nov 03, 2019 4:54 pm

Re: conda build 0.19.20381 broken

Post by Markymark »

Same issue here with 0.19.20310 (current binaries from guthub).

Let me know if further information is needed.

_______________________________________
OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20310 (Git)
Build type: Release
Branch: master
Hash: 2cac4898d7d62276fbbaaef5b4cecb9bfdd29a33
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: German/Germany (de_DE)
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: conda build 0.19.20381 broken

Post by looo »

Vtk support was added recently:
https://github.com/conda-forge/occt-feedstock/pull/38

Can you give feedback which libraries are missing?
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: conda build 0.19.20381 broken

Post by sgrogan »

looo wrote: Sat Apr 04, 2020 3:44 pm Can you give feedback which libraries are missing?

Code: Select all

During initialization the error "DLL load failed while importing Part: The specified module could not be found." occurred in freecad.asm3
--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 144, in InitApplications
  File "C:\Users\Chris\Downloads\FreeCAD_0.19.20310-Win-Conda_vc14.x-x86_64\bin\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\Chris\Downloads\FreeCAD_0.19.20310-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\freecad\asm3\init_gui.py", line 3, in <module>
    from .utils import mainlogger as logger
  File "C:\Users\Chris\Downloads\FreeCAD_0.19.20310-Win-Conda_vc14.x-x86_64\bin\lib\site-packages\freecad\asm3\utils.py", line 10, in <module>
    import FreeCAD, FreeCADGui, Part, Draft
ImportError: DLL load failed while importing Part: The specified module could not be found.
--------------------------------------------------------------------------------
EDIT: When switching to Sketcher

Code: Select all

DLL load failed while importing SketcherGui: The specified module could not be found.
Traceback (most recent call last):
  File "<string>", line 43, in Initialize
I'll install depends.exe and try to be more specific.
"fight the good fight"
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: conda build 0.19.20381 broken

Post by looo »

sgrogan wrote: Sat Apr 04, 2020 3:57 pm
The package occt-7.4.0-h823b557_4.tar.bz2 looks totally wrong. Should be marked as broken soon.


edit: should be fixed
Post Reply