csaudiodesign 2017-11-24 20:05:33 +01:00 zatwierdzone przez GitHub
rodzic a9a9f25153
commit 542edb5ded
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -1,10 +1,11 @@
# Install packages for blender bundled python
To get BlenderCAM to run, you need shapely and numpy. To get BlenderCAM to run, you need shapely and numpy.
At least in macOS, blender comes with a bundled python version. At least in macOS, blender comes with a bundled python version.
The packages need to be installed in the bundled site_packages, The packages need to be installed in the bundled site_packages,
but since the bundled python doesn't provide pip, you need to but since the bundled python doesn't provide pip, you need to
install it manually. install it manually.
# Installing pip, then shapely and numpy ## Installing pip, then shapely and numpy
```bash ```bash
cd /Applications/Blender.app/Contents/Resources/2.78/python cd /Applications/Blender.app/Contents/Resources/2.78/python
wget https://bootstrap.pypa.io/get-pip.py wget https://bootstrap.pypa.io/get-pip.py
@ -12,7 +13,7 @@ wget https://bootstrap.pypa.io/get-pip.py
./bin/python3.5m bin/pip3 install shapely numpy ./bin/python3.5m bin/pip3 install shapely numpy
``` ```
# References ## References
- [BlenderCAM](https://github.com/vilemduha/blendercam/wiki/Using-Blendercam-from-github) - [BlenderCAM](https://github.com/vilemduha/blendercam/wiki/Using-Blendercam-from-github)
- [Using pip in blenders bundled python](https://blender.stackexchange.com/a/56013) - [Using pip in blenders bundled python](https://blender.stackexchange.com/a/56013)
- [Manually install pip](https://packaging.python.org/tutorials/installing-packages/#install-pip-setuptools-and-wheel) - [Manually install pip](https://packaging.python.org/tutorials/installing-packages/#install-pip-setuptools-and-wheel)