azure-2.0.0rc4 및 msrest-0.4.0이있는 Python 2.7.9가 있습니다. 내 코드가 msrest.authentication에서 가져 오지 못했습니다. azure 및 msrest 패키지에서 두 파일을 검사했는데 문제가 없습니다.ImportError : msrest.authentication을 가져 오지 못했습니다.
조언과 지침을 잘 알고 있습니다.
존
Traceback (most recent call last):
File "getCredential.py", line 1, in <module>
from azure.common.credentials import ServicePrincipalCredentials
File "/usr/local/lib/python2.7/site-packages/azure/common/credentials.py", line 25, in <module>
raise ImportError("You need to install 'msrest' to use this feature")
ImportError: You need to install 'msrest' to use this feature
어떻게 설치할 않았다
이 명령 이후에 필요한 패키지를 설치 실행? 핍 이랑? –
예, pip install --pre azure –
--pre는 무엇을합니까? 또한 같은 방법으로 msrest를 설치 했습니까? –