SainsburyWellcomeCentre / amap_python

0 stars 1 forks source link

amap doesn't create the folder before trying to download the atlas #23

Closed ablot closed 6 years ago

ablot commented 6 years ago

If I run python3 setup.py install --install-atlas --user on a new machine, the installer crashes

Traceback (most recent call last):
  File "setup.py", line 120, in <module>
    install_atlas(args.atlas_download_path, args.atlas_install_path)
  File "setup.py", line 53, in install_atlas
    raise AtlasInstallError("Could not find folder {} to install the atlas".format(atlas_install_path))
__main__.AtlasInstallError: Could not find folder /home/blota/.amap/atlas to install the atlas

Creating manually ~/.amap/atlas solves the problem.