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

" Library not loaded: @rpath/libxml2.2.dylib" when validate_install.py #127

Open
shaked-sapir opened this issue Apr 21, 2024 · 0 comments
Open

Comments

@shaked-sapir
Copy link

shaked-sapir commented Apr 21, 2024

Hi!
I am running the validate_install script (macOS) but get the following error:

(venv) (base) shakedsapir@Shakeds-MBP MineDojo % python scripts/validate_install.py                          
Traceback (most recent call last):
  File "/Users/shakedsapir/Documents/BGU/thesis/MineDojo/scripts/validate_install.py", line 1, in <module>
    import minedojo
  File "/Users/shakedsapir/Documents/BGU/thesis/MineDojo/minedojo/__init__.py", line 1, in <module>
    from .tasks import make
  File "/Users/shakedsapir/Documents/BGU/thesis/MineDojo/minedojo/tasks/__init__.py", line 8, in <module>
    from .meta.base import MetaTaskBase
  File "/Users/shakedsapir/Documents/BGU/thesis/MineDojo/minedojo/tasks/meta/__init__.py", line 1, in <module>
    from .harvest import HarvestMeta
  File "/Users/shakedsapir/Documents/BGU/thesis/MineDojo/minedojo/tasks/meta/harvest.py", line 3, in <module>
    from .base import ExtraSpawnMetaTaskBase
  File "/Users/shakedsapir/Documents/BGU/thesis/MineDojo/minedojo/tasks/meta/base.py", line 9, in <module>
    from ...sim import MineDojoSim
  File "/Users/shakedsapir/Documents/BGU/thesis/MineDojo/minedojo/sim/__init__.py", line 1, in <module>
    from .sim import MineDojoSim
  File "/Users/shakedsapir/Documents/BGU/thesis/MineDojo/minedojo/sim/sim.py", line 8, in <module>
    from lxml import etree
ImportError: dlopen(/Users/shakedsapir/Documents/BGU/thesis/MineDojo/venv/lib/python3.9/site-packages/lxml/etree.cpython-39-darwin.so, 0x0002): Library not loaded: @rpath/libxml2.2.dylib
  Referenced from: <54D111B0-05B3-323E-BDCF-EEE5B737F046> /Users/shakedsapir/Documents/BGU/thesis/MineDojo/venv/lib/python3.9/site-packages/lxml/etree.cpython-39-darwin.so
  Reason: no LC_RPATH's found


I have already installed temurin8 as needed.
Thanks!

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

1 participant