TheMightyLlama
TheMightyLlama

Reputation: 1273

I'm installing cortex and am receiving a python 'configparser' error when running the main file

I've cloned the cortex repo and change the python path in the main file from:

#!/usr/bin/env python3

to

#!/usr/bin/python2.7

Which is what I'm running.

However, on running the application I get the below

cortex$ ./cortex pirateparty
Traceback (most recent call last):
File "./cortex", line 10, in <module>
from configparser import ConfigParser
ImportError: No module named configparser

Re-reading the above, I suspect I need to install python 3. Is this the case?

Upvotes: 0

Views: 73

Answers (1)

lapinkoira
lapinkoira

Reputation: 8998

You need to install configparser library which you probably dont have in your other python enviorment, run:

pip install configparser

Upvotes: 1

Related Questions