2

I have some IronPython code which runs fine from within Visual Studio. It uses numpy. However when I compile it with pyc it compiles successfully BUT when I run it I get a "No module named numpy" error.

I've tried copying various DLLs from the IronPython DLLs directory (basically all the numpy ones) but I still get the error.

I've tried Google but no success, so any help much appreciated.

I'm running IronPython version 2.7.1 on Windows 7.

1
  • Can you show your call to pyc and your import statements from your code? I bet you are not adding the DLL's correctly with pyc and your import statements are taking advantage of visual studio default search paths.
    – WombatPM
    Commented Jan 24, 2012 at 13:46

1 Answer 1

-1

Try Enthought's NumPy implementation:

http://www.enthought.com/repo/.iron/

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.