-
Notifications
You must be signed in to change notification settings - Fork 125
libbz2.so.1.0 cannot open shared object file #11
Comments
One easy suggestion is to try running the demo code from a different directory. This error can happen if you run the demo from the Nucleus base directory, because then Python tries to load Nucleus from that location rather than from the installed location, and only the installed location has the compiled .so files. If that doesn't work, you will want to run
Once you have that directory, run That directory should contain a bunch of .so files like bedgraph_reader.so, gff_writer.so, etc. If it doesn't, there was an installation error. |
I run outside the installation folder, but still got the error. run
I saw the .so files under
|
Just update your |
Sorry @pgrosu, how do I update? |
Here are a few links describing it for https://www.tecmint.com/understanding-shared-libraries-in-linux/ The same for https://docs.python.org/2/using/cmdline.html#envvar-PYTHONPATH Make sure you echo them out for (i.e.
Basically standard Linux config :) ~p |
Problem for me is I don't know where |
@ReedWarbler Which linux distribution do you have (i.e. Ubuntu, Redhat, etc)? I can point you to where you can get the package for it from. Alternatively, you can compile it from source, which you can get it from here: |
Thank you very much! Update the LD_LIBRARY_PATH definitely fixed all of my problems. |
You're very welcome @xyq013563! |
I met an issue after finished installing nucleus using command (no error happens):
pip install --user google-nucleus
However, when I try to run the following demo code, I got error:
libbz2.so.1.0: cannot open shared object file: No such file or directory
Any suggestion for solving the issue? Thank you!
The text was updated successfully, but these errors were encountered: