python - Difficulty installing combinatorics module on Mac OSX -


i attempted run program plays mastermind, here: http://www.python-course.eu/mastermind.php

to so, installed python3.4.3 first.

i ran program, returned:

traceback (most recent call last):   file "mastermind_p1_trim.py", line 5, in <module>     combinatorics import all_colours importerror: no module named 'combinatorics' 

so navigated https://pypi.python.org/pypi/combinatorics

and downloaded it, ran python3

python3 setup.py install 

from within directory downloaded.

this returned

writing /library/frameworks/python.framework/versions/3.4/lib/python3.4/site-packages/combinatorics-1.4.5-py3.4.egg-info 

finally, sys.path returns

['', '/library/frameworks/python.framework/versions/3.4/lib/python34.zip', '/library/frameworks/python.framework/versions/3.4/lib/python3.4', '/library/frameworks/python.framework/versions/3.4/lib/python3.4/plat-darwin', '/library/frameworks/python.framework/versions/3.4/lib/python3.4/lib-dynload', '/library/frameworks/python.framework/versions/3.4/lib/python3.4/site-packages']

when running python3.

so, not know why still receiving error,

importerror: no module named 'combinatorics' 

i have looked @ other similar pages on so, suggestions there not seems solve problem. me figure out?

combinatorics might not compatible python 3.4.3

here suggestions:

  • un-install python 3.4.3 , it's resources
  • install python 2.7
  • install combinatorics

read more in detail

here guide activestate:

  1. download , install activepython

  2. [ignore this] buy , install business edition license account.activestate.com

  3. open command prompt

  4. type pypm install combinatorics


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -