我想使用storm在python中创建一个hello world。
我的服务器管理器(Linux 服务器)告诉我,storm 已安装在服务器上,我现在看到了控制面板。
当我尝试按照本教程所述导入风暴时:https ://storm.canonical.com/Tutorial#Importing出现错误说:
ImportError: No module named storm
我应该怎么做才能导入这个库?
我想使用storm在python中创建一个hello world。
我的服务器管理器(Linux 服务器)告诉我,storm 已安装在服务器上,我现在看到了控制面板。
当我尝试按照本教程所述导入风暴时:https ://storm.canonical.com/Tutorial#Importing出现错误说:
ImportError: No module named storm
我应该怎么做才能导入这个库?
你的操作系统版本是多少?它可能不会安装成功。您在该 ppa 中的操作系统版本不起作用。
尝试:
sudo apt-get --purge remove python-storm
sudo rm -rf /etc/apt/sources.list.d/storm-ppa-*.list
sudo apt-get update
sudo apt-get install python-storm
或者使用pypi重新安装