0
我有這樣的環境:進口azure.storage錯誤
pip3 freeze | grep -i azure
azure==1.0.3
azure-batch==1.1.0
azure-common==1.1.4
azure-mgmt==0.20.2
azure-mgmt-common==0.20.0
azure-mgmt-compute==0.20.1
azure-mgmt-network==0.20.1
azure-mgmt-nspkg==1.0.0
azure-mgmt-resource==0.20.1
azure-mgmt-storage==0.20.0
azure-nspkg==1.0.0
azure-servicebus==0.20.1
azure-servicemanagement-legacy==0.20.2
azure-storage==0.33.0
msrestazure==0.4.4
我試圖執行一個Python程序,啓動這樣:
和Python輸出這樣的錯誤:
Traceback (most recent call last):
File "azure.py", line 1, in <module>
from azure.storage.blob import BlockBlobService,ContentSettings
File "/Users/dgonzalez/Proyectos/iloveplatos/git/back/app/azure.py", line 1, in <module>
from azure.storage.blob import BlockBlobService,ContentSettings
ImportError: No module named 'azure.storage'; 'azure' is not a package
任何想法,我已與其他版本測試,但我有同樣的問題。我在這一點被封鎖。
謝謝!
對不起,我解決它,我忘了我的問題! –