anibali / h36m-fetch

Human 3.6M 3D human pose dataset fetcher
Apache License 2.0
367 stars 48 forks source link

Update Dockerfile #29

Closed fwilliams closed 4 years ago

fwilliams commented 4 years ago

Fixes the following error which I get when running docker-compose run --rm --user="$(id -u):$(id -g )" main python3 process_all.py

Traceback (most recent call last):
  File "process_all.py", line 6, in <module>
    from spacepy import pycdf                                       
  File "/home/user/miniconda/lib/python3.6/site-packages/spacepy/__init__.py", line 329, in <module>
    _read_config(rcfile)
  File "/home/user/miniconda/lib/python3.6/site-packages/spacepy/__init__.py", line 297, in _read_config
    _write_defaults(rcfile, defaults)
  File "/home/user/miniconda/lib/python3.6/site-packages/spacepy/__init__.py", line 200, in _write_defaults
    f = open(rcfile, 'r+t') #Avoid race condition, open for read and write         
PermissionError: [Errno 13] Permission denied: '/home/user/.spacepy/spacepy.rc'
anibali commented 4 years ago

Thanks!