Public bug reported:

Taken from https://github.com/astropy/astropy/issues/8783

KeithSloan commented:

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

[...] Installed on Ubuntu 18.04 with

    sudo apt-get update -y
    sudo apt-get install -y python3-astroquery

    Setting up python3-astropy (3.0-3) ...
    Setting up python3-astroquery (0.3.7+dfsg-1) ...

** Affects: astropy (Ubuntu)
     Importance: Undecided
     Assignee: Ole Streicher (olebole)
         Status: New

** Changed in: astropy (Ubuntu)
     Assignee: (unassigned) => Ole Streicher (olebole)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1831421

Title:
  Permission denied for generated parsetab

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/astropy/+bug/1831421/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to