You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same issue (on windows , python 2.7.10). It can be resolved by modifying 2 lines in the the file:
metl/source/base.py in OpenResource
Line 46 reads:
file_pointer = codecs.open( resource, mode, encoding )
I changed it into:
file_pointer = codecs.open( resource, mode+'b', encoding )
Line 49 reads:
file_pointer = codecs.open( resource, mode )
I changed it into:
file_pointer = codecs.open( resource, mode+'b' )
This means the mode parameter only gets changed if the resource is a file (and not an URL). Adding the 'b' seems necessary on windows (and it doesn't do anything on Linux, so it should be fine).
Maybe there is a more elegant solution, but this seems to work fine for me.
Using Windows and Python 2.7 I get an extra line between all rows of my output.
The text was updated successfully, but these errors were encountered: