use_2to3 in setup.py invalid?
Closed this issue · 4 comments
ianan commented
Installing on a fresh anaconda(python 3.9.7)/sunpy setup I was getting the error
error in nustar_pysolar setup command: use_2to3 is invalid.
after running python setup.py install
.
Deleting line 117 in setup.py use_2to3=True,
fixed the issue and could install no problem.
bwgref commented
I haven't tested with python 3.9 yet...nor have I tested with astropy v4 (I think?). My setup.py for this is probably four years old, so it's probably way out of date.
ianan commented
I think it was actually with astropy v5... but a simple fix if others encounter the same issue on newer installs.