Linked Questions

4
votes
2answers
9k views

no module called numpy [duplicate]

I hit Shift+F4 to get the Blender Python console. ...
1
vote
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
897 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
191 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
380 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
221 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
86 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: ...
25
votes
4answers
14k 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
5k 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
8k 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
540 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
648 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 ...
3
votes
3answers
998 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-...
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....
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 ...
4
votes
4answers
896 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....
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 ...
5
votes
2answers
137 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....
1
vote
0answers
1k 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 ...
1
vote
1answer
703 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 ...
0
votes
1answer
702 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 ...
2
votes
1answer
537 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 ...
0
votes
1answer
666 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" ...
0
votes
0answers
684 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
362 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, ...
1
vote
1answer
280 views

How Can Data Sets Be Pulled From Database into Text Objects or As Parameters for Other Objects

I would like to build animations based on 2 scenarios that pull data into Blender from SQLite, MongoDB or MySQL database. One scenario where a bit of text data would become a simple text object ...
3
votes
2answers
277 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 ...

15 30 50 per page