下面一起來看看python怎么安裝numpy庫這個模塊的教程。
文章源自四五設計網-http://www.wasochina.com/40208.html
使用命令提示符
首先按鍵盤上的“Win + R”鍵。文章源自四五設計網-http://www.wasochina.com/40208.html
文章源自四五設計網-http://www.wasochina.com/40208.html
在彈出的運行窗口中輸入cmd,輸入完成后點擊回車鍵。文章源自四五設計網-http://www.wasochina.com/40208.html
文章源自四五設計網-http://www.wasochina.com/40208.html
在彈出的命令提示符窗口中輸入命令:pip install numpy,然后按回車鍵,這樣就會安裝numpy了。文章源自四五設計網-http://www.wasochina.com/40208.html
文章源自四五設計網-http://www.wasochina.com/40208.html
然后再輸入python,輸入完成后按回車鍵,這樣就能進入python。文章源自四五設計網-http://www.wasochina.com/40208.html
文章源自四五設計網-http://www.wasochina.com/40208.html
然后輸入代碼:import numpy as np,然后按回車鍵,如果沒有報錯就代表安裝成功了。文章源自四五設計網-http://www.wasochina.com/40208.html
我的微信
微信掃一掃

我的微信
惠生活福利社
微信掃一掃

我的公眾號
評論