ArduPilot / ArduPilot/MissionPlanner

Mission Planner v1.3.41 script import numpy error

Open
#1,391 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

I'm getting the following error when trying to use the numpy library in a simple practice script.
"Error running script cannot import multiarray from numpy.core"

Here are the basics of my setup:
OS: Windows 7 Pro (64-bit)
Mission Planner v 1.3.41
Python 2.7 (32-bit) install
numpy (32-bit) install for windows Python 2.7 installed with pip, no errors.

My simple practice script is below:

import sys
sys.path.append(r"c:\Python27\Lib\site-packages")
sys.path.append(r"c:\Python27\Lib")
import numpy as np
a = np.array([1,2])

Any suggestions?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the import in Mission Planner v1.3.41 using the listed Windows 7, 32-bit Python 2.7, and NumPy setup, then run the provided practice script. Done means the script imports NumPy and creates the array without the multiarray error.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.