无法在google colab上安装functools32

问题描述 投票:0回答:1

我是ML / DL的新手,并使用谷歌colab作为我的DL工具。我目前正在尝试在谷歌colab上设置tensorflow/HED。当我跑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/"

我已将setuptools更新到最新版本(Requirement already up-to-date: setuptools in /usr/local/lib/python3.6/dist-packages (40.8.0))。但它似乎没有解决问题。

谷歌colab使用python 3.6.7。

python setuptools google-colaboratory functools
1个回答
1
投票

functools32是Python 3.2 functools模块的后端,用于Python 2.7版本。它不应该安装在Python 3.6中。

© www.soinside.com 2019 - 2024. All rights reserved.