You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying to run LunarLander-v2 on Ububtu 16.
If I am opening ipython i can do import Box2D without an error.
Unfortunately, I am using a python virtualenv for tensorflow. At this env I get the following:
In [1]: import Box2D
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-1-be4d5ad96d72> in <module>()
----> 1 import Box2D
/home/yuval/tensorflow/lib/python2.7/site-packages/Box2D/__init__.py in <module>()
18 # 3. This notice may not be removed or altered from any source distribution.
19 #
---> 20 from .Box2D import *
21 __author__ = '$Date$'
22 __version__ = '2.3.3'
/home/yuval/tensorflow/lib/python2.7/site-packages/Box2D/Box2D.py in <module>()
432 """b2CheckPolygon(b2PolygonShape shape, bool additional_checks=True) -> bool"""
433 return _Box2D.b2CheckPolygon(shape, additional_checks)
--> 434 RAND_LIMIT = _Box2D.RAND_LIMIT
435
436 def b2Random(*args):
AttributeError: 'module' object has no attribute 'RAND_LIMIT'
I tried to install swig from scratch as well as pybox2d (As suggested at #100 (comment)).
But nothing worked.
Do you guys have any suggestions?
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to run LunarLander-v2 on Ububtu 16.
If I am opening ipython i can do import Box2D without an error.
Unfortunately, I am using a python virtualenv for tensorflow. At this env I get the following:
I tried to install swig from scratch as well as pybox2d (As suggested at #100 (comment)).
But nothing worked.
Do you guys have any suggestions?
The text was updated successfully, but these errors were encountered: