1
當我創建使用python3.5
一個新的virtualenv,它將使用Python 3.5.2
如預期的virtualenv,但是缺少pip
:PIP從Python中失蹤VENV
[email protected]:~$ pi<TAB COMPLETION>
pi1toppm pilconvert pinentry ping6
pi3topbm pildriver pinentry-curses pinky
pic pilfile pinentry-gnome3 pip3.6
piconv pilfont pinentry-x11 pivot_root
pidof pilprint ping pixeltool
[email protected]:~$ python3.5 -m venv myvenv
[email protected]:~$ source myvenv/bin/activate
(myvenv) [email protected]:~$ pi<TAB COMPLETION>
pi1toppm pilconvert pinentry ping6
pi3topbm pildriver pinentry-curses pinky
pic pilfile pinentry-gnome3 pip3.6
piconv pilfont pinentry-x11 pivot_root
pidof pilprint ping pixeltool
(myvenv) [email protected]:~$ python
Python 3.5.2 (default, Dec 28 2016, 10:08:00)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
(myvenv) [email protected]:~$
這是怎麼回事?不應該有一個pip
二進制文件?
它不存在,但我記得前幾天嘗試瞭解它是如何工作的,所以也許我搞砸了某些東西,但不知道。我會閱讀你的鏈接,並試圖弄清楚,謝謝! – jpmelos