astropy: Permission denied for generated parsetab

I am trying to use astroquery to access GAMA Survey.

The supplied test is from astroquery.simbad import Simbad result_table = Simbad.query_object("m1") result_table.pprint(show_unit=True)

I get an error WARNING: Couldn't create 'astropy.units.format.cds_parsetab'. [Errno 13] Permission denied: ' /usr/lib/python3/dist-packages/astropy/units/format/cds_parsetab.py' Now I could use sudo but suspect there is something I should have done at installation that should cause parsetab to be created somewhere other than /usr/lib

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (14 by maintainers)

Most upvoted comments

@KeithSloan - just to echo @bsipocz, definitely don’t feel you have to change your work flow; this is a real bug you uncovered, but it may be in the packaging rather than in astropy. But worth fixing regardless.