有没有人在WSL下成功体验过EAF?

请问你用的是什么Python版本,我用官方for windows的3.7.4始终安装不上epc这个库

你那里报了什么错?网络问题还是别的什么?

请问怎么解决node-gyp对python27依赖的?python27和python3怎么设置了共存,我这似乎两个版本打架了。

gyp ERR! configure error
gyp ERR! stack Error: Command failed: d:\Python27\python.exe -c import platform;
 print(platform.python_version());
gyp ERR! stack   File "D:\Python36\lib\site.py", line 177
gyp ERR! stack     file=sys.stderr)
gyp ERR! stack         ^
gyp ERR! stack SyntaxError: invalid syntax

不知道你解决了没有, 目前我找到一个(可能是) 妥协的办法: \n 1.在 windows下运行:

start "" "C:\Users\leo.cheng\scoop\apps\VcXsrv\current\vcxsrv.exe" :0 -multiwindow -clipboard -nowgl -ac
  1. 在WSL2下 .bashrc中加入:
export DISPLAY=$(ip route | awk '/^default/{print $3; exit}'):0
export LIBGL_ALWAYS_SOFTWARE=1

不过不知道为什么我可以用firefox在网页看视频,却不能用 eaf browser播放视频, 会直接卡死. 不知道是不是因为这个配置造成的

还没有解决,我可能是wsl下的python库有问题,也许在wsl下用aconda 的库不会有依赖问题?具体还没尝试

我是 wsl2, 安装过程没啥说的, 没遇到错误, 试图跑 eaf-open-browser, 得到这样的报错:

Traceback (most recent call last):
  File "/home/quebec/resources/emacs-application-framework/core/utils.py", line 56, in on_signal_received
    self._func(obj, *args, **kwargs)
  File "/home/quebec/resources/emacs-application-framework/eaf.py", line 155, in new_buffer
    self.create_buffer(buffer_id, url, module_path, arguments)
  File "/home/quebec/resources/emacs-application-framework/eaf.py", line 168, in create_buffer
    spec = importlib.util.spec_from_file_location("AppBuffer", module_path) # type: ignore
  File "<frozen importlib._bootstrap_external>", line 745, in spec_from_file_location
TypeError: expected str, bytes or os.PathLike object, not list
D3D12: Removing Device.
[5388:5442:0806/165505.206522:ERROR:gl_context_glx.cc(178)] Failed to create GL context with glXCreateContextAttribsARB.
[5388:5442:0806/165505.206560:ERROR:gpu_channel_manager.cc(888)] Failed to create GLES3 context, fallback to GLES2.

Process *eaf*<1> segmentation fault
D3D12: Removing Device.
[5504:5541:0806/165540.871504:ERROR:gl_context_glx.cc(178)] Failed to create GL context with glXCreateContextAttribsARB.
[5504:5541:0806/165540.871547:ERROR:gpu_channel_manager.cc(888)] Failed to create GLES3 context, fallback to GLES2.

Process *eaf* segmentation fault

注意我只是 browser 还没成功, pdf-viewer 还是用得挺爽的.

没仔细研究过, 但也想试试看EAF效果如何,感觉是真的有点难装。 反正想无脑用上是不可能的, 试过linux 下是最可能安装上的。 但是最近在我的linux/mac/win10三平台下都试了下没有安装成功,用的是doom 配置,因为没有刚需不成功也就放弃了 :sleepy: