Skip to content

Commit 3be52b4

Browse files
committed
Python:补充Windows上失败的解决方法
1 parent a55605c commit 3be52b4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

APIJSON-Python/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@
1616
cd D:\Downloads\APIJSON-master\APIJSON-Python
1717
python test.py
1818

19+
如果失败,一般是因为 "python 不是内部或外部命令",则执行:
20+
set PATH=%PATH%;C:\Python27
21+
其中,Python27对应2.7版,如果是其它版本请修改下数字,例如3.6版就改为Python36。
22+
23+
然后重新执行:
24+
python test.py
25+
1926
#### Linux 或 Mac OS
2027

2128
假设解压路径为 /Users/Tommy/Downloads

0 commit comments

Comments
 (0)