New user - can't install macro via Addon Manager.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
New user - can't install macro via Addon Manager.
Hi:
This is my first attempt at FreeCAD. I'm trying to install a macro (the screw thread macro) via addon manager. However, I am not able to see any macros in the manager, and get the following error:
GitPython not installed! Cannot retrieve macros from git
08:33:51 Appears to be an issue connecting to the Wiki, therefore cannot retrieve Wiki macro list at this time
What am I doing wrong?
FreeCAD 0.19 on Windows 10. Fresh install.
Thanks in advance for any help!
This is my first attempt at FreeCAD. I'm trying to install a macro (the screw thread macro) via addon manager. However, I am not able to see any macros in the manager, and get the following error:
GitPython not installed! Cannot retrieve macros from git
08:33:51 Appears to be an issue connecting to the Wiki, therefore cannot retrieve Wiki macro list at this time
What am I doing wrong?
FreeCAD 0.19 on Windows 10. Fresh install.
Thanks in advance for any help!
Re: New user - can't install macro via Addon Manager.
Microsoft never included Git with any version of Windows therefore you need to download, install it and possibly reboot, can't just remember because it was years ago that I installed it.
Edit: Installer for Win https://git-scm.com/download/win
Edit: Installer for Win https://git-scm.com/download/win
Re: New user - can't install macro via Addon Manager.
Best way is indeed to install GitPython. But you can also install macros manually, see How to install macros. Expand the appropriate section.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: New user - can't install macro via Addon Manager.
GitPython is included in the Windows bundles. GitPython uses git.exe, follow Syres's instructions to install this.
There should be a fall back to download a .zip Does this fail because GitPython is found, but the needed git.exe is not available?
"fight the good fight"
Re: New user - can't install macro via Addon Manager.
Is the following error related to the Certificate Verification error in this post https://forum.freecadweb.org/viewtopic. ... 76#p540976 ?kkremitzki wrote: ping
Code: Select all
08:33:51 Appears to be an issue connecting to the Wiki, therefore cannot retrieve Wiki macro list at this time
Re: New user - can't install macro via Addon Manager.
As far as I can tell, it isn't the same error. But what would I know?
Addon Manager does see workbenches, but not macros.
FreeCAD seems to know what I'm trying to do, and it soundly defeats me at every turn...
I'm confused. I've installed python 3.10 on my computer, and, with a few wrong turns, was able to install GitPython there.
But FreeCAD doesn't recognize this.
I think that it's due to FreeCAD using Python 3.8, and everything is in different locations.
Could it be a simple matter of adding a few lines to the windows path?
Another confusion factor:
If I go into FreeCAD's Python console, import site, and run site.getusersitepackages()
I get back 'C:\\Users\\gamck\\AppData\\Roaming\\Python\\Python38\\site-packages' - which doesn't exist!
Am I barking up the wrong tree?
Addon Manager does see workbenches, but not macros.
FreeCAD seems to know what I'm trying to do, and it soundly defeats me at every turn...
I'm confused. I've installed python 3.10 on my computer, and, with a few wrong turns, was able to install GitPython there.
But FreeCAD doesn't recognize this.
I think that it's due to FreeCAD using Python 3.8, and everything is in different locations.
Could it be a simple matter of adding a few lines to the windows path?
Another confusion factor:
If I go into FreeCAD's Python console, import site, and run site.getusersitepackages()
I get back 'C:\\Users\\gamck\\AppData\\Roaming\\Python\\Python38\\site-packages' - which doesn't exist!
Am I barking up the wrong tree?
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: New user - can't install macro via Addon Manager.
IIRC windows package comes with gitpython included but it doesn't include git (which evidently a dependey of gitpython), what you need is to install git and have it available in your PATH.
If you truly don't have gitpython in the FreeCAD package installing it for your system wide python won't work, you have to install it for FreeCAD's python, I can't remember now how one has to do that.
If you truly don't have gitpython in the FreeCAD package installing it for your system wide python won't work, you have to install it for FreeCAD's python, I can't remember now how one has to do that.
Re: New user - can't install macro via Addon Manager.
Thanks, everyone! I really appreciate your help. I would NOT have solved it without your help!
There are too many things for a new user to learn.
I now have access to macros via Addon Manager.
I installed git per Syres' instructions.
Created a path to GIT,
Created a path to FreeCAD 0.19\bin\lib\site-packages\git.
There are too many things for a new user to learn.
I now have access to macros via Addon Manager.
I installed git per Syres' instructions.
Created a path to GIT,
Created a path to FreeCAD 0.19\bin\lib\site-packages\git.
Re: New user - can't install macro via Addon Manager.
@GMckeown
PC with Win10 here.
I have the same issue you had.
GIT is installed, FreeCad 0.19 is a fresh install, Python 3.9.4 installed, GitPython installed. I added a path for GIT and FreeCAD as you indicated. Still getting the same error message and a partial list of Macros.
Would you please share the detailed way you used to have this working?
Thanks in advance!
PC with Win10 here.
I have the same issue you had.
GIT is installed, FreeCad 0.19 is a fresh install, Python 3.9.4 installed, GitPython installed. I added a path for GIT and FreeCAD as you indicated. Still getting the same error message and a partial list of Macros.
Would you please share the detailed way you used to have this working?
Thanks in advance!
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm