2

I have installed an IronPython tools for VS2010 and all works fine. But if i try to use an 'import' statement outside 'hello world', for example:

import email

Iron python will fail to debug with error message like 'cannot import mime from email'. Any hints how to avoid such errors or ironpython tools for vs2010 currently can't hand any 'include' outside 'os'/'sys'?

1 Answer 1

2

I haven't tried IronPython tools for VS2010 but I guess your sys.path does not include path to the email module. Check there are email and email.mime modules and if not, add the path to them into `sys.path' manually.

Sign up to request clarification or add additional context in comments.

Comments

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.