Comments (1)
UPD: Try to install via pipx, as python suggests — got non-working Ash:-)
$ ash
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
/home/user/.pyxbld/temp.linux-x86_64-3.11/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/ash/core/screen.c:28:10: fatal error: Python.h: Нет такого файла или каталога
28 | #include "Python.h"
| ^~~~~~~~~~
compilation terminated.
Traceback (most recent call last):
File "/usr/lib/python3.11/distutils/unixccompiler.py", line 117, in _compile
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
File "/usr/lib/python3.11/distutils/ccompiler.py", line 910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/usr/lib/python3.11/distutils/spawn.py", line 91, in spawn
raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/pyximport/_pyximport3.py", line 314, in create_module
so_path = build_module(spec.name, pyxfilename=spec.origin, pyxbuild_dir=self._pyxbuild_dir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/pyximport/_pyximport3.py", line 197, in build_module
so_path = pyxbuild.pyx_to_dll(pyxfilename, extension_mod,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/pyximport/pyxbuild.py", line 103, in pyx_to_dll
dist.run_commands()
File "/usr/lib/python3.11/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.11/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.11/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/lib/python3.11/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/usr/lib/python3.11/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/Cython/Distutils/build_ext.py", line 135, in build_extension
super(build_ext, self).build_extension(ext)
File "/usr/lib/python3.11/distutils/command/build_ext.py", line 529, in build_extension
objects = self.compiler.compile(sources,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/usr/lib/python3.11/distutils/unixccompiler.py", line 120, in _compile
raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/.local/bin/ash", line 5, in <module>
from ash.ash_main import run
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/ash/ash_main.py", line 11, in <module>
from ash.main import *
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/ash/main.py", line 30, in <module>
from ash.gui.topLevelWindow import *
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/ash/gui/topLevelWindow.py", line 12, in <module>
from ash.gui.windowManager import *
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/ash/gui/windowManager.py", line 10, in <module>
from ash.gui.editor import *
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/ash/gui/editor.py", line 16, in <module>
from ash.core.screen import *
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/pyximport/_pyximport3.py", line 332, in create_module
raise exc.with_traceback(tb)
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/pyximport/_pyximport3.py", line 314, in create_module
so_path = build_module(spec.name, pyxfilename=spec.origin, pyxbuild_dir=self._pyxbuild_dir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/pyximport/_pyximport3.py", line 197, in build_module
so_path = pyxbuild.pyx_to_dll(pyxfilename, extension_mod,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/pyximport/pyxbuild.py", line 103, in pyx_to_dll
dist.run_commands()
File "/usr/lib/python3.11/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.11/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.11/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/lib/python3.11/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/usr/lib/python3.11/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/home/user/.local/share/pipx/venvs/ash-editor/lib/python3.11/site-packages/Cython/Distutils/build_ext.py", line 135, in build_extension
super(build_ext, self).build_extension(ext)
File "/usr/lib/python3.11/distutils/command/build_ext.py", line 529, in build_extension
objects = self.compiler.compile(sources,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/usr/lib/python3.11/distutils/unixccompiler.py", line 120, in _compile
raise CompileError(msg)
ImportError: Building module ash.core.screen failed: ["distutils.errors.CompileError: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1\n"]
from ash.
Related Issues (18)
- Add git as a prerequisite for install HOT 3
- Softwrap, wrap long lines option question HOT 6
- Problem with the name 'ash' says reddit HOT 3
- [BUG] 100% thread usage while running ash HOT 1
- [BUG] Ash crash on window click HOT 1
- No menu bar when I start Ash HOT 3
- ISPF Edit HOT 1
- Rapid mouse clicks eventually crash Ash HOT 1
- Select line does not highlight the selected line HOT 4
- Esc does not remove the menu HOT 1
- Please tag a release HOT 8
- Wont start on AWS HOT 8
- [BUG] python3-devel is a required dependency on Fedora 36 HOT 1
- [CR] Consider moving Config Files to ~/.config/ash-editor instead of creating ~/.ash-editor HOT 2
- [FEATURE]Better Mouse Support HOT 1
- [BUG] Opening a non User writable File and saving it causes a traceback HOT 2
- Everything black through SSH with Putty HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ash.