python-twitterを使用してbotを作ろうとしています。 こちら( http://pika-shi.hatenablog.com/entry/20110902/1314965054 )の記事を参考に、 simplejson 3.6.4 python-oauth2 HTTPLib2 python-twitter-1.1 の順にインストールしましたが、simplejson 3.6.4と、python-oauth2に関して下記のようなメッセージが出ました。 simplejson 3.6.4 ( http://cheeseshop.python.org/pypi/simplejson ) ---ここから--- *************************************************************************** WARNING: The C extension could not be compiled, speedups are not enabled. Failure information, if any, is above. I'm retrying the build without the C extension now. *************************************************************************** *************************************************************************** WARNING: The C extension could not be compiled, speedups are not enabled. Plain-Python installation succeeded. *************************************************************************** ---ここまで--- python-oauth2 ( http://github.com/simplegeo/python-oauth2 ) ---ここから--- Traceback (most recent call last): File "setup.py", line 2, in <module> from setuptools import setup, find_packages ImportError: No module named setuptools ---ここまで--- HTTPLib2、python-twitter-1.1に関してはエラーメッセージは出ず、正常にインストールされました。 simplejson 3.6.4の「The C extension」は、C系の言語でしょうか? 確かに特にC系の言語は入れていません。 SimpleGeo's OAuth2に関しては、setuptoolsというモジュールがどこにあるのかが分かりません。 参考にした記事は2011年ですから、他にも必要なモジュールなどがあるのでしょうか? よろしくお願いいたします。
↧