KeithSloan / GDML

FreeCAD GDML Workbench - AddonManager Installable
Other
44 stars 15 forks source link

Regarding the issue of installing GDML workbench based on FreeCAD0.21.2 on Windows #131

Open Gadajilehu opened 1 month ago

Gadajilehu commented 1 month ago

I installed gmsh and lXML in the site packages folder in the root directory of freeCAD according to the tutorial and confirmed that they can be used. However, when I wanted to install GDML workbench in freeCAD through the Addon manager, it prompted me to install a library called veto. I'm not sure if this library must be installed in the freeCAD folder or on my computer. This may be a beginner's question. But I am indeed confused because I successfully installed vedo on my computer using pip, but there were many errors when I tried to install vedo in the site packages folder.

C:\Users\Administrator>pip install --target="E:\software\freecad\bin\Lib\site-packages" --upgrade vedo
Collecting vedo
  Using cached vedo-2024.5.1-py3-none-any.whl
Collecting vtk
  Using cached vtk-9.3.0-cp310-cp310-win_amd64.whl (52.4 MB)
Collecting Pygments
  Using cached pygments-2.18.0-py3-none-any.whl (1.2 MB)
Collecting numpy
  Using cached numpy-1.26.4-cp310-cp310-win_amd64.whl (15.8 MB)
Collecting matplotlib>=2.0.0
  Using cached matplotlib-3.9.0-cp310-cp310-win_amd64.whl (8.0 MB)
Collecting pyparsing>=2.3.1
  Using cached pyparsing-3.1.2-py3-none-any.whl (103 kB)
Collecting pillow>=8
  Using cached pillow-10.3.0-cp310-cp310-win_amd64.whl (2.5 MB)
Collecting packaging>=20.0
  Using cached packaging-24.0-py3-none-any.whl (53 kB)
Collecting contourpy>=1.0.1
  Using cached contourpy-1.2.1-cp310-cp310-win_amd64.whl (187 kB)
Collecting python-dateutil>=2.7
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Collecting fonttools>=4.22.0
  Using cached fonttools-4.52.4-cp310-cp310-win_amd64.whl (2.2 MB)
Collecting kiwisolver>=1.3.1
  Using cached kiwisolver-1.4.5-cp310-cp310-win_amd64.whl (56 kB)
Collecting cycler>=0.10
  Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting six>=1.5
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six, pyparsing, Pygments, pillow, packaging, numpy, kiwisolver, fonttools, cycler, python-dateutil, contourpy, matplotlib, vtk, vedo
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
gensim 4.3.0 requires FuzzyTM>=0.4.0, which is not installed.
conda-repo-cli 1.0.41 requires requests_mock, which is not installed.
numba 0.56.4 requires numpy<1.24,>=1.18, but you have numpy 1.26.4 which is incompatible.
conda-repo-cli 1.0.41 requires clyent==1.2.1, but you have clyent 1.2.2 which is incompatible.
conda-repo-cli 1.0.41 requires nbformat==5.4.0, but you have nbformat 5.7.0 which is incompatible.
conda-repo-cli 1.0.41 requires python-dateutil==2.8.2, but you have python-dateutil 2.9.0.post0 which is incompatible.
Successfully installed Pygments-2.18.0 contourpy-1.2.1 cycler-0.12.1 fonttools-4.52.4 kiwisolver-1.4.5 matplotlib-3.9.0 numpy-1.26.4 packaging-24.0 pillow-10.3.0 pyparsing-3.1.2 python-dateutil-2.9.0.post0 six-1.16.0 vedo-2024.5.1 vtk-9.3.0
KeithSloan commented 1 month ago

Thanks for reporting

FreeCAD needs python libraries installed in a location different to standard Python.

The installation of vedo library is for something I am working on, it is not currently used for the Main branch. I will push an update to remove it as a required library until this gets resolved

KeithSloan commented 1 month ago

There are problems with FreeCAD 0.21.2 Please use a different version of FreeCAD