pip --help
, 正确的话, 可以看到 python 的帮助信息pip install robotframework
pip install wxpython
pip install robotframework-ride
ride.py
, 召唤 ride 窗口Traceback (most recent call last):
File "C:\Python27\lib\site-packages\robotide\__init__.py", line 83, in main
_run(inpath, not noupdatecheck, debug_console)
File "C:\Python27\lib\site-packages\robotide\__init__.py", line 102, in _run
from robotide.application import RIDE
File "C:\Python27\lib\site-packages\robotide\application\__init__.py", line 16, in <module>
from .application import RIDE, Project
File "C:\Python27\lib\site-packages\robotide\application\application.py", line 22, in <module>
from robotide.namespace import Namespace
File "C:\Python27\lib\site-packages\robotide\namespace\__init__.py", line 16, in <module>
from .namespace import Namespace
File "C:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 31, in <module>
from robotide.publish import PUBLISHER, RideSettingsChanged, RideLogMessage
File "C:\Python27\lib\site-packages\robotide\publish\__init__.py", line 123, in <module>
from .messages import *
File "C:\Python27\lib\site-packages\robotide\publish\messages.py", line 21, in <module>
from .messages2 import *
File "C:\Python27\lib\site-packages\robotide\publish\messages2.py", line 24, in <module>
from robotide.publish import publisher
File "C:\Python27\lib\site-packages\robotide\publish\publisher.py", line 24, in <module>
from pubsub import pub
File "C:\Python27\lib\site-packages\pubsub\pub.py", line 146
def getDefaultPublisher() -> Publisher:
^
SyntaxError: invalid syntax
robotframework-ride 1.7.3.1 has requirement Pypubsub==3.3.0, but you'll have pypubsub 4.0.0 which is incompatible.
pip uninstall pypubsub
pip install pypubsub==3.3.0
原文:https://www.cnblogs.com/xy14/p/10441061.html