全球主机交流论坛

标题: debian10安装宝塔出现错误。请教如何解决。。。 [打印本页]

作者: wcg928    时间: 2023-3-22 13:46
标题: debian10安装宝塔出现错误。请教如何解决。。。
debian10安装宝塔出现错误。请教如何解决。。。


install.sh: line 228: unzip: command not found
install.sh: line 230: cd: Pillow-3.2.0: No such file or directory
python: can't open file 'setup.py': [Errno 2] No such file or directory
=================================================
Pillow installation failed.

作者: 357    时间: 2023-3-22 13:48
宝塔还是得用CentOS7 没那么多问题
作者: zsj403919383    时间: 2023-3-22 13:49
apt update,然后apt install unzip
作者: jacke    时间: 2023-3-22 13:54
人家有官方客服,在这里不是浪费时间么
作者: wcg928    时间: 2023-3-22 14:07
zsj403919383 发表于 2023-3-22 13:49
apt update,然后apt install unzip

谢谢。看来还是我命令用错了。这个一下搞定
作者: wcg928    时间: 2023-3-22 14:08
jacke 发表于 2023-3-22 13:54
人家有官方客服,在这里不是浪费时间么

这里比官网回复快多了
作者: 我能做两个小时    时间: 2023-3-22 14:18
本帖最后由 我能做两个小时 于 2023-3-22 14:26 编辑

虽然我也是个外行,但是我觉得你用debian系统最好学会安装常见依赖和工具
  1. apt install  -y \
  2. iptables \
  3. net-tools \
  4. curl \
  5. vim \
  6. traceroute \
  7. git \
  8. zip \
  9. unzip\
  10. wget\
  11. python-pip
复制代码


  1. wget https://pypi.python.org/packages/source/P/Pillow/Pillow-8.4.0.tar.gz
  2. tar -xzf Pillow-8.4.0.tar.gz
  3. cd Pillow-8.4.0
  4. sudo python setup.py install
复制代码






欢迎光临 全球主机交流论坛 (https://loc.imgfree.eu.org/) Powered by Discuz! X3.4