Open mikej888 opened 5 years ago
On CentOS 7:
$ python --version Python 2.7.15 :: Anaconda, Inc. $ conda install -c anaconda --file requirements.txt $ python > from azure.storage.blob import BlobService ... ImportError: No module named azure.storage.blob ...
Remove azure packages and reinstall, using conda-forge:
$ pip freeze | grep azure > azure.txt $ pip uninstall -y -r azure.txt $ conda install -c conda-forge azure $ python > from azure.storage.blob import BlobService
OK
$ pip freeze | grep azure azure==1.0.3 azure-common==1.1.16 azure-mgmt==0.20.1 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==3.0.2 azure-servicebus==0.20.1 azure-servicemanagement-legacy==0.20.1 azure-storage==0.20.3
On Urika:
$ python --version Python 2.7.14 :: Anaconda custom (64-bit) $ conda install -c anaconda --file requirements.txt $ python > from azure.storage.blob import BlobService ... ImportError: No module named azure.storage.blob ... $ pip freeze | grep azure > azure.txt $ pip uninstall -y -r azure.txt $ conda install -c conda-forge azure $ python > from azure.storage.blob import BlobService ImportError: No module named azure.storage.blob $ conda install -c conda-forge azure-storage $ python > from azure.storage.blob import BlobService ImportError: cannot import name BlobService $ pip freeze | grep azure azure-common==1.0.0 azure-mgmt==0.20.1 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.1 azure-storage==0.36.0
On CentOS 7:
Remove azure packages and reinstall, using conda-forge:
OK
On Urika: