轉自csdn
我在cmd中運作: pip install wheel時出現如下的問題 :
解決辦法如下:
**在Python目錄 Python27\Lib\site-packages 建一個檔案sitecustomize.py
裡面的内容是:**
1
2
然後重新執行指令:pip install wheel
但是有可能你還會出現這樣的問題:
那麼将sitecustomize.py 的内容改成如下所示:
然後再次執行指令:pip install wheel
成功了!
附上參考連結:
http://stackoverflow.com/questions/10561923/unicodedecodeerror-ascii-codec-cant-decode-byte-0xef-in-position-1
https://www.v2ex.com/t/90659
http://www.crifan.com/summary_python_unicodedecode_error_possible_reasons_and_solutions/
<dl></dl>
<dt>頂</dt>
<dd>0</dd>
<dl><dt>踩</dt></dl>
微信公衆号【黃小斜】大廠程式員,網際網路行業新知,終身學習踐行者。關注後回複「Java」、「Python」、「C++」、「大資料」、「機器學習」、「算法」、「AI」、「Android」、「前端」、「iOS」、「考研」、「BAT」、「校招」、「筆試」、「面試」、「面經」、「計算機基礎」、「LeetCode」 等關鍵字可以擷取對應的免費學習資料。
