Articles

Go BACK
Getting Started
Geometry
Water
Scatter
Materials
Utilities

Install Numpy

Problem

For some reason Blender doesn't always have access to the numpy python library on the various Linux distributions. Not sure if it just comes default on python libraries for main OS's or what. When installing TrueTERRAIN (and many other addons) this error will popup.

Solution

First, ensure you have the most up to date version of Blender (or at least up to date version of the LTS).

We would recommend starting Blender from the terminal in order to see any issues along the way.

Next open up Blender and set an area to the Text Editor

Paste the following script into said text editor
```py
import sys
import subprocess

exe = sys.executable
subprocess.call([exe, "-m", "ensurepip"])
subprocess.call([exe, "-m", "pip", "install", "--upgrade", "pip", "setuptools", "wheel"])
test = subprocess.call([exe, "-m", "pip", "install", "--user", "--upgrade", "numpy"])

if test == 0:
   print("Success")
else:
   print("Failure: Check terminal to know why")
```
And hit the "Run" button (or ALT + P alternatively)

In the terminal you can watch it install numpy and see if any errors occur

No items found.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

CODE BLOCK

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

No items found.
This is some text inside of a div block.
Created:
February 12, 2025
updated:
February 12, 2025

True-VFX

Author |
Zach @ True-VFX
No items found.

Table of Contents

Sub-Headings
Time To read:
I am Time To read
Mins