spacetelescope / imexam

imexam is a python tool for simple image examination, and plotting, with similar functionality to IRAF's imexamine
http://imexam.readthedocs.io
BSD 3-Clause "New" or "Revised" License
74 stars 45 forks source link

install aborted in 0.9.1 #227

Closed baja2k9 closed 3 years ago

baja2k9 commented 3 years ago

hello,

There is a typo? in release 0.9.1, coud not install: Collecting imexam Downloading https://files.pythonhosted.org/packages/c5/1f/4b735cf7d2558c9356a884bcaca02c098bd3bd499f8727787affbf177ee0/imexam-0.9.1.tar.gz (21.4MB) 100% |████████████████████████████████| 21.4MB 66kB/s Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-PAQtxS/imexam/setup.py", line 218 print(f"removing {myfile}") ^ SyntaxError: invalid syntax

sosey commented 3 years ago

it's an f-string, and works in python 3.6+, check your installed version of python? and then check your environment to make sure it's pulling the version of python you expect?

baja2k9 commented 3 years ago

I was trying to update my old server (Ubuntu 18.04.5 LTS) script that uses Python 2.7.17.

Will leave with 0.8.1. as new version did not install. Thanks,

sosey commented 3 years ago

ahhh, that would be it! Yah, the newer versions of the package are no longer py2.7 compliant. I'll close this, let me know if you have any other issues.