简体   繁体   English

ModuleNotFoundError: 没有名为 pylearn2.space 的模块

[英]ModuleNotFoundError: No module named pylearn2.space

 ! git clone git://github.com/lisa-lab/pylearn2.git'''
 ! pip install theano

I am working on Google colab .我正在研究Google colab I have installed the pylearn2 clone from git but still it is showing MODULE NOT FOUND error in the following lines我已经从git安装了pylearn2克隆,但它仍然在以下几行中显示MODULE NOT FOUND错误

 pylearn2.space import VectorSpace
 from pylearn2.costs.cost import Cost
 ModuleNotFoundError: No module named 'pylearn2.space
 ModuleNotFoundError: No module named 'pylearn2.costs.cost

Let's see: https://github.com/lisa-lab/pylearn2来看看: https : //github.com/lisa-lab/pylearn2

No PyPI packages.没有 PyPI 包。 The repo was last updated 5 years ago.该 repo 上次更新是在 5 年前。 There is a big warning:有一个很大的警告:

This project does not have any current developer.该项目目前没有任何开发人员。 We will continue to review pull requests and merge them when appropriate, but do not expect new development unless someone decides to work on it.我们将继续审查拉取请求并在适当时合并它们,但除非有人决定进行处理,否则不要期待新的开发。

Doesn't look right.看起来不太对。

Installation instructions at http://deeplearning.net/software/pylearn2/#download-and-installation say you need to install it after cloning: http://deeplearning.net/software/pylearn2/#download-and-installation 上的安装说明说你需要在克隆后安装它:

python setup.py develop

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM