python IOError: windows directory not found at xxxxx win32

您需要修改 PATH 环境变量,将Python的可执行程序及额外的脚本添加到系统路径中。将以下路径添加到 PATH 中:

C:Python2.7;C:Python2.7Scripts;
请打开命令行,并且运行以下命令来修改 PATH:

c:python27python.exe c:python27 oolsscriptswin_add2path.py
关闭并重新打开命令行窗口,使之生效。

just do it.

原文地址:https://www.cnblogs.com/sevck/p/7680134.html