windows下安装pylearn2的错误集锦 - 自然语言处理 - 方帮信


大厂面试直通卡 本周拉勾免费课:《深入浅出搞定React》 7月6号下线 【腾讯云】2021新春采购节,爆款产品特惠,助力企业上云
当前位置: 首页 >  > 人工智能 > 自然语言处理

windows下安装pylearn2的错误集锦

2019/6/25 15:47:18 浏览

【1】error code 404D:\software\pylearn2-master\pylearn2-master>conda update numpyCollecting package metadata: failedUnavailableInvalidChannel: The channel is not accessible or is invalid. channel name: https://mirrors.tuna.tsinghua.edu.cn/anaconda…

站长送干货喽:

1.拉勾教育7天VIP

2.大场面试题第一季-阿里篇视频讲解

站长的微信:changyandoublog


【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: 'https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/'
  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.numpy安装error code404.png

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

conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

conda config --add channels https://repo.continuum.io/pkgs/free/

conda config --add channels https://repo.continuum.io/pkgs/main/
conda config --set show_channel_urls yes


https://blog.csdn.net/ebzxw/article/details/80702506
https://www.cnblogs.com/dreamfly2016/p/6427807.html


.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 的安装
https://www.cnblogs.com/poppybloom/p/6507008.html

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 https://github.com/Theano/Theano/wiki/Converting-to
-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
https://stackoverflow.com/questions/36088609/python-lasagne-importerror-cannot-import-batchnormlayer


ModuleNotFoundError: No module named 'sklearn.cross_validation'


 

来源:方帮信(微信:changyandoublog,邮箱:changyandou@126.com),欢迎分享!