python-pip 安裝使用問題

python-pip 安裝使用問題 原因是pip安裝python包會加載我的用戶目錄,我的用戶目錄恰好是中文的,ascii不能編碼。解決辦法是: python目錄 Python27\Lib\site-packages 建一個文件sitecustomize.py  內容寫:  import sys  sys.setdefaultencoding('gb2312') posted @ 2018-03-
相關文章
相關標籤/搜索