在执行"pip install Augmentor"命令时,遇到以下错误:

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

具体报错提示为:

tyb@amax:~/.conda/envs/pytorch$ pip install Augmentor
Collecting AugmentorUsing cached https://files.pythonhosted.org/packages/cb/79/861f38d5830cff631e30e33b127076bfef8ac98171e51daa06df0118c75f/Augmentor-0.2.8-py2.py3-none-any.whl
Collecting Pillow>=5.2.0 (from Augmentor)Using cached https://files.pythonhosted.org/packages/74/15/93be74c3124ad183ea3f25251a66d3c7f8641065537973c276e81f703a0b/Pillow-8.0.0.tar.gzComplete output from command python setup.py egg_info:Traceback (most recent call last):File "<string>", line 1, in <module>File "/tmp/pip-build-q_eqh7d5/Pillow/setup.py", line 42f"Pillow {PILLOW_VERSION} does not support Python "^SyntaxError: invalid syntax----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-q_eqh7d5/Pillow/
You are using pip version 8.1.2, however version 20.2.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
tyb@amax:~/.conda/envs/pytorch$ 

解决方法,更新pip,执行以下命令:

pip install --upgrade pip

然后在执行命令"pip install Augmentor",成功!

tyb@amax:~/.conda/envs/pytorch$ pip install Augmentor
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Collecting AugmentorUsing cached Augmentor-0.2.8-py2.py3-none-any.whl (38 kB)
Processing /home/tyb/.cache/pip/wheels/8b/99/a0/81daf51dcd359a9377b110a8a886b3895921802d2fc1b2397e/future-0.18.2-cp35-none-any.whl
Collecting tqdm>=4.9.0Using cached tqdm-4.50.2-py2.py3-none-any.whl (70 kB)
Requirement already satisfied: numpy>=1.11.0 in /home/tyb/anaconda3/lib/python3.5/site-packages (from Augmentor) (1.11.1)
Collecting Pillow>=5.2.0Using cached Pillow-7.2.0-cp35-cp35m-manylinux1_x86_64.whl (2.2 MB)
Installing collected packages: future, tqdm, Pillow, AugmentorWARNING: The scripts futurize and pasteurize are installed in '/home/tyb/.local/bin' which is not on PATH.Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.WARNING: The script tqdm is installed in '/home/tyb/.local/bin' which is not on PATH.Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed Augmentor-0.2.8 Pillow-7.2.0 future-0.18.2 tqdm-4.50.2

Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-q_eqh7d5/Pillow/相关推荐

  1. pip安装软件时出现Command python setup.py egg_info failed with error code 1 in /tmp/pip-build*的解决方案

    本文只提供本人的一些经验,不代表可以解决所有人的问题. pip安装软件时出现:Command "python setup.py egg_info" failed with erro ...

  2. 安装matplotlib时,报错Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-gvyzl2

    安装matplotlib 报错: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-b ...

  3. Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-buil

    出现 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-buil 执行 pip3 in ...

  4. Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-5z0k7aoz/pynacl/

    pip install下载工具时报错,出现: Command "python setup.py egg_info" failed with error code 1 in /tmp ...

  5. 安装 opencv-python 出现Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-npa

    安装 opencv-python 出现 Command "python setup.py egg_info" failed with error code 1 in /tmp/pi ...

  6. ubuntu16.04更新pip出现Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-Yjy7

    1. 先卸载安装的python-pip(我这步直接显示参数 python-pip 没有匹配,不删除任何软件包) sudo yum remove python-pip 如果显示sudo: yum:找不到 ...

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

    在虚拟环境virtualenv中安装ipython时出现Command "python setup.py egg_info" failed with error code 1 in ...

  8. Command python setup.py egg_info failed with error code 1 in /tmp/pip-install-skj59oz0/mysqlclient

    使用pip3 install mysqlclient时,报出下面的错误: Command "python setup.py egg_info" failed with error ...

  9. Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-T7syzm/pefile/

    又来当配环境博主了 问题 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build ...

最新文章

  1. 马年计划2014-2-21
  2. Unity用UGUI做虚拟摇杆
  3. ECC6.0中数据导出到本地时报错GETWA_NOT_ASSIGNED
  4. 机器学习11主成分分析
  5. html5画图论文结束语,基于HTML5 Canvas的画图板的设计与实现.doc
  6. linux中lsattr命令,在Linux中用chattr和lsattr命令管理文件和目录属性
  7. 蓝桥杯 ADV-16 算法提高 和最大子序列
  8. android程序root权限,android应用程序中应用root权限
  9. Note 7会让三星有什么样的命运呢?
  10. java生日验证_Java验证身份证号码是否有效
  11. 贪心 - [POI2006]ORK-Ploughing
  12. oracle数据库查询空间大小,Oracle查看数据库空间使用情况
  13. 2020 给你 8 个接私活的网站
  14. 1.3、操作系统的发展和分类
  15. 《程序设计基础》 第五章 函数 6-6 字符金字塔 (15 分)
  16. linux命令--mkdir 与文件权限
  17. 时针分针夹角公式与重合问题
  18. 利用DDE实现紫金桥组态软件与各种组态软件的通讯
  19. 目标是买车买房白富美
  20. 设计模式-单一职责原则-实践运用

热门文章

  1. kodi直播电视,电视台分类管理,想看哪个一目了然
  2. Jmeter结果各参数含义
  3. 这篇文章,带你认清软件测试培训机构的套路
  4. mmap函数的用法详解及实例分析
  5. 微信小程序直播状态接口如何获取
  6. 2020-06-28 html的实现页面锁屏 + css的BFC与float + js的立即执行函数写法 + 颜色搭配
  7. 大疆无人机避障传感器状态获取和监听(M300RTK)
  8. 2023年最新苹果账号更改/注册为美区账号及免国外支付购买和充值美区App Store礼品卡教程
  9. 记录--Three.js的简单使用,Three.js在vue3.x中导入.pcd三维模型文件
  10. 机器学习-隐语义模型