1
我搜索&嘗試安裝easygui的方法很多,但儘管如此,當我輸入easygui,蟒蛇提醒我如何在Macbook Pro(macOS Sierra)上安裝easygui?
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import easygui
File "easygui.py", line 1
SyntaxError: Non-ASCII character '\xff' in file easygui.py on line 2, but no
encoding declared; see http://python.org/dev/peps/pep-0263/ for details
所以,我應該怎麼辦呢?如何在我的Mac上安裝easygui?
------我如何安裝它-------
S1打開了終端
S2 Type在PIP安裝easygui
S3終端返回的消息:
localhost:~ Fannn$ pip install easygui
Collecting easygui
Downloading easygui-0.98.1-py2.py3-none-any.whl (90kB)
100% |████████████████████████████████| 92kB 13kB/s
Installing collected packages: easygui
Successfully installed easygui-0.98.1
localhost:~ Fannn$