LookupError: unknown encoding: idna - only from subprocess.call
I'm trying to invoke a Python 2.7 script from an IronPython one using subprocess.call. the invoked process uses imports that are not supported in IronPython like scikit-learn and requests. Currently I'm trying to invoke the python 2.7 script using this comand: sub_ret_val = subprocess.call("C:/Documents and Settings/avishay/workspace/BursaProject_V1_31/brainManager_toFile.py", shell = True, stderr = subprocess.STDOUT) but I'm getting: LookupError: unknown encoding: idna This script works fine if I run it from the Windows shell, or from eclipse pydev environment. what is the difference between
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.