給指定Python版本安裝指定版本庫的辦法
阿新 • • 發佈:2018-11-14
pip3.5 tensorflow==1.4
給Python3.5裝TF1.4版本庫
pip3.7 numpy
給Python3.7裝numpy庫
直接呼叫pip3.5安裝庫 appledeMBP:~ apple$ pip3.5 install numpy Requirement already satisfied: numpy in /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages (1.15.4) 直接呼叫pip3.5刪除 appledeMBP:~ apple$ pip3.5 uninstall numpy Uninstalling numpy-1.15.4: Would remove: /Library/Frameworks/Python.framework/Versions/3.5/bin/f2py /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy-1.15.4.dist-info/* /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/* Proceed (y/n)? y Successfully uninstalled numpy-1.15.4 appledeMBP:~ apple$
認識你是我們的緣分,同學,等等,學習人工智慧,記得關注我。
微信掃一掃
關注該公眾號
《灣區人工智慧》