Python3.6 模块安装记录

Python 3.6 模块安装“error: Microsoft Visual C++ 14.0 is required...”时出错的解决办法 环境:Python3.6,Pycharm2017.2.3,Windows 10 RS2 错误情况今天在学习词云的时候,需要安装wordcloud包,但是按照pip管理工具直接通过包名进行安装却出错,报错情况如下: 然后根据报错情况中的提示,我以为是系统组件缺少的原因:error: Microsoft Visual C++ 14.0 is required. Get it with "Microso 阅读详情

“error: Microsoft Visual C++ 14.0 is required…”问题解决

今天在Python 3.6环境中,制作词云,需要安装wordcloud模块,在安装的过程中遇到了“error: Microsoft Visual C++ 14.0 is required…” 的问题,很是烦恼,最后找到了一个解决办法:

这里写图片描述

常规的安装模块包都是通过:

pip install xxx
conda install xxx
github下载并解压:
wget https://github.com/amueller/word_cloud/archive/master.zip
unzip master.zip
rm master.zip
cd word_cloud-master
安装依赖包:
sudo pip install -r requirements.txt
安装wordcloud
python setup.py install

方法一二都尝试了,都失败。方法三建立连接失败。于是还是按照方法三的思想,到 http://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud 页面下载所需的wordcloud模块的whl文件,下载后进入存储该文件的路径,按照方法一,执行“pip install wordcloud-1.2.1-cp36-cp36m-win_amd64.whl”,这样就会安装成功。

安装python3.7.6小记 1、在https://www.python.org/python官网下载python-3.7.6-amd64.exe文件,并在win10 下自定义安装成功,勾选对所有用户以及增加python3.7路径,勾选安装pip 。 在命令提示符里输入python,验证安装版本。 D:\数据分析>python Python 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 1... 阅读详情

相关推荐

安装paramiko模块填坑过程记录

一、问题背景最近使用Python的SSH,如果用python实现远程拷贝服务器上面的文件,或者对远程服务器进行相关操作的话,使用python的paramiko模块可以很好的解决以上问题。但是该模块需要在本地安装相应的软件(python、PyCrypto、ecdsa,VS),对远程服务器没有配置要求,对于连接多台服务器,进行复杂的连接操作特别有帮助。但是,python实现OpenSSH依赖于para...

byf0521hlyp的博客 3075

python运行时 报vc++未安装错误

错误描述: 在从源代码安装Python模块时遇到此错误。可是我明明从官网下载并安装了Microsoft Visual C++ Compiler Package for Python3.6,且配置了环境变量path。 错误原因: 报这个错误的原因是Python的distutils模块中的msvc9compiler.py并不从环境变量指定的路径中寻找vcvarsall.bat,而是通过注册表来寻找…...

qq_44714134的博客 726

Microsoft Visual C++ Compiler Package for Python(适用python2.7和3.6)

解决安装python第三方包是的错误error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

Python 3.6 模块安装“error: Microsoft Visual C++ 14.0 is required...”问题解决

今天在Python 3.6环境中,制作词云,需要安装wordcloud模块,在安装的过程中遇到了“error: Microsoft Visual C++ 14.0 is required…” 的问题,很是烦恼,最后找到了一个解决办法: 常规的安装模块包都是通过: pip install xxx conda install xxx github下载并解压: wget https://github

大泡泡的专栏 7万+

pip 安装报错 error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools

在 Windows 安装 python 包经常会遇到这错误: error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools 遇到这错误不要慌, 进这个网站下载对应的 whl 包即可。 https://www.lfd.uci.edu/~gohlke/pythonlibs/ 进入该网站后,ctrl+F 找到你要的包名 我的是 setproctitle‑1.1.10‑cp36‑cp36m‑win_amd64.whl 下载后,如果你要在 pycharm 的虚拟环境中安装,只需在

/lib//libclntsh.so: file format not recognized; treating as linker script

centos7.7+oracle19.3 建库过程报错:预检查都是通过的 /oracle/product/19.3.0/db_1/lib/libasmperl19.a -Wl,--no-whole-archive -lclntsh -lclntshcore -lasmclntsh19 -lhasgen19 -lskgxp19 -locr19 -lcell19 -lirc INFO: /usr/bin/ld:/home/app/oracle/product/19.3.0/db_1/li...

sqlora的专栏 9913

在centos中安装python3和pip3

因为工作需要要安装python的环境,之前也没有安装过。遇到一些坑特此记录一下。 centos 自带了一个2.7的版本,但是因为我需要的是3.6+的版本。所以需要额外再装一个python3的版本。python可以通过yum安装,没必要下载源码包来编译安装。 -----分割线---正式开始-...

chuaiyuya0389的博客 181

手把手教你搭建自己的 API 中转站

