bwrc / midas

MIDAS (Modular Integrated Distributed Analysis System)
Other
18 stars 6 forks source link

Config Parser Problem #1

Closed msimar closed 9 years ago

msimar commented 9 years ago

I was doing setup for midas, but stuck with following error !!

msingh@svm-34:~/codes/midas$ python ./examples/midas_node_example_A.py config.ini node_A Traceback (most recent call last): File "./examples/midas_node_example_A.py", line 8, in from midas.node import BaseNode File "/usr/local/lib/python2.7/dist-packages/midas-0.1.1-py2.7.egg/midas/node.py", line 19, in from . import utilities as mu File "/usr/local/lib/python2.7/dist-packages/midas-0.1.1-py2.7.egg/midas/utilities.py", line 16, in import configparser ImportError: No module named configparser

msingh@svm-34:~/codes/midas$ python --version Python 2.7.6

Looking forward - how to fix this !!

aheneliu commented 9 years ago

Hi!

You are using Python 2, but MIDAS requires Python 3. Plese try using Python 3, which has the 'configparser' built-in: https://docs.python.org/3.4/library/configparser.html#module-ConfigParser

msimar commented 9 years ago

thanks, I got it.

after symlink to python3, I realized, PIP should also be python3-pip , otherwise, it will not allow to manage midas.