perwin / pyimfit

Python wrapper for Imfit (https://github.com/perwin/imfit)
GNU General Public License v3.0
33 stars 4 forks source link

Unable to install due to keyword error #3

Closed AutoAstrist closed 3 years ago

AutoAstrist commented 3 years ago

Hi,

I tried to install Pyimfit onto my Ubuntu machine via the pip3 install command, but I'm getting this error when compiling: check_gcc_version() got an unexpected keyword argument 'getVersion'

I checked through your setup.py and believe the error is in line 212 ( gccVersionNum = check_gcc_version(getVersion=True)). In the definition of check_gcc_version, the keyword is getVersionNum. I believe this is what is causing the compilation error when installing on Linux when the gcc version is checked.

perwin commented 3 years ago

Thanks for letting me know about this! Let me see if I can reproduce and fix this.

AutoAstrist commented 3 years ago

Great. Keep me updated.

perwin commented 3 years ago

The newest version (0.10.2) should contain a fix; can you let me know if it works for you?

AutoAstrist commented 3 years ago

Yes it works. Thank you.