eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.51k stars 1.42k forks source link

SUMO problem #15205

Open Sky-alt-ux opened 2 months ago

Sky-alt-ux commented 2 months ago

Hi SUMO developers:

I have followed steps on the official website but still could not open sumo-gui, when I enter sumo-gui in my terminal, it seems like some libraries are missing, and I do not know how to fix it:

dyld[26834]: Library not loaded: /opt/homebrew/opt/proj/lib/libproj.25.dylib Referenced from: /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/sumo/bin/sumo Reason: tried: '/opt/homebrew/opt/proj/lib/libproj.25.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/proj/lib/libproj.25.dylib' (no such file), '/opt/homebrew/opt/proj/lib/libproj.25.dylib' (no such file)

can somebody please tell me the solution, or something that I can uninstall and reinstall? By the way, I am using MacOS

namdre commented 2 months ago

see solution in #6232

namdre commented 2 months ago

see also #14493 and https://github.com/eclipse-sumo/sumo/issues/13147#issuecomment-1719987450

Sky-alt-ux commented 2 months ago

@namdre thanks mate! I saw the #13147(comment), but how can I rename this on my terminal? Can you please provide a detailed command? Pls!! Thanks

Sky-alt-ux commented 2 months ago

and also when I tried uninstall and install sumo, there's one mismatch which I dont know how to solve:

Error: sumo: SHA256 mismatch Expected: 132e3f4430847e1b9291d5f54a0a97ab67b4d7e3edcc4028a5e663d92fa10abc Actual: 6fdbc87a5ff1f9ee3e3d27c1bc4d1fd2e071a8d9153fdbeb03679f384bba7e73 File: /Users/skyzhou/Library/Caches/Homebrew/downloads/a4d0436c606851be837514eece6e60d346e9ba44ba301892ccf880ec5c587995--proj--9.4.1.arm64_sonoma.bottle.tar.gz

can somebody take a look and offer some helps?

behrisch commented 2 months ago

@namdre thanks mate! I saw the #13147(comment), but how can I rename this on my terminal? Can you please provide a detailed command? Pls!! Thanks

You can do something like mv /usr/local/lib/libtiff.6.dylib /usr/local/lib/libtiff.5.dylib

Sky-alt-ux commented 2 months ago

@namdre thanks mate! I saw the #13147(comment), but how can I rename this on my terminal? Can you please provide a detailed command? Pls!! Thanks

You can do something like mv /usr/local/lib/libtiff.6.dylib /usr/local/lib/libtiff.5.dylib

emmm it seems like I solved the previous problem, but here is a new error: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.12/bin/sumo-gui", line 5, in from sumo import sumo_gui ImportError: cannot import name 'sumo_gui' from 'sumo' (/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/sumo/init.py)

how to fix it buddy? @behrisch @namdre

behrisch commented 2 months ago

You may have different python versions on your machine, please make sure you always use the same. How exactly did you install sumo?