Revision history [back]
Using extra info in the email you sent to support@wingware.com I see that the problem is that your script is named pfp.py and the import is finding that first on the Python Path and importing that instead of the real pfp package installed by pip.
This is probably because you have '' or '.' on the Python Path inside Wing and not outside of Wing, or you have the actual path to the directory where your pfp.py is located on the Python Path in Wing.
You can alter this in the Python Path setting in Project Properties. Or, just rename your script since this is a general issue that could reoccur in other environments and cause confusion.
Using extra info in the email you sent to support@wingware.com I see that the problem is that your script is named pfp.py and the import is finding that first on the Python Path and importing that instead of the real pfp package installed by pip.
This pip.This is probably because you have '' or '.' on the Python Path inside Wing and not outside of Wing, or you have the actual path to the directory where your pfp.py is located on the Python Path in Wing.
You Wing.You can alter this in the Python Path setting in Project Properties. Or, just rename your script since this is a general issue that could reoccur in other environments and cause confusion.