我試圖用virtualenvwrapper在CentOS 7上使用pip來設置virtualenv,並且我得到一個UnicodeDecode錯誤。virtualenvwrapper CentOS7
具體步驟:
- 安裝CentOS7
- 通過get-pip.py
- sudo的PIP畫中畫安裝安裝的virtualenv
- 須藤PIP安裝virtualenvwrapper
- 出口WORKON_HOME = $ HOME /。 virtualenvs
- source /usr/local/bin/virtualenvwrapper.sh
當我運行mkvirtualenv test
我得到
New python executable in test/bin/python
Traceback (most recent call last):
File "<string>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 11 ordinal not in range(128)
ERROR: The executable Blog/bin/python is not functioning
ERROR: It thinks sys.prefix is u'/home/blaw/\xac./virtualenvs' (should be u'/home/blaw/\xac./virtualenvs/Blog')
ERROR: virtualenv is not compatible with this system or executable
我在做什麼錯?
你可以使用'env'打印你的環境並查找任何沒有ASCII字符? –