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: libcoppeliaSim.so.1: cannot open shared object file: No such file or directory #98

Closed
XuankeShi opened this issue Jan 13, 2020 · 25 comments

Comments

@XuankeShi
Copy link

XuankeShi commented Jan 13, 2020

we i run the example
it occurs an ImportError: libcoppeliaSim.so.1: cannot open shared object file: No such file or directory

@stepjam
Copy link
Owner

stepjam commented Jan 13, 2020

Hi,
When running the examples, are you in the examples folder, rather than the pyrep folder?

@XuankeShi
Copy link
Author

RuntimeError: COPPELIASIM_ROOT defined, but is not a valid path.

Hi,
When running the examples, are you in the examples folder, rather than the pyrep folder?

yes,of course

@XuankeShi
Copy link
Author

XuankeShi commented Jan 13, 2020

2020-01-13 19-31-44屏幕截图
i don't know why,i really need your help. thanks very much.

@XuankeShi
Copy link
Author

2020-01-13 19-33-12屏幕截图

@stepjam
Copy link
Owner

stepjam commented Jan 13, 2020

Ahh I see you are using conda. There are ongoing issues with this; see #93 #94.

@XuankeShi
Copy link
Author

XuankeShi commented Jan 13, 2020

i have try the python3.7 and reorder the LD_LIBRARY_PATH setting. but it dosen't work.

@stepjam
Copy link
Owner

stepjam commented Jan 13, 2020

Hmm, I'm not sure. Have you followed the updated readme in #93?
Let's sanity check something; can you run/install outside conda for now and check if that works?

@XuankeShi
Copy link
Author

i try to install outside conda,but it also failed. such a bad news,i am so sad;
2020-01-13 21-27-00屏幕截图

@raghada
Copy link

raghada commented Jan 15, 2020

Same here, I'm not using conda either

@stepjam
Copy link
Owner

stepjam commented Jan 15, 2020

Are you able to run CoppeliaSim as normal (without Python)?

@raghada
Copy link

raghada commented Jan 15, 2020

Yes

@stepjam
Copy link
Owner

stepjam commented Jan 15, 2020

I see the problem in the case of the last screenshot posted by @XuankeShi. You were running under python(2) rather than python3. Perhaps this is your issue too @raghada?

@raghada
Copy link

raghada commented Jan 16, 2020

No, I'm using python3

@raghada
Copy link

raghada commented Jan 16, 2020

Screenshot from 2020-01-16 09-00-43

@XuankeShi
Copy link
Author

XuankeShi commented Jan 16, 2020

i hope we can solve this question. my friend and i have the same question. and we don't know wnowhy.

@XuankeShi
Copy link
Author

I see the problem in the case of the last screenshot posted by @XuankeShi. You were running under python(2) rather than python3. Perhaps this is your issue too @raghada?

i use python3 ,the screenshot i post may be a mistake.

@stepjam
Copy link
Owner

stepjam commented Jan 16, 2020

What version of CoppeliaSim are you both using (major/minor/revision number)?

@raghada
Copy link

raghada commented Jan 16, 2020

I'm using V4.0.0 Rev 4

@raghada
Copy link

raghada commented Jan 17, 2020

I tried reinstalling ubuntu as well as CoppeliaSim, no thing works.

@stepjam
Copy link
Owner

stepjam commented Jan 17, 2020

I have some good news. I was able to reproduce by pulling the latest CoppeliaSim version. I had V4.0.0 Rev 2 locally. I can't fix this right now, but should be able to tomorrow (as long as the fix is a simple as I imagine).

For now, I recommend that you use revision 2 rather than revision 4.

@raghada
Copy link

raghada commented Jan 17, 2020

Very much appreciated!

@raghada
Copy link

raghada commented Jan 17, 2020

Coulod you please advice on where to find revision 2? I was not able to find it in their website

@xysong1201
Copy link

Hi guys remember to source ~/.bashrc after you change the path, this solves the problem on my side..

@Murphy103
Copy link

launch pycharm in terminal probably can solve this problem,because Pycharm could load LD_library_path from bashrc when you launch pycharm in terminal.

@whc688
Copy link

whc688 commented Sep 18, 2023

launch pycharm in terminal probably can solve this problem,because Pycharm could load LD_library_path from bashrc when you launch pycharm in terminal.

this works for me

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

6 participants