下面一起來看看python怎么安裝matplotlib。
首先打開Pycharm。文章源自四五設計網-http://www.wasochina.com/33905.html
文章源自四五設計網-http://www.wasochina.com/33905.html
打開后點擊File。文章源自四五設計網-http://www.wasochina.com/33905.html
文章源自四五設計網-http://www.wasochina.com/33905.html
在彈出的對話框中點擊Settings。文章源自四五設計網-http://www.wasochina.com/33905.html
文章源自四五設計網-http://www.wasochina.com/33905.html
在彈出的窗口中點擊Project:py,在點擊Python Interpreter。文章源自四五設計網-http://www.wasochina.com/33905.html
文章源自四五設計網-http://www.wasochina.com/33905.html
然后點擊加號。文章源自四五設計網-http://www.wasochina.com/33905.html
文章源自四五設計網-http://www.wasochina.com/33905.html
在搜索框中輸入matplotlib。
找到matplotlib后點擊下面的Install Package。
安裝完成后輸入import matplotlib,并點擊右上角的運行按鈕。
運行后如果沒有報錯就代表matplotlib安裝成功了。
我的微信
微信掃一掃

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

我的公眾號
評論