我已开始按照http://www.coin-or.org/PuLP/main/installing_pulp_at_home.html#installation的说明开始,我使用"从源安装的Windows安装"
安装了PuLP当我输入from pulp import *
时,它会显示以下消息:
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
import pulp
File "C:\Python34\lib\site-packages\pulp-1.5.6-py3.4.egg\pulp\__init__.py", line 34, in <module>
from .pulp import *
File "C:\Python34\lib\site-packages\pulp-1.5.6-py3.4.egg\pulp\pulp.py", line 114, in <module>
from odict import OrderedDict
File "C:\Python34\Lib\odict.py", line 614
raise TypeError, ('pop expected at most 2 arguments, got %s' %
^
SyntaxError: invalid syntax
有人可以帮我解决这个问题吗?