Forum Discussion
Azure Cognitive Service Environment Setup Error
- May 28, 2021
Error 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
Error 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