本文介绍了如何通过开源工具CLIProxyAPI(CPA)搭建本地AI模型代理服务,解决多工具切换、海外API访问困难等问题。CPA可将OpenAI、Gemini等不同服务的API统一封装,用户只需配置一次账号信息,所有客户端即可通过标准接口访问。文章详细讲解了CPA的下载安装、配置修改、账号导入及客户端连接方法,并强调其经济性、可控性和集中管理优势。通过自建中转站,用户可避免第三方服务的质量风险,实现多账号负载均衡,构建个人AI资源池。最后提供了网络配置等实用建议,帮助开发者高效使用AI编程工具。

DongJiYong_20的博客 1776

给python安装tkinter模块(及各种问题的解决:如 ModuleNotFoundError: No module named ‘_tkinter’)

如题,本文旨在解决python报错问题:`ModuleNotFoundError: No module named '_tkinter'`;换言之,本文记录在Ubuntu系统上如何给python的不同版本(包含python2和python3)安装tkinter模块。

the Blog of 等不到天亮丶等时光 9万+

Flutter热更新实战:Shorebird从安装到发布补丁的完整流程(含iOS/Android差异解析)

本文详细介绍了Flutter热更新工具Shorebird的完整使用流程,包括安装、发布补丁及iOS/Android平台差异解析。Shorebird作为Flutter官方未提供的Code Push解决方案,能快速修复线上问题,支持合规性保障和性能优化,特别适合紧急修复场景。文章还涵盖了国内CDN加速配置和最佳实践,帮助开发者高效实现热更新。

butter的博客 1075

保姆级教程:在摩尔线程MTT S80上快速部署Ollama运行DeepSeek R1模型(附性能测试)

本文提供了一份详细的保姆级教程,指导用户在摩尔线程MTT S80显卡上部署Ollama并运行DeepSeek R1模型。内容涵盖从驱动安装、Docker环境配置到模型拉取、性能测试的全流程,并分享了实测数据与优化技巧,旨在帮助开发者快速在国产GPU平台上实现高效的大语言模型推理。

weixin_29091837的博客 518

SUSE 12 SP3 安装 python3.6.4 以及 ssl模块

据我目前所知,只能源码安装。由于工作需要,才这么去搞的,费劲,当前最新是3.10 ,而我只能去装3.6.9,无语中。。。。。。 suse安装python3.7我无法安装上,问题是libffi-devel无法安装,略去,言归正传 查看zypper源: zypper lr 上述的zypper源其实就是镜像(安装系统是所用的镜像文件) 安装gcc等编译所需的软件: zypper in gcc gcc-c++ zlib-devel 下载相关文件: python 3.6.9:https://.

forevercui的博客 3011

QGIS安装与使用教程

QGIS安装与使用教程

weixin_46713695的博客 2万+

python crypto模块详解_python Crypto模块的安装与使用方法

前言最开始想尝试在windows下面安装python3.6,虽然python安装成功,但在安装Cryto模块用pip3 install pycrypto老是会报错。老夫搞了半天,最终决定在linux下面去做。以下流程限于linux系统:我下载了之后,发现下载的是crypto而不是Crypto(就是差个首字母大小写)而crypto.Cipher而又不能运行,报错,最后在:https://stacko...

weixin_39623620的博客 585

NSIS教程(2): 传统用户界面(Classic UI)

NSIS教程: 《NSIS用户手册 中文版》 《NSIS图文教程集锦 - 轻狂志》 本文以一个完整的、传统界面的网易云音乐安装包的脚本为示例,来介绍NSIS传统用户界面的开发流程。 NSIS脚本 # 单行注释用井号"#"或分号";",跨行注释用可以用C/C++中注释语法。 # 使用!define定义一些常量(如安装包的版本号等) # 对常量或变量的引用可以使用如${PROD

while(1) { smile(); } 8万+

代码复现5——VLMaps

报错“AttributeError: module 'clip' has no attribute 'load'”,运行下述命令解决。运行后接着报错:“ModuleNotFoundError: No module named 'pytorch_lightning'”运行后命令后会弹出一个RGB窗口,可以用键盘上的“W”“A”“D”键控制移动视角的变化,“空格”键开始记录,“q”键停止。并更改相关代码文件,vlmaps/vlmaps/lseg/modules/models/lseg_vit.py。

qq_44100524的博客 603

python模块的安装

最近应产品部要求,需要将所有服务器上的python升级到3.6,并且安装两个模块:PyMsql和pandas,下边将安装步骤及踩过的坑分享一下。 1.首先想用常规的安装方式进行安装,即用模块包安装。 pymysql模块: 解压压缩包 tar zxvf PyMySQL-0.7.5.tar.gz 进入目录 cd PyMySQL-0.7.5/ 构建pyd文件python3 setup.py build ...

灬紫荆灬 589

老版QQ原生表情gif动态

这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。

python3 安装加解密模块 Crypto

1、先吐槽:python3.6官方竟然没有自带的常用的加解密模块。 第三方的常用的是 Crypto,还这么野, 2、在使用Crypto遇到的坑 pip3 install Crypto 安装这个包,它会自动给你安装以下几个包: Crypto-1.4.1 Naked-0.1.31 certifi-2019.9.11 chardet-3.0.4 idna-2.8 pyyaml-5...

