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:…

【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: ''
  channel url:'
  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


conda config --remove channels

conda config --add channels

conda config --add channels
conda config --set show_channel_urls yes

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


Traceback (most recent call last):
  File "", line 8, in <module>
    from theano.compat.six.moves import input
ModuleNotFoundError: No module named 'theano.compat.six'

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

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":

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

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

scikit-neuralnetwork 的安装

ImportError: cannot import name 'downsample'

 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
-the-new-gpu-back-end%28gpuarray%29 for more information.

ModuleNotFoundError: No module named 'sklearn.grid_search'

AttributeError: module 'lasagne.layers' has no attribute 'batch_norm'
pip install --upgrade
pip install --upgrade

ModuleNotFoundError: No module named 'sklearn.cross_validation'