May 27 2021 07:30 AM - edited May 27 2021 08:17 AM
I am using Visual Studio Code for learning, experiencing and experimenting the Azure AI services. I am using git learning Module MSLEARN-AI-900. In the file "01-Image Analysis with Computer Vision.ipynb", while running the following code:
May 27 2021 10:19 PM
SolutionError Resolved: But exact and authentic reason of error is still unknown.
Steps taken to Resolve Error:
1. Uninstalled Python, Python 3.6 and Python 3.5 were installed on my system. I uninstalled both.
2. Installed newer version of python i.e. Python 3.8. I installed it after clearing all temporary files and folders, in totally new drive and folder.
3. Installed the required Azure python modules as per the instruction guide in the AI-900 learning path.
After re-installing Python, everything started working, I did not uninstalled Visual Studio Code.
Conclusion:
The exact and authentic reasons of error is still unknown, but there are following inference can be considered:
1. Installing TWO python versions on the system may lead to this error, so try to install and use only one python version at a time.
2. While learning this code in VS Code, I also copied that same code, imports azure packages and executed them in python shell. So there were two programs that were trying to call azure packages from two different python consoles. Again this ambiguity may result in that error.
Thanks
May 27 2021 10:19 PM
SolutionError Resolved: But exact and authentic reason of error is still unknown.
Steps taken to Resolve Error:
1. Uninstalled Python, Python 3.6 and Python 3.5 were installed on my system. I uninstalled both.
2. Installed newer version of python i.e. Python 3.8. I installed it after clearing all temporary files and folders, in totally new drive and folder.
3. Installed the required Azure python modules as per the instruction guide in the AI-900 learning path.
After re-installing Python, everything started working, I did not uninstalled Visual Studio Code.
Conclusion:
The exact and authentic reasons of error is still unknown, but there are following inference can be considered:
1. Installing TWO python versions on the system may lead to this error, so try to install and use only one python version at a time.
2. While learning this code in VS Code, I also copied that same code, imports azure packages and executed them in python shell. So there were two programs that were trying to call azure packages from two different python consoles. Again this ambiguity may result in that error.
Thanks