国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > Python > 正文

詳解windows python3.7安裝numpy問題的解決方法

2020-01-04 14:56:27
字體:
來源:轉載
供稿:網友

我的是win7的系統,去python官網下載python3.7安裝

CMD  #打開命令窗口

pip install numpy #在cmd中輸入

提示 需要c++14.0,

解決辦法:

1, 進入https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud

我的是win10的系統,去python官網下載python3.7安裝

CMD  #打開命令窗口

pip install numpy #在cmd中輸入

提示 需要c++14.0,

解決辦法:

1, 進入https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud

windows,python3.7,numpy,安裝

根據我的電腦和安裝的python我下載最后一個,保存在python目錄下,隨后cmd進入該目錄,

輸入pip install numpy?1.14.1+mkl?cp37?cp37m?win_amd64.whl   即可

C:/Users/12345/AppData/Local/Programs/Python/Python37/Scripts>pip install numpy-1.14.3+mkl-cp37-cp37m-win_amd64.whl Processing c:/users/12345/appdata/local/programs/python/python37/scripts/numpy-1.14.3+mkl-cp37-cp37m-win_amd64.whl Installing collected packages: numpy Successfully installed numpy-1.14.3+mkl

  同樣的 安裝pandas 的方法也是一樣的

下載后 復制到/Users/12345/AppData/Local/Programs/Python/Python37/Scripts>

pip install pandas-0.23.0-cp37-cp37m-win_amd64.whl

安裝圖形界面seaborn 也一樣

pip install seaborn-0.8.1-py2.py3-none-any.whl

但是安裝matplotlib遇到了 error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

解決方法是下載

http://1445568.ch1.data.tv002.com:443/down/fd9282f666dce22ef8848171236f456a-3287928/visualcppbuildtools_full.exe?cts=f-D120A234A24A43F105e1&ctp=120A234A24A43&ctt=1528324956&limit=1&spd=150000&ctk=17728aba100ad4e1159d27227523f6da&chk=fd9282f666dce22ef8848171236f456a-3287928&mtd=1

下載完成后重新pip install matplotlib-2.2.2-cp37-cp37m-win_amd64.whl

C:/Users/12345/AppData/Local/Programs/Python/Python37/Scripts>pip install matplotlib-2.2.2-cp37-cp37m-win_amd64.whlProcessing c:/users/12345/appdata/local/programs/python/python37/scripts/matplotlib-2.2.2-cp37-cp37m-win_amd64.whlRequirement already satisfied: six>=1.10 in c:/users/12345/appdata/local/programs/python/python37/lib/site-packages (from matplotlib==2.2.2) (1.11.0)Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in c:/users/12345/appdata/local/programs/python/python37/lib/site-packages (from matplotlib==2.2.2) (2.2.0)Requirement already satisfied: pytz in c:/users/12345/appdata/local/programs/python/python37/lib/site-packages (from matplotlib==2.2.2) (2018.4)Requirement already satisfied: python-dateutil>=2.1 in c:/users/12345/appdata/local/programs/python/python37/lib/site-packages (from matplotlib==2.2.2) (2.7.3)Requirement already satisfied: cycler>=0.10 in c:/users/12345/appdata/local/programs/python/python37/lib/site-packages (from matplotlib==2.2.2) (0.10.0)Collecting kiwisolver>=1.0.1 (from matplotlib==2.2.2) Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001AEFF3E5F60>, 'Connection to 10.180.28.148 timed out. (connect timeout=15)')': /simple/kiwisolver/ Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001AEFF3E5B38>, 'Connection to 10.180.28.148 timed out. (connect timeout=15)')': /simple/kiwisolver/ Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001AEFF3E59E8>, 'Connection to 10.180.28.148 timed out. (connect timeout=15)')': /simple/kiwisolver/ Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001AEFF407B70>, 'Connection to 10.180.28.148 timed out. (connect timeout=15)')': /simple/kiwisolver/ Using cached https://files.pythonhosted.org/packages/31/60/494fcce70d60a598c32ee00e71542e52e27c978e5f8219fae0d4ac6e2864/kiwisolver-1.0.1.tar.gzRequirement already satisfied: numpy>=1.7.1 in c:/users/12345/appdata/local/programs/python/python37/lib/site-packages (from matplotlib==2.2.2) (1.14.3+mkl)Requirement already satisfied: setuptools in c:/users/12345/appdata/local/programs/python/python37/lib/site-packages (from kiwisolver>=1.0.1->matplotlib==2.2.2) (39.0.1)Installing collected packages: kiwisolver, matplotlib Running setup.py install for kiwisolver ... doneSuccessfully installed kiwisolver-1.0.1 matplotlib-2.2.2

以上就是本文的全部內容,希望對大家的學習有所幫助,也希望大家多多支持VEVB武林網。


注:相關教程知識閱讀請移步到python教程頻道。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 湘西| 应城市| 涪陵区| 贞丰县| 石渠县| 永安市| 五峰| 祁阳县| 平顺县| 安阳县| 辛集市| 集贤县| 濉溪县| 德安县| 綦江县| 远安县| 蓬安县| 竹山县| 天长市| 鹿泉市| 望江县| 壤塘县| 额尔古纳市| 铜川市| 黔西县| 家居| 宁武县| 聊城市| 定边县| 永平县| 阿瓦提县| 炎陵县| 永兴县| 龙江县| 建水县| 南召县| 潞城市| 南平市| 富民县| 渑池县| 扎兰屯市|