-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iotedgedev in Azure DevOps pipeline fails - ImportError: No module named configparser #426
Labels
Comments
Hello, I want to report the same issue. Starting from yesterday, we see that iotedgedev fails to install with message "ImportError: No module named configparser". Task output since yesterday
Task output before yesterday
|
This error is caused by a dependency of iotedgedev and iotedgedev 2.1.4 is published to fix this issue. Please rerun your pipelines and let us know if you still meet errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I setup a simple IoT Edge DevOps Project through the Azure Portal (Python). The pipelines worked well until yesterday and now the pipeline fails during the step "Azure IoT Edge - Build module images". Based on the output it seems there is an issue with configparser:
##[debug]which 'iotedgedev'
##[debug]found: '/usr/local/bin/iotedgedev'
##[debug]which 'iotedgedev'
##[debug]found: '/usr/local/bin/iotedgedev'
##[debug]/usr/local/bin/iotedgedev arg: --version
##[debug]/usr/local/bin/iotedgedev arg: --version
##[debug]exec tool: /usr/local/bin/iotedgedev
##[debug]exec tool: /usr/local/bin/iotedgedev
##[debug]arguments:
##[debug]arguments:
##[debug] --version
##[debug] --version
##[debug]
##[error]Traceback (most recent call last):
File "/usr/local/bin/iotedgedev", line 7, in
from iotedgedev.cli import main
File "/usr/local/lib/python2.7/dist-packages/iotedgedev/cli.py", line 12, in
from .azurecli import AzureCli
File "/usr/local/lib/python2.7/dist-packages/iotedgedev/azurecli.py", line 9, in
from azure.cli.core import get_default_cli
File "/usr/local/lib/python2.7/dist-packages/azure/cli/core/init.py", line 24, in
from .local_context import AzCLILocalContext, STORE
File "/usr/local/lib/python2.7/dist-packages/azure/cli/core/local_context.py", line 9, in
import configparser
ImportError: No module named configparser
I even tried to install an older version of iotedgedev but it still fails.
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: