dora-rs / dora-drives

A step-by-step tutorial that allows beginners to write their own autonomous vehicle program from scratch using a simple starter kit. Dora-drives makes learning autonomous vehicle systems faster and easier.
https://www.dora-rs.ai/docs/guides/dora-drives/
Apache License 2.0
48 stars 11 forks source link

error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory #58

Closed meua closed 1 year ago

meua commented 1 year ago

Describe the bug

(dora3.7) jarvis@jia:~/coding/rust_home/github.com/dora-rs/dora/binaries/daemon/src$ cargo run
   Compiling pyo3-build-config v0.18.2
   Compiling clap v4.1.11
   Compiling pyo3-ffi v0.18.2
   Compiling pyo3 v0.18.2
   Compiling arrow v35.0.0
   Compiling dora-node-api v0.2.2 (/home/jarvis/coding/rust_home/github.com/dora-rs/dora/apis/rust/node)
   Compiling dora-operator-api-python v0.2.2 (/home/jarvis/coding/rust_home/github.com/dora-rs/dora/apis/python/operator)
   Compiling dora-runtime v0.2.2 (/home/jarvis/coding/rust_home/github.com/dora-rs/dora/binaries/runtime)
   Compiling dora-daemon v0.2.2 (/home/jarvis/coding/rust_home/github.com/dora-rs/dora/binaries/daemon)
    Finished dev [unoptimized + debuginfo] target(s) in 9.55s
     Running `/home/jarvis/coding/rust_home/github.com/dora-rs/dora/target/debug/dora-daemon main.rs`
/home/jarvis/coding/rust_home/github.com/dora-rs/dora/target/debug/dora-daemon: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

To Reproduce Steps to reproduce the behavior:

  1. Dora start daemon: cd /path/to/dora-rs/dora cargo run

Environments (please complete the following information):

meua commented 1 year ago

Solve this problem reference link: https://github.com/deepmind/acme/issues/47

 export LD_LIBRARY_PATH=/path/to/anaconda3/envs/dora3.7/lib