windows下安装pylearn2的错误集锦

【1】error code 404

D:\software\pylearn2-master\pylearn2-master>conda update numpy

Collecting package metadata: failed

UnavailableInvalidChannel: The channel is not accessible or is invalid.

channel name: ‘Tsinghua Open Source Mirror

channel url: https://conda.anaconda.org/’https://mirrors.tuna.tsinghua.edu.cn/

anaconda/pkgs/free/’

error code: 404

You will need to adjust your conda configuration to proceed.

Use `conda config –show channels` to view your configuration’s current state,

and use `conda config –show-sources` to view config file locations.

图片1

解决方案:【https://blog.csdn.net/qq_42859864/article/details/90340164#comments】

conda config –remove channels Tsinghua Open Source Mirror

conda config –add channels Anaconda free channel

conda config –add channels main

conda config –set show_channel_urls yes

https://blog.csdn.net/ebzxw/article/details/80702506】

anaconda指定镜像源,解决conda下载速度慢失败问题 – 大梦想家 – 博客园

.condarc 文件直接修改文件中的配置也可以

tensorflow-gpu【https://blog.csdn.net/Msjiangmei/article/details/90610153】

Traceback (most recent call last):

File “setup.py“, line 8, in <module>

from theano.compat.six.moves import input

ModuleNotFoundError: No module named ‘theano.compat.six’

https://blog.csdn.net/qq_43232373/article/details/82999076】

running build_ext

error: [WinError 2] 系统找不到指定的文件。

https://blog.csdn.net/qq_30587589/article/details/88853521】

cythoning pylearn2/utils/_window_flip.pyx to pylearn2/utils\_window_flip.c

building ‘pylearn2.utils._window_flip’ extension

error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++

Build Tools”: http://landinghub.visualstudio.com/visual-cpp-build-tools

https://blog.csdn.net/heyshheyou/article/details/82022948】

Microsoft visual c++ 14.0 is required问题解决办法

https://blog.csdn.net/qq_38316655/article/details/79417709】

LINK : fatal error LNK1158: cannot run ‘rc.exe’

error: command ‘C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\

x86_amd64\\link.exe’ failed with exit status 1158

http://www.bubuko.com/infodetail-2943035.html】

scikit-neuralnetwork 的安装

深度学习软件包scikit-neuralnetwork 的安装

ImportError: cannot import name ‘downsample’

https://blog.csdn.net/yaoyaoyao2/article/details/78166315】

No module named ‘sklearn.cross_validation’

ValueError: You are tring to use the old GPU back-end. It was removed from Thean

o. Use device=cuda* now. See Theano/Theano

-the-new-gpu-back-end%28gpuarray%29 for more information.

https://blog.csdn.net/qq_31747765/article/details/81665957】

ModuleNotFoundError: No module named ‘sklearn.grid_search’

https://blog.csdn.net/u012852847/article/details/84639213】

AttributeError: module ‘lasagne.layers’ has no attribute ‘batch_norm’

pip install –upgrade https://github.com/Theano/Theano/archive/master.zip

pip install –upgrade https://github.com/Lasagne/Lasagne/archive/master.zip

python lasagne ImportError cannot import BatchNormLayer

ModuleNotFoundError: No module named ‘sklearn.cross_validation’

    原文作者:方帮信的经验
    原文地址: https://zhuanlan.zhihu.com/p/70712132
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