LibPack for Windows "Python packages"
LibPack for Windows "Python packages"
Hi all,
i am creating a new lib pacl for windows. This would be a good time to also add the needed python packages.
Please add the python packaes needed, i will then add them. Best would be if the packages could be added with pip...
i am creating a new lib pacl for windows. This would be a good time to also add the needed python packages.
Please add the python packaes needed, i will then add them. Best would be if the packages could be added with pip...
Re: LibPack for Windows "Python packages"
Based on your https://github.com/apeltauer/FreeCAD/re ... estLibPack
1) Upgrade pip:
2) Packages available with pip that FreeCAD core will use if available:
I think unit tests fail without matplotlib.
3) Packages that FreeCAD will use, not available from pip:
opencamlib, I can provide a package from Conda.
IfcOpenShell, I can provide a package from their build bot.
4) Packages used by modules in Addons manager:
a) install-able with pip
b) not install-able with pip
I'll work on a list for 4, but this is an oppurtunity for Addon WB authors to get their dependencies in the Win bundle, making it easier for their users.
1) Upgrade pip:
Code: Select all
./python -m pip install --upgrade pip
Code: Select all
./python -m pip install GitPython matplotlib ply pycollada
3) Packages that FreeCAD will use, not available from pip:
opencamlib, I can provide a package from Conda.
IfcOpenShell, I can provide a package from their build bot.
4) Packages used by modules in Addons manager:
a) install-able with pip
b) not install-able with pip
I'll work on a list for 4, but this is an oppurtunity for Addon WB authors to get their dependencies in the Win bundle, making it easier for their users.
"fight the good fight"
Re: LibPack for Windows "Python packages"
"fight the good fight"
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: LibPack for Windows "Python packages"
Cross post
I noticed this issue months ago. LP versions doesn't support SoGeo nodes. This nodes are my workbench dependences. If someone can fix it that would be great. Conda versions doesn't have this issue.HakanSeven12 wrote: ↑Tue Jun 23, 2020 7:36 am Can someone update pivy for LP? With Conda build SoGeo classes working fine. But LP build gives error.
Code: Select all
During initialization the error "module 'pivy.coin' has no attribute 'SoGeoCoordinate'" occurred in freecad.trails -------------------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 148, in InitApplications File "importlib\__init__.py", line 126, in import_module File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed ... File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\Trails\pivy_trackers\pivy_trackers\coin\coin_enums.py", line 342, in NodeTypes GEO_COORDINATE = coin.SoGeoCoordinate AttributeError: module 'pivy.coin' has no attribute 'SoGeoCoordinate' --------------------------------------------------------------------------------
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Re: LibPack for Windows "Python packages"
Code: Select all
./python -m pip install PyYAML
"fight the good fight"
Re: LibPack for Windows "Python packages"
new libpack is available...
https://github.com/apeltauer/FreeCAD/re ... ack_12.4.2
https://github.com/apeltauer/FreeCAD/re ... ack_12.4.2
Re: LibPack for Windows "Python packages"
Many thanks! I will try out out ASAP.apeltauer wrote: ↑Thu Dec 03, 2020 2:23 pm new libpack is available...
https://github.com/apeltauer/FreeCAD/re ... ack_12.4.2
Re: LibPack for Windows "Python packages"
I tested it out - just to compile. It compiles fine, many thanks!
I get now only many warnings but in principles there are only 2 issues:
A: redefinition of HAVE_UINT8_T:
B: redefinition of GL_GLEXT_LEGACY:
I have:
OS: Windows 10 Version 2004
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23252 (Git)
Build type: Release
Branch: master
Hash: 983e513704a659c1008fbaf95da6a34975cc37ac
Python version: 3.8.6
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: German/Germany (de_DE)
I get now only many warnings but in principles there are only 2 issues:
A: redefinition of HAVE_UINT8_T:
Code: Select all
60>D:\FreeCAD-build\FreeCADLibs_12.4.2_x64_VC17\include\Inventor/system/inttypes.h(90,1): warning C4005: 'HAVE_INT8_T': macro redefinition
60>D:\FreeCADGit\src\FCConfig.h(134): message : see previous definition of 'HAVE_INT8_T'
60>D:\FreeCAD-build\FreeCADLibs_12.4.2_x64_VC17\include\Inventor/system/inttypes.h(91,1): warning C4005: 'HAVE_UINT8_T': macro redefinition
60>D:\FreeCADGit\src\FCConfig.h(139): message : see previous definition of 'HAVE_UINT8_T'
60>D:\FreeCAD-build\FreeCADLibs_12.4.2_x64_VC17\include\Inventor/system/inttypes.h(92,1): warning C4005: 'HAVE_INT16_T': macro redefinition
60>D:\FreeCADGit\src\FCConfig.h(144): message : see previous definition of 'HAVE_INT16_T'
60>D:\FreeCAD-build\FreeCADLibs_12.4.2_x64_VC17\include\Inventor/system/inttypes.h(93,1): warning C4005: 'HAVE_UINT16_T': macro redefinition
60>D:\FreeCADGit\src\FCConfig.h(149): message : see previous definition of 'HAVE_UINT16_T'
60>D:\FreeCAD-build\FreeCADLibs_12.4.2_x64_VC17\include\Inventor/system/inttypes.h(94,1): warning C4005: 'HAVE_INT32_T': macro redefinition
60>D:\FreeCADGit\src\FCConfig.h(154): message : see previous definition of 'HAVE_INT32_T'
60>D:\FreeCAD-build\FreeCADLibs_12.4.2_x64_VC17\include\Inventor/system/inttypes.h(95,1): warning C4005: 'HAVE_UINT32_T': macro redefinition
60>D:\FreeCADGit\src\FCConfig.h(159): message : see previous definition of 'HAVE_UINT32_T'
60>D:\FreeCAD-build\FreeCADLibs_12.4.2_x64_VC17\include\Inventor/system/inttypes.h(96,1): warning C4005: 'HAVE_INT64_T': macro redefinition
60>D:\FreeCADGit\src\FCConfig.h(164): message : see previous definition of 'HAVE_INT64_T'
60>D:\FreeCAD-build\FreeCADLibs_12.4.2_x64_VC17\include\Inventor/system/inttypes.h(97,1): warning C4005: 'HAVE_UINT64_T': macro redefinition
60>D:\FreeCADGit\src\FCConfig.h(169): message : see previous definition of 'HAVE_UINT64_T'
B: redefinition of GL_GLEXT_LEGACY:
Code: Select all
60>D:\FreeCAD-build\FreeCADLibs_12.4.2_x64_VC17\include\QtGui/qopengl.h(136,1): warning C4005: 'GL_GLEXT_LEGACY': macro redefinition
60>D:\FreeCADGit\src\Gui\PreCompiled.cpp : message : see previous definition of 'GL_GLEXT_LEGACY'
OS: Windows 10 Version 2004
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23252 (Git)
Build type: Release
Branch: master
Hash: 983e513704a659c1008fbaf95da6a34975cc37ac
Python version: 3.8.6
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: German/Germany (de_DE)