Open SolbiatiAlessandro opened 5 years ago
I tried
apt-get install libpcre16-3
And I get E: Unable to locate package libpcre16-3
To give more context on the missing library: libpcre3
any idea on this?
same troubles here - did you solve it?
Hi, I tried for two weeks but without success. I even opened an issue with my Google Cloud Support but they didn't reply. I am still trying, post here if you find a solution or some hint.
So I installed roboschool just by using pip install roboschool. Then I got the same error and I fixed it with apt-get install libpcre3-dev, well partially...
@CommanderCero were you on google cloud? because it doesn't work for me
@SolbiatiAlessandro
I've tested this on an Ubuntu 16 and 18 VM, aswell on an "actual" Ubuntu 18 OS and in all versions when i run pip install roboschool and afterwards try to import roboschool it throws ImportError: libpcre16.so.3: cannot open shared object file: No such file or directory
I've also managed to fix this issue in all version by installing libpcre3-dev. Well if it would really help solve the issue for other people is still questionable, as mentioned it still didn't work afterwards...
@CommanderCero were you on google cloud? because it doesn't work for me
I tried sudo apt-get install libpcre16-3 and it worked for me. Did you install the graphics library libgl1-mesa-dev? If you haven't I would try it using: sudo apt-get install libgl1-mesa-dev, I am not entirely sure if this will fix the problem as libpcre is a regular expressions engine.
So I installed roboschool just by using pip install roboschool. Then I got the same error and I fixed it with apt-get install libpcre3-dev, well partially...
What if I don't have the root right to install libpcre3-dev, can I install it by conda or other methods?
I'm also finding myself in a permission issue here - I'd been relying on a pip install roboschool
working smoothly on a server I don't have sudo rights on. Are there alternative routes to installing these missing packages, or workarounds? I think the conda installation instructions here still suppose sudo access for library installations.
I tried sudo apt-get install libpcre16-3 and it worked for me. @leoi137 's solution worked for me.
It's still not installing properly. On Ubuntu 18.04.5, after installing libpcre16-3:
$ sudo apt-get install libpcre16-3
$ python -c "import roboschool"
Illegal instruction
On Centos 7, libpcre16.so.3 is not available as a package.
Does not work to install roboschool from sources either. That module is deprecated, it has been replaced by PyBullet.
On MacOS, get the following error:
$ ./bin/setup
Error: caskroom/cask was moved. Tap homebrew/cask instead.
I think it would help if we knew the exact Ubuntu version this is expected to work with. Even if it's an older Ubuntu, it could be run in a Docker container.
you did it? I cant solve that problem still..
I am trying to install roboschool on a Google AI Platform instance.
I get the following error
from roboschool import cpp_household as cpp_household ImportError: libpcre16.so.3: cannot open shared object file: No such file or directory
Unfortunately I can't ssh into the machine and can not give more detail on how to repro. I investigated a bit and running the commandldd cpp_household.so
I see how the machine can not findlibpcre16.so.3
. Here is the output of the command:I tried the following:
apt-get install libpcre-3
And it tells me thatlibpcre3 is already the newest version (2:8.38-3.1).
Any idea on why I don't have this specific library? Any idea on how to fix it?