Linked Questions

4
votes
2answers
9k views

no module called numpy [duplicate]

I hit Shift+F4 to get the Blender Python console. ...
2
votes
1answer
2k views

How to access to Scipy.special functions within the script window [duplicate]

I would like to access the special functions in Scipy in the scripting window. I have looked at this and this and @polosson's answer in the first one suggests three possible ways to install a module ...
1
vote
1answer
1k views

How do I install Pillow and/or Pip in Blender Python in Windows OS [duplicate]

Folks, I've spent the last couple of days reviewing all the info on this and am getting nowhere fast. The most recent information I've found is about two years old, so I'm HOPING that things have ...
4
votes
1answer
292 views

How to make use of custom external Python modules in Blender or an add-on on Linux [duplicate]

The path for the Python executable used in Blender (up to 2.79) is not configurable. I looked around and did not find a consistent way to be able to use custom 3rd party Python modules without ...
0
votes
0answers
417 views

How to add matplotlib from python3.6 to Blender? [duplicate]

In Window, I installed python3.6 and, installed matplotlib by commandline: pip install matplotlib After installation, I was running matplotlib in python console, ...
3
votes
0answers
244 views

How to write a YAML file with a Blender Python script [duplicate]

I need to write a script that runs on Blender (2.72) and writes a YAML file containing the results. In normal python I would use PyYAML and write something like: <...
0
votes
0answers
87 views

Need easy method to make SciPy available in my scripts [duplicate]

Thanks for taking notice, but in my original question I stated (I have put the operative part in bold font): "I would like to use SciPy special functions in Blender scripts, e.g: ...
1
vote
1answer
45 views

Python script unable to import modules [duplicate]

I'm trying to follow the scripts from the book The Blender Python API by Chris Conlan, and I've been unable to import modules in Python from Blender (2.81) on osx 10.15.2. What file structure / ...
27
votes
4answers
16k views

How to install Pip for Blender's bundled Python?

Blender comes with Python, and includes a stand-alone Python executable. However pip is not part of the official Python distribution so it needs to be added separately. How do you setup ...
11
votes
2answers
6k views

Install Python module for Blender

I'd like to install some python modules which need to be compiled and use them in Blender. Usually I'd pip install them but that doesn't seem to be a possibility for Blender. I tried copying sys.path ...
7
votes
2answers
9k views

Blender won't import my custom module, ImportError: No module named mymodule

My addon is in /home/usr/.config/blender/2.68/scripts/addons/foldername, has an __init__.py and cannot somehow import parts, ...
4
votes
2answers
3k views

How to use the PIP library in Blender

I just got started with Blender and my main interest is to use code to generate 3D images. I like what I see, but I do not like the fact that I cannot just use any library I want. Usually, when ...
5
votes
1answer
3k views

Using Anaconda Python 3 in Blender Winx64

I have been in the hope of finding a way to use awesome Anaconda Python in Blender in Windows 7 x64, as I was inspired by several articles including the one described here on why using Anaconda is ...
7
votes
3answers
638 views

Can you animate objects using differential equations?

I am looking for a software to animate biological processes based on differential equations, and I was wondering if Blender would work for something like this.
0
votes
1answer
3k views

Python module installation does not work

For some of my python scrips i need additional modules like pytables. I followed the instructions here, but nothing worked for me: first I set the PATH and ...
9
votes
1answer
829 views

Procedural volumetric texture generated from a script

I need to render a 3D density plot of custom mathematical functions as part of a scientific visualization. I've seen some demos and it seems that Blender is capable of volumetric rendering. My ...
6
votes
2answers
276 views

How to write my add-on so that when installed it also installs dependencies (let's say: scipy or numpy-quaternion)?

How to write my add-on so that when installed it also installs dependencies (let's say: scipy or numpy-quaternion)? Does blender understand setuptools (setup.py)? Thanks, Note: I'm using blender 2....
2
votes
1answer
2k views

How to install matplotlib for use in Blender 2.79?

Mac OSX 10.11.6 Blender 2.79 CellBlender 1.1 MCell 3.4 I recently installed Blender, CellBlender and Mcell as described here: http://mcell.org/tutorials/install_cellblender.html http://mcell....
3
votes
3answers
1k views

bpy and PIL / Pillow crash

I posted this on BA but I'm posting it here as well. I'm looking into manipulating images with Pillow in custom node trees. If I install Pillow and copy the PIL directory from C:\Python34\Lib\site-...
4
votes
4answers
1k views

Installing a Python module in Blender's Python API

(This is related to this post) I would like to add a module to Blender's Python (Blender v2.76). I want to follow the solution outlined in the link above, but my Blender directory does not have a 2....
8
votes
1answer
2k views

How to follow a path by curve points rather than length?

I am trying to visualise some physics simulations in Blender. The simulation result is a path that an object travels over time. I am importing the collection of points as a curve into Blender using a ...
2
votes
2answers
1k views

Python: Obtaining Object Contour Pixels

I would like to obtain the pixel coordinates of an object's outline in the currently-rendered scene, using the bpy module. I found this, which is related, but I'm still not sure how to do it. Has ...
1
vote
0answers
2k views

Importing Scipy: “cannot import name oldnumeric”

I have Blender 2.69 for Linux 64bit (using Ubuntu 13.10). I followed the method detailed by @BNewmark to get SciPy working with Blender. I already had SciPy (version 0.13.2) for Python 3 installed ...
2
votes
1answer
595 views

Blender + Pyside or PyQt4

Has Blender implemented a python interface API yet? So when developing floating tools users can create a tool interface using pyside of pyqt? This is critical to have when planning for pipeline tool ...
1
vote
1answer
712 views

How can I use this Python module in Blender?

I know this question has been asked before (for instance, here: Using 3rd party Python modules), but The answers aren't getting me where I need to be. I'm not an expert, so I might need a little more ...
1
vote
1answer
740 views

How would one go about creating a genetic algorithm and/or neural network for blender?

Where would I need to start? I am just about able to code genetic algorithms and neural networks using Python, C# etc so that is not primarily the problem. Is it just a case of importing modules ...
0
votes
1answer
707 views

Properly Installing Pillow

I have a project I need Pillow for. Is there a way to install it into blender 2.77a? The pillow windows installer just finds a python version if I install one seperatly. If I can not install "pillow" ...
3
votes
2answers
347 views

Install external package in Blender (python websockets)

I'm working on a script that processes some data coming from a web application running on a phone. The web application, written in javascript, sends data to the "blender python server" using ...
0
votes
0answers
734 views

How to change the python version in blender [duplicate]

I'm using Blender 2.71 and it comes with Python 3.4.0 even though the most recent version is 3.4.1. Is there any way to change this?
1
vote
1answer
407 views

blenderplayer and 3rd party libraries

Blender player is a nice way to create stand alone .blend files that can be distributed to other people. However, for most interesting programming, one would use in python libraries such as numpy, ...

15 30 50 per page