在ubuntu 16.04 server版上安装pip、pip3、ipython2和ipython3
具体步骤如下:
wangpeng@ubuntu:~$sudoaptinstallpython3-pip wangpeng@ubuntu:~$sudoaptinstallpython-pip wangpeng@ubuntu:~$sudopip3installipython wangpeng@ubuntu:~$wgethttps://pypi.python.org/packages/f7/48/5702699caf20208d61a92157c01d1eb281093e3e02e9bcd4b5031ccea6a1/ipython-5.4.1-py2-none-any.whl#md5=2b801f50b5e82a3fabca42b661568bf5 wangpeng@ubuntu:~$sudopipinstallipython-5.4.1-py2-none-any.whl wangpeng@ubuntu:~$ipython2 Python2.7.12(default,Nov192016,06:48:10) Type"copyright","credits"or"license"formoreinformation. IPython5.4.1--AnenhancedInteractivePython. ?->IntroductionandoverviewofIPython'sfeatures. %quickref->Quickreference. help->Python'sownhelpsystem. object?->Detailsabout'object',use'object??'forextradetails. In[1]: wangpeng@ubuntu:~$ipython3 Python3.5.2(default,Nov172016,17:05:23) Type'copyright','credits'or'license'formoreinformation IPython6.1.0--AnenhancedInteractivePython.Type'?'forhelp. In[1]:原文链接:https://www.f2er.com/ubuntu/351395.html