好 1963

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

python3.6.5安装pip_无法在Python3.6中pip安装pickle

我试图运行以下代码:import bs4 as bsimport pickleimport requestsimport lxmldef save_sp500_tickers():resp = requests.get("https://en.wikipedia.org/wiki/List_of_S%26P_500_companies")soup = bs.BeautifulSoup(resp.t...

weixin_39694174的博客 756

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain&#39;s apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath(&#39;DeepLearnToolbox&#39;));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand(&#39;state&#39;,0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W&#39;); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand(&#39;state&#39;,0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = &#39;sigm&#39;;%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, &#39;Too big error&#39;);```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand(&#39;state&#39;,0)sae = saesetup([784 100]);sae.ae{1}.activation_function = &#39;sigm&#39;;sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)&#39;)% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = &#39;sigm&#39;;nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, &#39;Too big error&#39;);```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x&#39;,28,28,60000))/255;test_x = double(reshape(test_x&#39;,28,28,10000))/255;train_y = double(train_y&#39;);test_y = double(test_y&#39;);%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you&#39;ll get around 1.2% errorrand(&#39;state&#39;,0)cnn.layers = { struct(&#39;type&#39;, &#39;i&#39;) %input layer struct(&#39;type&#39;, &#39;c&#39;, &#39;outputmaps&#39;, 6, &#39;kernelsize&#39;, 5) %convolution layer struct(&#39;type&#39;, &#39;s&#39;, &#39;scale&#39;, 2) %sub sampling layer struct(&#39;type&#39;, &#39;c&#39;, &#39;outputmaps&#39;, 12, &#39;kernelsize&#39;, 5) %convolution layer struct(&#39;type&#39;, &#39;s&#39;, &#39;scale&#39;, 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, &#39;Too big error&#39;);```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, &#39;Too big error&#39;);%% ex2 neural net with L2 weight decayrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex3 neural net with dropoutrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex4 neural net with sigmoid activation functionrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.activation_function = &#39;sigm&#39;; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex5 plotting functionalityrand(&#39;state&#39;,0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = &#39;softmax&#39;; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand(&#39;state&#39;,0)nn = nnsetup([784 20 10]); nn.output = &#39;softmax&#39;; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

pywifi 模块的安装

介绍最近因为蹭网被发现所以想着要破解别人的 wifi。因为自己也比较喜欢用python,所以就打算用 python 程序来破解。网上搜寻良久后,发现有好几个程序都能够使用的样子,但是问题在于其中有个模块叫做 pywifi。这个模块的安装我遇到点小麻烦,在此处将自己走过的坑分享出来,希望对你会有帮助。 这篇文章主要介绍一下安装 pywifi 遇到的问题,提及 pywifi 的安装以及 comtypes 的安装。

wangs0622的博客 5万+

python3安装pymysql_MySQLdb模块还不支持 Python3.x,所以 Python3.x 如果想连接MySQL需要安装pymysql模块...

当前python-3.6版本一、windows系统中Python3.6 安装MySQLdb模块一直不成功Command "e:\python\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\hp\\AppData\\Local\\Temp\\pip-build-tudtl0da\\MySQL-python\\se...

weixin_39610759的博客 135

ubuntu升级python3.7.6(含make test报错“Tests result: FAILURE then FAILURE”排错)

1.下载python3.7.6 网上给出的以下两种下载方式都已失效 apt-get install python3.7 # 或者 wget https://www.python.org/ftp/python/3.7.1/Python-3.7.1rc2.tgz 手动下载 python官方ubuntu python3.7.6 2.安装python3.7.6 tar -zxvf Python-3.7....

zw05011的博客 3651

pythonos模块安装_mac os上安装python3

在mac os上安装python3遇到了一些问题,现在记录如下:环境:macOs Sierra已经存在python2.7首先选择brew安装python3.6, 出现ssl模块未安装的问题。 搜寻解决方案之后,都说如果出现这种情况 使用brew install opensslbrew unlink opensslbrew link openssl --force然后重新安装python3.6 ,使...

weixin_39631755的博客 209

python3安装后没有pip_python3 安装pip提示没有distutils.util模块错误的解决

环境ubutun14,python版本是python3.6. 今天在安装Pip 时出现ModuleNotFoundError: No module named 'distutils.util'。操作步骤如下:lxhui@zpt:~/python3_lib$ python3 -VPython 3.6.5我们可以通过以下命令来判断是否已安装:pip --version如果还未安装,则可以使用以下方法来...

weixin_39957951的博客 1358
上一篇: Django官方教程(九)【创建你的第一个 Django 项目,第七部分】
下一篇: Django官方教程(十)【进阶内容:编写可重用的应用】
.NET跨平台
博客等级 码龄15年 6066粉丝 738原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值