【问题标题】:Using storm in python在 python 中使用风暴
【发布时间】:2014-02-18 08:44:46
【问题描述】:

我想使用storm在python中创建一个hello world。
我的服务器管理器(Linux 服务器)告诉我,storm 已安装在服务器上,我现在看到了控制面板。
当我尝试按照本教程所述导入风暴时:https://storm.canonical.com/Tutorial#Importing 出现错误:

ImportError: No module named storm  

我应该怎么做才能导入这个库?

【问题讨论】:

  • 您的问题与实时计算系统“Storm”无关:/

标签: python importerror storm-orm


【解决方案1】:

您的操作系统版本是多少?它可能不会安装成功。您在该 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重新安装

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2010-10-31
    • 1970-01-01
    • 2015-01-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-12-28
    • 2023-04-04
    相关资源
    最近更新 更多