OSX 0.16 How to install additional python packages

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

OSX 0.16 How to install additional python packages

Post by sgrogan »

What is the recommended procedure to install additional Python modules into the FreeCAD Python environment on OSX, after installing FreeCAD from the https://github.com/FreeCAD/FreeCAD/releases/tag/0.16 .dmg
"fight the good fight"
blacey
Posts: 370
Joined: Tue Dec 08, 2015 11:28 pm

Re: OSX 0.16 How to install additional python packages

Post by blacey »

Do you have a current example/use case?
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: OSX 0.16 How to install additional python packages

Post by NormandC »

blacey
Posts: 370
Joined: Tue Dec 08, 2015 11:28 pm

Re: OSX 0.16 How to install additional python packages

Post by blacey »

Correct, and the specific command:

Code: Select all

pip install --target="/Applications/FreeCAD.app/Contents/lib/python2.7/site-packages" <package>
For example:

Code: Select all

pip install --target="/Applications/FreeCAD.app/Contents/lib/python2.7/site-packages" pycollada 
Post Reply