[AstroPy] UserWarning When Opening FITS File

j. vickroy jgv.home at gmail.com
Sun Mar 6 12:35:32 EST 2016


Hi Asara,

Thanks for pointing out this is a known issue;  I completely missed that 
in my search.

Perhaps I should revisit Anaconda also.

Regards,
--jv

------ Original Message ------
From: "Asra Nizami" <anizami at macalester.edu>
To: "j. vickroy" <jgv.home at gmail.com>; "Astronomical Python mailing 
list" <astropy at scipy.org>
Cc: "Demitri Muna" <demitri.muna at gmail.com>
Sent: 3/6/2016 10:28:55 AM
Subject: Re: [AstroPy] UserWarning When Opening FITS File

>Hi Vicki,
>
>It seems like this is a known issue as mentioned in 
>https://github.com/astropy/astropy/issues/4398 and you could just 
>ignore the warning. By the way, I have a Windows 10 machine and I use 
>Anaconda and it works really nicely!
>
>Best,
>Asra
>
>On Sun, Mar 6, 2016 at 11:24 AM, j. vickroy <jgv.home at gmail.com> wrote:
>>Thanks for your quick reply.
>>
>>My preference is to avoid these distributions -- mostly because of a 
>>frustrating experience with Canopy a few years back.
>>
>>Do you use the Anaconda distribution on Microsoft Windows?  If so, any 
>>issues with it?
>>
>>--jv
>>
>>
>>------ Original Message ------
>>From: "Demitri Muna" <demitri.muna at gmail.com>
>>To: "j. vickroy" <jgv.home at gmail.com>; "Astronomical Python mailing 
>>list" <astropy at scipy.org>
>>Sent: 3/6/2016 9:03:32 AM
>>Subject: Re: [AstroPy] UserWarning When Opening FITS File
>>
>>>
>>>While not a direct answer to your question, I’d probably recommend 
>>>installing the Anaconda Python:
>>>
>>>https://www.continuum.io/downloads
>>>
>>>Demitri
>>>
>>>---
>>>
>>>On Mar 6, 2016, at 10:48 AM, j. vickroy <jgv.home at gmail.com> wrote:
>>>
>>>>  Hi,
>>>>
>>>>  My system is:
>>>>
>>>>  Microsoft Windows 10 (64-bit)
>>>>  Python 3.5.1
>>>>  AstroPy 1.1.1 (from 
>>>>http://www.lfd.uci.edu/~gohlke/pythonlibs/#astropy)
>>>>  NumPy 1.10.4 (from 
>>>>http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy)
>>>>
>>>>  The following is an interactive session illustrating the warning:
>>>>
>>>>  PythonWin 3.5.1 (v3.5.1:37a07cee5969, Dec  6 2015, 01:54:25) [MSC 
>>>>v.1900 64 bit (AMD64)] on win32.
>>>>  Portions Copyright 1994-2008 Mark Hammond - see 'Help/About 
>>>>PythonWin' for further copyright information.
>>>>  >>> import astropy.io.fits
>>>>  >>> import numpy
>>>>  >>> astropy.__version__
>>>>  '1.1.1'
>>>>  >>> numpy.__version__
>>>>  '1.10.4'
>>>>  >>> sourcefile = 
>>>>r'C:\Users\jgv\Pictures\Astro\Calibration\Darks\DARK_5m_001.fit'
>>>>  >>> HDUs       = astropy.io.fits.open (sourcefile)
>>>>  
>>>>C:\Users\jgv\AppData\Local\Programs\Python\Python35\lib\site-packages\astropy\io\fits\util.py:578: 
>>>>UserWarning: Could not find appropriate MS Visual C Runtime library 
>>>>or library is corrupt/misconfigured; cannot determine whether your 
>>>>file object was opened in append mode.  Please consider using a file 
>>>>object opened in write mode instead.
>>>>    'Could not find appropriate MS Visual C Runtime '
>>>>  >>>
>>>>
>>>>  I would appreciate feedback about what is wrong with my setup and 
>>>>how to repair it.
>>>>
>>>>  Thanks,
>>>>  --jv
>>>>  _______________________________________________
>>>>  AstroPy mailing list
>>>>  AstroPy at scipy.org
>>>>  https://mail.scipy.org/mailman/listinfo/astropy
>>>
>>
>>_______________________________________________
>>AstroPy mailing list
>>AstroPy at scipy.org
>>https://mail.scipy.org/mailman/listinfo/astropy
>
>
>
>--
>Asra Nizami
>Physics with an Astronomy emphasis | Computer Science
>Macalester College '16
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20160306/4212c5e4/attachment.html>


More information about the AstroPy mailing list