<에러해결>

[ERROR] Could not find a version that satisfies the requirement tensorflow==2.7.0

peanut0613 2022. 9. 28. 16:22

 Tensorflow 2.7.0 깔려고하니 다음과같은 에러가 발생

root@iZtrrrmevfuyqhvmqzcZ:~# pip3 install tensorflow==2.7.0
Collecting tensorflow==2.7.0
  Could not find a version that satisfies the requirement tensorflow==2.7.0 (from versions: 1.13.1, 1.13.2, 1.14.0)
No matching distribution found for tensorflow==2.7.0

 

pip3 install --user --upgrade tensorflow  로 해봤지만,  다음과같은 에러발생

python setup.py egg_info failed with error code 1 in /tmp/pip-build

 

이걸로 실행하니까 해결됨

sudo -H pip3 install --upgrade --ignore-installed pip setuptools