tensorflow 安装问题

    xiaoxiao2025-02-05  36

    今天安装tensorflow,出现了报错,如下所示:

    pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

    原因是pip 安装时间太长

    解决方法:pip 安装限制安装时间, 参数为 --default -timeout=100

    方法:

    pip install --default-timeout=100 -U youname
    最新回复(0)