Description
- Describe the bug
Azure.storage.blob module 12.9.0 is installed in Python 2.7.13 but still its failing with no module found
- Code Snippet
Error added in same issue .
- Expected behavior
Python 2.7.13 (default, Jan 11 2017, 10:56:06) [GCC] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import azure.storage.blob
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named azure.storage.blob
Setup (please complete the following information):
- Python Version: Python 2.7.13
- SDK Version: azure-storage-blob==12.2.0
Commands we used -->
1-Created a SLES 12 sp4 gen2 VM, as your VM
2-Downloaded pip:
linux:/tmp # wget -c https://bootstrap.pypa.io/pip/2.7/get-pip.py
--2022-08-25 09:14:09-- https://bootstrap.pypa.io/pip/2.7/get-pip.py
3- -Installed pip, and got the same deprecation message, but pip installed successfully (the installed version is 20.3.4 , and the one that does not support Python 2.7 will be version 21.0);
linux:/tmp # python2 get-pip.py
4- linux:/tmp # pip --version
pip 20.3.4 from /usr/lib/python2.7/site-packages/pip (python 2.7)
Per the above, the running version of pip will still support python 2.7, only the upcoming pip version 21.0 will not
Trying to update pip will not upgrade from 20.3.4 to a newer version:
linux:/tmp # pip install --upgrade pip
5 - Installed same package
linux:/tmp # pip install azure-storage-blob
6 - Installed the missing dependency "requests" with version 2.18.4, as asked by azure storage-blob
linux:/tmp # pip install requests==2.18.4
7 - Uninstalled azure-storage-blob:
linux:/tmp # pip uninstall azure-storage-blob
8 - And installed azure-storage-blob again
linux:/tmp # pip install azure-storage-blob
9 - But yes after this still we are getting error like : no module found