Issue 38 in pylibnidaqmx: msvccompiler in numpy.distutils

10 views
Skip to first unread message

pylibn...@googlecode.com

unread,
Nov 25, 2013, 5:05:16 PM11/25/13
to pylibnida...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 38 by yeghishe...@gmail.com: msvccompiler in numpy.distutils
http://code.google.com/p/pylibnidaqmx/issues/detail?id=38

While installing nidaqmx the following error occurred at the end of the
installation:

"No module names msvccompiler in numpy.distutils; trying from distutils
customize MSVCCompiler"

The list of modules in Python shows that "nidaqmx_h_9_6"
and "nidaqmx_h_9_7" are available. However, trying to execute "from nidaqmx
import System" gave the following error:

File "<pyshell#11>", line 1, in <module>
from nidaqmx_h_9_7 import System
ImportError: cannot import name System

I am working on Windows 7 64-bit.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

pylibn...@googlecode.com

unread,
Nov 26, 2013, 2:33:32 AM11/26/13
to pylibnida...@googlegroups.com

Comment #1 on issue 38 by pearu.peterson: msvccompiler in numpy.distutils
http://code.google.com/p/pylibnidaqmx/issues/detail?id=38

The message "No module names msvccompiler in num..." is not an error
message.

You should use:

from nidaqmx import System

pylibn...@googlecode.com

unread,
Nov 26, 2013, 12:16:49 PM11/26/13
to pylibnida...@googlegroups.com

Comment #2 on issue 38 by yeghishe...@gmail.com: msvccompiler in
numpy.distutils
http://code.google.com/p/pylibnidaqmx/issues/detail?id=38

The command "from nidaqmx import System" gives the following message in
Python:

Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
from nidaqmx import System
ImportError: No module named nidaqmx

while "from nidaqmx_h_9_7 import System" gives the error message:

Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
from nidaqmx_h_9_7 import System
ImportError: cannot import name System

pylibn...@googlecode.com

unread,
Nov 26, 2013, 12:50:02 PM11/26/13
to pylibnida...@googlegroups.com

Comment #3 on issue 38 by pearu.peterson: msvccompiler in numpy.distutils
http://code.google.com/p/pylibnidaqmx/issues/detail?id=38

I suspect that you are trying to import inside nidaqmx directory.
Make sure that nidaqmx package is installed in the location listed in
sys.path and try importing nidaqmx from different directory.
Reply all
Reply to author
Forward
0 new messages