質問編集履歴

2

エラーの更新

2021/06/06 01:49

投稿

sakuramochiIII
sakuramochiIII

スコア8

title CHANGED
File without changes
body CHANGED
@@ -5,25 +5,7 @@
5
5
  ### 発生している問題・エラーメッセージ
6
6
 
7
7
  ```
8
- Traceback (most recent call last):
9
- File "/Users/higashirinako/Downloads/invader/invader_new.py", line 1, in <module>
10
- import pyxel
11
- File "/usr/local/lib/python3.9/site-packages/pyxel/__init__.py", line 10, in <module>
12
- from . import core # type: ignore
13
- File "/usr/local/lib/python3.9/site-packages/pyxel/core/__init__.py", line 42, in <module>
14
- _lib = _load_library()
15
- File "/usr/local/lib/python3.9/site-packages/pyxel/core/__init__.py", line 39, in _load_library
16
- return cdll.LoadLibrary(lib_path)
17
- File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ctypes/__init__.py", line 452, in LoadLibrary
18
- return self._dlltype(name)
19
- File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ctypes/__init__.py", line 374, in __init__
20
- self._handle = _dlopen(self._name, mode)
21
- OSError: dlopen(/usr/local/lib/python3.9/site-packages/pyxel/core/bin/macos/libpyxelcore.dylib, 6): Symbol not found: __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16find_last_not_ofEPKcmm
22
- Referenced from: /usr/local/lib/python3.9/site-packages/pyxel/core/bin/macos/libpyxelcore.dylib (which was built for Mac OS X 10.15)
23
- Expected in: /usr/lib/libstdc++.6.dylib
8
+ pyxel error: unsupported resource file version '1.4.3' in 'LoadAsset'
24
- in /usr/local/lib/python3.9/site-packages/pyxel/core/bin/macos/libpyxelcore.dylib
25
- higashiakonoMBP:invader higashirinako$
26
-
27
9
  ```
28
10
 
29
11
  ### 該当のソースコード

1

修正

2021/06/06 01:49

投稿

sakuramochiIII
sakuramochiIII

スコア8

title CHANGED
@@ -1,1 +1,1 @@
1
- pyxel error: unsupported resource file version '1.4.3' in 'LoadAsset'の解決法
1
+ pyxelを実行できない
body CHANGED
@@ -5,7 +5,25 @@
5
5
  ### 発生している問題・エラーメッセージ
6
6
 
7
7
  ```
8
+ Traceback (most recent call last):
9
+ File "/Users/higashirinako/Downloads/invader/invader_new.py", line 1, in <module>
10
+ import pyxel
11
+ File "/usr/local/lib/python3.9/site-packages/pyxel/__init__.py", line 10, in <module>
12
+ from . import core # type: ignore
13
+ File "/usr/local/lib/python3.9/site-packages/pyxel/core/__init__.py", line 42, in <module>
14
+ _lib = _load_library()
15
+ File "/usr/local/lib/python3.9/site-packages/pyxel/core/__init__.py", line 39, in _load_library
16
+ return cdll.LoadLibrary(lib_path)
17
+ File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ctypes/__init__.py", line 452, in LoadLibrary
18
+ return self._dlltype(name)
19
+ File "/usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ctypes/__init__.py", line 374, in __init__
20
+ self._handle = _dlopen(self._name, mode)
21
+ OSError: dlopen(/usr/local/lib/python3.9/site-packages/pyxel/core/bin/macos/libpyxelcore.dylib, 6): Symbol not found: __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16find_last_not_ofEPKcmm
22
+ Referenced from: /usr/local/lib/python3.9/site-packages/pyxel/core/bin/macos/libpyxelcore.dylib (which was built for Mac OS X 10.15)
8
- pyxel error: unsupported resource file version '1.4.3' in 'LoadAsset'
23
+ Expected in: /usr/lib/libstdc++.6.dylib
24
+ in /usr/local/lib/python3.9/site-packages/pyxel/core/bin/macos/libpyxelcore.dylib
25
+ higashiakonoMBP:invader higashirinako$
26
+
9
27
  ```
10
28
 
11
29
  ### 該当のソースコード