Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Error importing netCDF4 in Python tool

Hadzramin_Rahman
8 - Asteroid

Hi,

I got the error below when importing below. What could be the issue? 

import netCDF4 as nc

---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
__init__.pxd in numpy.import_array()

RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd

During handling of the above exception, another exception occurred:

ImportError Traceback (most recent call last)
<ipython-input-7-a337b4dd8005> in <module>
1 import numpy as np
----> 2 import netCDF4 as nc

c:\users\user\appdata\local\alteryx\bin\miniconda3\envs\designerbasetools_venv\lib\site-packages\netCDF4\__init__.py in <module>
30 # init for netCDF4. package
31 # Docstring comes from extension module _netCDF4.
---> 32 from ._netCDF4 import *
33 # Need explicit imports for names beginning with underscores
34 from ._netCDF4 import __doc__

src\netCDF4\_netCDF4.pyx in init netCDF4._netCDF4()

__init__.pxd in numpy.import_array()

ImportError: numpy.core.multiarray failed to import

0 REPLIES 0
Labels