Multifunction DAQ

Showing results for 
Search instead for 
Did you mean: 

Nidaqmx does not work in Python IDLE

Go to solution



I'm following the instruction on this page to read signals with a NI USB 4432.


I installed the NI DAQmx python API with

$ python -m pip install nidaqmx

If I try it again, it returns:Captura_powerShell.JPG

But if I try, on the Python IDLE SHELL, to import nidaqmx with

>>> import nidaqmx

I receive the this error message:

Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
import nidaqmx
ModuleNotFoundError: No module named 'nidaqmx'


In Spyder, it works normally, but I need to use it with the Python IDLE.

My Python version is 3.9.2.


Could someone help me? What should I do to NI DAQmx works with Python IDLE?


Thank you!

0 Kudos
Message 1 of 2
Accepted by topic author A.Melchiors

Looks like nidaqmx package was installed in your Anaconda environment and not in your IDLE environment.


Please change your PATH variable to point to the Python IDLE folder instead of anaconda.

Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 2