Python 3.5, intstall problem

1,062 views
Skip to first unread message

Andrey Tlatov

unread,
Dec 30, 2015, 3:21:02 AM12/30/15
to SunPy
 Hello!

I installed Python 3.5 and syunpy.
But  command
    import sunpy
I get an error:

     from itertools import izip, imap, count

     ImportError: cannot import name 'izip'

I corrected this error in file util.py .

 try:
     from itertools import izip
  except ImportError:  #python3.x
     izip = zip

 try:
     from itertools import imap
  except ImportError:  #python3.x
     imap = map

But now a new problem in file config.py:
   cannot import name 'ConfigParser'

How do I fix this error.

   Best,
        Andrey.

Stuart Mumford

unread,
Dec 30, 2015, 5:53:43 AM12/30/15
to su...@googlegroups.com
Hello Andrey,

The 0.6 release does not support Python 3.

We are currently working on Python 3 support for 0.7, this is partially completed in master at the moment.

Stuart
--
You received this message because you are subscribed to the Google Groups "SunPy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sunpy+un...@googlegroups.com.
To post to this group, send email to su...@googlegroups.com.
Visit this group at https://groups.google.com/group/sunpy.
For more options, visit https://groups.google.com/d/optout.

Andrey Tlatov

unread,
Dec 30, 2015, 9:15:33 AM12/30/15
to SunPy
Thank you!

When can we expect a new 0.7version.

In version 0.6 there any construction of synoptic maps of the daily map (magnetogram).
Also, is there a function PFSS model and of trace of  magnetic force lines.

Best,
    Andrey.




среда, 30 декабря 2015 г., 14:53:43 UTC+4 пользователь Stuart Mumford написал:
Reply all
Reply to author
Forward
0 new messages