添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
  • Index
  • » Applications & Desktop Environments
  • » can't install mu-editor in my new installed achlinux
  • can't install mu-editor in my new installed achlinux

    [root@myarch ~]# pip install mu-editor
    Collecting mu-editor
      Using cached mu_editor-1.0.3-py3-none-any.whl (2.0 MB)
    Requirement already satisfied: Pillow>=5.2.0 in /usr/lib/python3.9/site-packages (from mu-editor) (8.1.0)
    Requirement already satisfied: requests>=2.19.1 in /usr/lib/python3.9/site-packages (from mu-editor) (2.25.1)
    Requirement already satisfied: appdirs>=1.4.3 in /usr/lib/python3.9/site-packages (from mu-editor) (1.4.4)
    Collecting gpiozero>=1.4.1
      Using cached gpiozero-1.5.1-py2.py3-none-any.whl (138 kB)
    Collecting colorzero
      Using cached colorzero-1.1-py2.py3-none-any.whl (33 kB)
    Collecting guizero>=1.1.0
      Using cached guizero-1.1.1-py3-none-any.whl (42 kB)
    Collecting matplotlib==2.2.2
      Using cached matplotlib-2.2.2.tar.gz (37.3 MB)
        ERROR: Command errored out with exit status 1:
         command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6mjb5ooi/matplotlib_c4ad9e5a015c4232b32ed3c373d096ae/setup.py'"'"'; __file__='"'"'/tmp/pip-install-6mjb5ooi/matplotlib_c4ad9e5a015c4232b32ed3c373d096ae/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-p4q7dmar
             cwd: /tmp/pip-install-6mjb5ooi/matplotlib_c4ad9e5a015c4232b32ed3c373d096ae/
        Complete output (67 lines):
        IMPORTANT WARNING:
            pkg-config is not installed.
            matplotlib may not be able to find some of its dependencies
        ============================================================================
        Edit setup.cfg to change the build options
        BUILDING MATPLOTLIB
                    matplotlib: yes [2.2.2]
                        python: yes [3.9.1 (default, Dec 13 2020, 11:55:53)  [GCC
                                10.2.0]]
                      platform: yes [linux]
        REQUIRED DEPENDENCIES AND EXTENSIONS
                         numpy: yes [version 1.19.5]
              install_requires: yes [handled by setuptools]
                        libagg: yes [pkg-config information for 'libagg' could not
                                be found. Using local copy.]
                      freetype: no  [The C/C++ header for freetype2 (ft2build.h)
                                could not be found.  You may need to install the
                                development package.]
                           png: yes [version 1.6.37]
                         qhull: yes [pkg-config information for 'libqhull' could not
                                be found. Using local copy.]
        OPTIONAL SUBPACKAGES
                   sample_data: yes [installing]
                      toolkits: yes [installing]
                         tests: no  [skipping due to configuration]
                toolkits_tests: no  [skipping due to configuration]
        OPTIONAL BACKEND EXTENSIONS
                        macosx: no  [Mac OS-X only]
                        qt5agg: no  [PySide2 not found; PyQt5 not found]
                        qt4agg: no  [PySide not found; PyQt4 not found]
        (setup.py:2656): Gtk-WARNING **: 13:14:52.136: Locale not supported by C library.
        	Using the fallback 'C' locale.
                       gtk3agg: yes [installing, version 3.24.24]
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/tmp/pip-install-6mjb5ooi/matplotlib_c4ad9e5a015c4232b32ed3c373d096ae/setup.py", line 197, in <module>
            msg = pkg.install_help_msg()
          File "/tmp/pip-install-6mjb5ooi/matplotlib_c4ad9e5a015c4232b32ed3c373d096ae/setupext.py", line 592, in install_help_msg
            release = platform.linux_distribution()[0].lower()
        AttributeError: module 'platform' has no attribute 'linux_distribution'
                     gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                        gtkagg: no  [Requires pygtk]
                         tkagg: yes [installing; run-time loading from Python Tcl /
                         wxagg: no  [requires wxPython]
                           gtk: no  [Requires pygtk]
                           agg: yes [installing]
                         cairo: no  [cairocffi or pycairo not found]
                     windowing: no  [Microsoft Windows only]
        OPTIONAL LATEX DEPENDENCIES
                        dvipng: no
                   ghostscript: no
                         latex: no
                       pdftops: no
        OPTIONAL PACKAGE DATA
                          dlls: no  [skipping due to configuration]
        ============================================================================
                                * The following required packages can not be built:
                                * freetype
        ----------------------------------------
    ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

    How to fix it then?

    Re: can't install mu-editor in my new installed achlinux

    Rather than opening yet another thread demomnstrating that you are allergic to the documentation, you google "arch linux mu-editor"
    https://aur.archlinux.org/packages/mu-editor/

    That way, you learn how Arch actually works, and you also stop abusing the goodwill of the community.

    # edit: and also, if you bothered to read the wiki, you'd know that running pip as root is just stupid.

    Last edited by jasonwryan (2021-01-25 05:35:51)


    Arch + dwm Mercurial repos Surfraw

    Registered Linux User #482438