Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: dlopen(.../.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create' #70

Open
natea opened this issue Aug 23, 2023 · 1 comment

Comments

@natea
Copy link

natea commented Aug 23, 2023

I'm seeing these PIL errors:

[   web] 18:26:44 INFO: Loaded WASM
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44     import impl
[   web] 18:26:44     import impl
[   web] 18:26:44     import impl
[   web] 18:26:44     import impl
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44     import impl
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44     import impl
[   web] 18:26:44     import impl
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44 Traceback (most recent call last):
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/build.py", line 23, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44     import impl
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44     import impl
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/__init__.py", line 1, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44     from impl import (
[   web] 18:26:44     from impl import (
[   web] 18:26:44     from impl import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44     from impl import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44     from impl import (
[   web] 18:26:44     from impl import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44     from impl.materializers import materialize
[   web] 18:26:44     from impl import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/materializers.py", line 10, in <module>
[   web] 18:26:44     from impl import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44     from impl import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/blocks.py", line 12, in <module>
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44     from impl.textures import (
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/src/galois/py/assets/impl/textures.py", line 9, in <module>
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44     from PIL import Image, ImageEnhance
[   web] 18:26:44   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:45   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:45   File "/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/Image.py", line 89, in <module>
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45     from . import _imaging as core
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
[   web] 18:26:45 ImportError: dlopen(/Users/nateaune/Documents/code/biomes-game/.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_liq_attr_create'
@DevinLeamy
Copy link
Contributor

Looks like you're using python3.11. We use python3.9 or python3.10. I suggest trying something like:

# Remove the existing .venv
rm -rf .venv
# After installing python3.10
python3.10 -m venv .venv
source .venv/bin/activate
# --ignore-installed: Ignore any site-packages that have been installed
pip install --ignore-installed -r requirements.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants