Start a new topic

Use Numpy within Vortex Editor

Dear all,


I have a question regarding the external distribution of Python using in Vortex. I tried to use the module numpy within Python, but did not succeed to use it. In Anaconda I can use the Numpy module but in Vortex not.

 

The version of Python I use within Vortex is: 2.7.13 |Anaconda custom (64-bit)| (default, Sep 30 2017, 11:12:42) [MSC v.1500 64 bit (AMD64)]

 

The error I get in Vortex:

Traceback (most recent call last):

File "<string>", line 22, in <module>

File "c:\ProgramData\Anaconda2\Lib\site-packages\numpy\__init__.py", line 142, in <module>

from . import add_newdocs

File "c:\ProgramData\Anaconda2\Lib\site-packages\numpy\add_newdocs.py", line 13, in <module>

from numpy.lib import add_newdoc

File "c:\ProgramData\Anaconda2\Lib\site-packages\numpy\lib\__init__.py", line 8, in <module>

from .type_check import *

File "c:\ProgramData\Anaconda2\Lib\site-packages\numpy\lib\type_check.py", line 11, in <module>

import numpy.core.numeric as _nx

File "c:\ProgramData\Anaconda2\Lib\site-packages\numpy\core\__init__.py", line 26, in <module>

raise ImportError(msg)

 

ImportError:

Importing the multiarray numpy extension module failed. Most

likely you are trying to import a failed build of numpy.

If you're working with a numpy git repo, try `git clean -xdf` (removes all

files not under version control). Otherwise reinstall numpy.

Original error was: DLL load failed: The specified module could not be found.

 

So the numpy module is found by Vortex, but I still get the above error.

 

Can you help me finding a solution for this problem?

 

Regards,

Jauke van den Brink

1 Comment

Hi Jauke,


Here is some information for using Python with Vortex Studio:

https://www.cm-labs.com/vortexstudiodocumentation/Vortex_User_Documentation/Content/VortexStudioSDK/SDK_pything_scripting.html#Python_Usage


For your case:

Vortex 2018a should work with Anaconda 4.3.0.1, so Python 2.7.13 and numpy 1.11.3.


See also here:

https://docs.anaconda.com/anaconda/release-notes#id15


Cheers,

Daniel



Login to post a comment