简体   繁体   English

无法在Google Colab上安装functools32

[英]cannot install functools32 on google colab

I'm new to ML/DL and using google colab as my DL tool. 我是ML / DL的新手,并且使用google colab作为我的DL工具。 I'm currently trying to setup tensorflow/HED on google colab. 我目前正在尝试在Google colab上设置tensorflow / HED When I ran pip install -r requirements.txt , I got an error like 当我运行pip install -r requirements.txt ,出现类似以下错误

Collecting functools32==3.2.3.post2 (from -r requirements.txt (line 20))
Using cached https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz  
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-zhhba6da/functools32/"

I've updated setuptools to the newest version ( Requirement already up-to-date: setuptools in /usr/local/lib/python3.6/dist-packages (40.8.0) ). 我已经将setuptools更新到最新版本( Requirement already up-to-date: setuptools in /usr/local/lib/python3.6/dist-packages (40.8.0) )。 It however doesn't seem solve the issue. 但是,它似乎无法解决问题。

Google colab uses python 3.6.7. Google colab使用python 3.6.7。

functools32 is a backport of the Python 3.2 functools module for use on Python versions 2.7. functools32是Python 3.2 functools模块的反向端口,可在python版本2.7上使用。 It shouldn't be installed for Python 3.6. 不应该为Python 3.6安装它。

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

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