douglasrizzo / catsim

Computerized Adaptive Testing Simulator
GNU Lesser General Public License v3.0
124 stars 35 forks source link

error importing [SyntaxError: invalid syntax] #4

Closed eloiup closed 7 years ago

eloiup commented 7 years ago

pip installed it, when i try:

from catsim.estimation import *

i get

File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/catsim/estimation.py", line 18
    def __init__(self, precision: int = 6, dodd: bool = False, verbose: bool = False):
                                ^
SyntaxError: invalid syntax

any advice?

douglasrizzo commented 7 years ago

It seems you're trying to use catsim under Python 2.7. The package only supports Python 3 and up.

eloiup commented 7 years ago

k thx! will get 3.0 for it