Skip to content

Instantly share code, notes, and snippets.

@csaudiodesign
Last active December 25, 2022 01:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save csaudiodesign/3e243fbe284cc0c02270d4b8c455e3aa to your computer and use it in GitHub Desktop.
Save csaudiodesign/3e243fbe284cc0c02270d4b8c455e3aa to your computer and use it in GitHub Desktop.
Install packages for blender bundled python

Install packages for blender bundled python

To get BlenderCAM to run, you need shapely and numpy. At least in macOS, blender comes with a bundled python version. The packages need to be installed in the bundled site_packages, but since the bundled python doesn't provide pip, you need to install it manually.

Installing pip, then shapely and numpy

cd /Applications/Blender.app/Contents/Resources/2.78/python
wget https://bootstrap.pypa.io/get-pip.py
./bin/python3.5m ./get-pip.py --prefix /Applications/Blender.app/Contents/Resources/2.78/python
./bin/python3.5m bin/pip3 install shapely numpy

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment