Missing Module: six ?

Per your instructions, I downloaded [] and installed using the ‘wizard’. The file I’m trying to execute is currently in a PyCharm project, and the Error Trace I get is as follows:

C:\Python34\python.exe “C:/Users/Ralph/PycharmProjects/anuASTRO4x/src/Euler’s Method.py”

Traceback (most recent call last):
File “C:/Users/Ralph/PycharmProjects/anuASTRO4x/src/Euler’s Method.py”, line 21, in
import pylab # This program requires the matplotlib python library for the plots.
File “C:\Python34\lib\site-packages\pylab.py”, line 1, in
from matplotlib.pylab import *
File “C:\Python34\lib\site-packages\matplotlib_init_.py”, line 105, in
import six
ImportError: No module named ‘six’
Euler’s Method

‘from matplotlib.pylab import *’ calls ‘init-py’ and tries [unsuccessfully] to 'import ‘six’.

What do you suggest I do to correct the ImportError: No module named ‘six’ ?

Thanks for the help, Ralph

Hhm, that is one of the requirements, see under the Windows section:
You should be able to install them with ‘pip’ - e.g. ‘pip install
six’
numpy is a bit more of a hazzle, in the past Christoph Gohlke’s site
had .exe’s but there are now wheels, so you need to download the
correct one (win32 and py3.4) and then use pip to install it.
Werner

···

Hi Ralph,

  On 2/13/2015 12:40, ralph hosmer wrote:
            Per

your instructions, I downloaded [] and installed using
the ‘wizard’.� The file I’m trying to execute is
currently in a PyCharm project, and the Error Trace I
get is as follows:

            C:\Python34\python.exe

“C:/Users/Ralph/PycharmProjects/anuASTRO4x/src/Euler’s
Method.py”

Traceback (most recent call last):

          � File

“C:/Users/Ralph/PycharmProjects/anuASTRO4x/src/Euler’s
Method.py”, line 21, in

          ��� import pylab # This program requires the matplotlib

python library for the plots.

          � File "C:\Python34\lib\site-packages\pylab.py", line 1,

in

          ��� from matplotlib.pylab import *

          � File

“C:\Python34\lib\site-packages\matplotlib_init_.py”,
line 105, in

          ��� import six

          ImportError: No module named 'six'

Euler’s Method

            'from

matplotlib.pylab import *’ calls ‘init-py’ and tries
[unsuccessfully] to 'import ‘six’.

            What

do you suggest I do to correct the ImportError: No
module named ‘six’ ?

http://matplotlib.org/users/installing.html?highlight=requirements

https://pip.pypa.io/en/latest/user_guide.html#installing-from-wheels
http://www.lfd.uci.edu/~gohlke/pythonlibs/