Linux启动时发生acpi错误

时间:2018-04-08 17:24:44

标签: linux

Using cached django-haystack-2.8.1.tar.gz
    Complete output from command python setup.py egg_info:
    Couldn't find index page for 'setuptools_scm' (maybe misspelled?)
    No local packages or working download links found for setuptools_scm
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/bm/ghr3m2px1d76gsgd7vkbh5yr0000gn/T/pip-install-LXpkON/django-haystack/setup.py", line 71, in <module>
        setup_requires=['setuptools_scm'],
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/__init__.py", line 128, in setup
        _install_setup_requires(attrs)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/__init__.py", line 123, in _install_setup_requires
        dist.fetch_build_eggs(dist.setup_requires)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 513, in fetch_build_eggs
        replace_conflicting=True,
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 774, in resolve
        replace_conflicting=replace_conflicting
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1057, in best_match
        return self.obtain(req, installer)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1069, in obtain
        return installer(requirement)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 580, in fetch_build_egg
        return cmd.easy_install(req)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 667, in easy_install
        raise DistutilsError(msg)
    distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools_scm')

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/bm/ghr3m2px1d76gsgd7vkbh5yr0000gn/T/pip-install-LXpkON/django-haystack/

3 个答案:

答案 0 :(得分:1)

补充这个答案,因为我最近在 Linux Mint 20 上也发生了同样的情况,而且在我的情况下,其他地方发布的答案都不是必需的:

我运行了 exit 命令,它建议对我的一个磁盘分区使用命令 fsck。我这样做后,分区得到修复,我的系统在重新启动后能够成功启动。

希望对遇到相同问题的人有所帮助。

答案 1 :(得分:0)

您是怎么遇到这个问题的? 在MSI笔记本电脑上安装ubuntu 18.04时遇到ACPI错误。

要解决acpi错误,请尝试以下步骤:

1)更新您的BIOS:

  • 将您的BOIS更新到最新版本

2)BIOS设置:

  • 快速启动=禁用

  • 安全启动=禁用

  • 引导模式选择= UEFI

3)重新启动系统

  • 转到“安装Ubuntu”选项(但不要按ENTER键)

  • 按e

  • 找到以linux开头的行,然后在安静启动后添加modprobe.blacklist = nouveau。

https://medium.com/@loopsworx/computer-freeze-when-installing-ubuntu-18-04-acpi-error-de18ef8cdfb1?source=friends_link&sk=2d8d3b0315488e1bfc8eb7cbfee1cddc

答案 2 :(得分:0)

我在Linux Mint 19上遇到了相同的错误,我的操作系统运行良好,突然Linux随您的错误启动进入紧急模式。

This thread使我检查了以前编辑过的/ etc / fstab,以添加一个外部硬盘驱动器。在删除我自己的编辑后,它可以正常启动。

现在正在寻找一种解决方案,以添加我的外部硬盘驱动器而不会导致该错误。