Skip to content

Having trouble to run examples #1

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

Open
ggttkl opened this issue Feb 12, 2019 · 0 comments
Open

Having trouble to run examples #1

ggttkl opened this issue Feb 12, 2019 · 0 comments

Comments

@ggttkl
Copy link

ggttkl commented Feb 12, 2019

I followed instructions to run double_pendulum_simulator.py
Here are my results
Traceback (most recent call last):
File "double_pendulum_simulator.py", line 1, in
from pydrake.all import ( BasicVector, DiagramBuilder, FloatingBaseType,
File "/drake/lib/python2.7/site-packages/pydrake/all.py", line 34, in
from .systems.all import *
File "/drake/lib/python2.7/site-packages/pydrake/systems/all.py", line 7, in
from .drawing import *
File "/drake/lib/python2.7/site-packages/pydrake/systems/drawing.py", line 9, in
import matplotlib.image as mpimg
File "/usr/lib/python2.7/dist-packages/matplotlib/init.py", line 1133, in
rcParams = rc_params()
File "/usr/lib/python2.7/dist-packages/matplotlib/init.py", line 967, in rc_params
fname = matplotlib_fname()
File "/usr/lib/python2.7/dist-packages/matplotlib/init.py", line 796, in matplotlib_fname
configdir = _get_configdir()
File "/usr/lib/python2.7/dist-packages/matplotlib/init.py", line 649, in _get_configdir
return _get_config_or_cache_dir(_get_xdg_config_dir())
File "/usr/lib/python2.7/dist-packages/matplotlib/init.py", line 626, in _get_config_or_cache_dir
return _create_tmp_config_dir()
File "/usr/lib/python2.7/dist-packages/matplotlib/init.py", line 555, in _create_tmp_config_dir
tempdir = os.path.join(tempdir, 'matplotlib-%s' % getpass.getuser())
File "/usr/lib/python2.7/getpass.py", line 158, in getuser
return pwd.getpwuid(os.getuid())[0]
KeyError: 'getpwuid(): uid not found: 197609'
All the python files came across the same situation and I cannot run jupyter scripts as long as I import underactuated packages.
Could anyone share some suggestions for this issue. Thanks in advance!

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

1 participant