pip install issue - Windows 10

Post Reply
dramos
Posts: 2
Joined: Tue Sep 18, 2018 5:08 pm

pip install issue - Windows 10

Post by dramos » Tue Sep 18, 2018 5:19 pm

Hello,

When trying to install pybullet with pip option (pip3 install PyBullet / pip install PyBullet / pip install -U PyBullet) I always get following errors:

Code: Select all

    LINK : error LNK2001: unresolved external symbol PyInit_eglRenderer
    build\temp.win32-3.6\Release\examples/SharedMemory/plugins/eglPlugin\eglRenderer.cp36-win32.lib : fatal error LNK112
0: 1 unresolved externals
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.15.26726\\bin
\\HostX86\\x86\\link.exe' failed with exit status 1120

    ----------------------------------------
Command "c:\users\davidramoscalvo\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokeniz
e;__file__='C:\\Users\\DAVIDR~1\\AppData\\Local\\Temp\\pip-install-ewdgrrj_\\PyBullet\\setup.py';f=getattr(tokenize, 'op
en', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --reco
rd C:\Users\DAVIDR~1\AppData\Local\Temp\pip-record-u9tbhef_\install-record.txt --single-version-externally-managed --com
pile" failed with error code 1 in C:\Users\DAVIDR~1\AppData\Local\Temp\pip-install-ewdgrrj_\PyBullet\
I'm using Windows 10 / python 3.6 / pip version 18.0 / Visual Studio 2017

Does anybody have the same issue?

Thank you

ph_bullet
Posts: 3
Joined: Wed Sep 19, 2018 1:19 am

Re: pip install issue - Windows 10

Post by ph_bullet » Wed Sep 19, 2018 1:22 am

I get the same error message when trying to install pybullet
with command pip install pybullet

I use Windows 7 / python 3.7 / pip version 18.0 / MS C++ Compile tools

_pillow
Posts: 1
Joined: Wed Sep 19, 2018 11:38 pm

Re: pip install issue - Windows 10

Post by _pillow » Wed Sep 19, 2018 11:40 pm

Same here I had to install version 2.1.3

you can try:
pip install pybullet==2.1.3

User avatar
Erwin Coumans
Site Admin
Posts: 4193
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: pip install issue - Windows 10

Post by Erwin Coumans » Thu Sep 20, 2018 11:02 pm

The latest pybullet should work fine.
Can you try

Code: Select all

pip install pybullet==2.1.9
or

Code: Select all

pip install -U -no-cache-dir pybullet
See also https://github.com/bulletphysics/bullet3/issues/1888

ph_bullet
Posts: 3
Joined: Wed Sep 19, 2018 1:19 am

Re: pip install issue - Windows 10

Post by ph_bullet » Fri Sep 21, 2018 6:31 am

I tested both ways to build v2.1.9 and still get the same error message.

BTW: I'm building it from Anaconda prompt, in case it matters.

User avatar
Erwin Coumans
Site Admin
Posts: 4193
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: pip install issue - Windows 10

Post by Erwin Coumans » Fri Sep 21, 2018 5:10 pm

eglRender plugin should only be enabled on Linux. PyBullet 2.2.0 should fix it.

Code: Select all

pip install --no-cache-dir -U pybullet
Can you try it and report back?

ph_bullet
Posts: 3
Joined: Wed Sep 19, 2018 1:19 am

Re: pip install issue - Windows 10

Post by ph_bullet » Sat Sep 22, 2018 12:25 pm

Now building was succesful. V2.2.0
Thanks!

dramos
Posts: 2
Joined: Tue Sep 18, 2018 5:08 pm

Re: pip install issue - Windows 10

Post by dramos » Wed Sep 26, 2018 10:17 am

Issue is solved.

Thank you!!

shanteshmani
Posts: 1
Joined: Tue Mar 05, 2019 11:00 am

Re: pip install issue - Windows 10

Post by shanteshmani » Tue Mar 05, 2019 11:09 am

Hi I am having same issue

have tried installing using several methods

Code: Select all

pip install gym==0.10.5
pip install pybullet==2.0.8
also attempted as per previous posts

Code: Select all

pip install -U -no-cache-dir pybullet
keep getting this same error

Code: Select all

Command "c:\programdata\anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\shant\\AppData\\Local\\Temp\\pip-install-z24ne3k4\\pybullet\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\shant\AppData\Local\Temp\pip-record-8_lbo5pk\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\shant\AppData\Local\Temp\pip-install-z24ne3k4\pybullet\

Post Reply