2017-06-23 4 views
0

は、Pythonパッケージをインストールしようとすると、私は非常に最初の段階で失敗していtutorial about Azure IoT for Python ...エラーがマニュアルに記載され

に従うことをしようとピップ:

pip install azure-iothub-device-client 

私はこのエラーを取得する:

Collecting azure-iothub-device-client 
    Could not find a version that satisfies the requirement azure-iothub-device-client (from versions:) 
No matching distribution found for azure-iothub-device-client 

は、私は(azureという名前)virtualenvのではPythonを実行しています。ピップとPythonのバージョン情報:

(azure)[email protected]:~$ pip --version 
pip 9.0.1 from /home/fermin/src/virtualenvs/azure/local/lib/python2.7/site-packages (python 2.7) 

(azure)[email protected]:~$ python --version 
Python 2.7.9 

この問題とその解決策についてのヒントはありますか?ありがとう!

+0

ありがとうございました –

+0

いいえ...実際は動作していません。少なくとも私のセットアップで。もしあなたがうまくいけば、どうやってそれを作ったのか少し詳しく説明できますか?どうも! – fgalan

答えて

3

AzureオフィシャルチュートリアルConnect your simulated device to your IoT hub using Pythonによると、Azure IoTHub SDK for Linux & MacOSに関する注釈を以下のように示しています。

Note

The pip packages for azure-iothub-service-client and azure-iothub-device-client are currently available only for Windows OS. For Linux/Mac OS, please refer to the Linux and Mac OS-specific sections on the Prepare your development environment for Python post.

文書Prepare your development environment for Pythonは、Linux/Mac OSでのPythonのためのAzureのIoTハブSDKを構築する方法について話しています。

関連する問題