`pip install azure-cli==0.1.1b2` broken! (no module named _logging)
See original GitHub issueI have a Docker container where I pin to a specific version of the CLI:
ENV AZURE_CLI_VERSION 0.1.1b2
...
RUN pip install azure-cli==${AZURE_CLI_VERSION}
Obviously the first thing we do is run az login ...
…
Today someone reported it didn’t work. Turns out, works on my machine because the layers were cached, presumably from before 0.1.1b3
was released. So, I cleared all my cached docker layers and images and executed it again… and sure enough mine doesn’t work now either.
$ az login
root@7b04240ef178:/gopath/src/github.com/Azure/acs-engine# az login
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/azure/cli/__main__.py", line 9, in <module>
import azure.cli.main
File "/usr/local/lib/python2.7/dist-packages/azure/cli/main.py", line 10, in <module>
import azure.cli.core._logging as _logging
ImportError: No module named _logging
0.1.1b3
works, but I really don’t want this to break in another 2 weeks
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Pip Import Error No module named logging - python
And once again installed python and pip. I am still getting the same error whenever I run any command using pip.
Read more >no module named 'logging.config' · Issue #243 ... - GitHub
Try reproducing with a fresh conda env. conda create -n hydra_test python=3.7 conda activate hydra_test pip install hydra==0.9.0 ...
Read more >How to Fix: No module named pandas - GeeksforGeeks
The error “No module named pandas ” will occur when there is no pandas library ... In python, we will use pip function...
Read more >Pip is not working: ImportError: No module named 'pip._internal'
I solved this by updating pip via Python, like this: python2 -m pip install --user --upgrade pip python3 -m pip install --user --upgrade...
Read more >No module named 'jnpr' | Automation
I am using Windows and trying to run this python code as mentioned below but unable to get past this error: from jnpr.junos...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
They can be found here https://github.com/Azure/azure-cli/tree/master/packaged_releases/pip_requirements]
cc: @yugangw-msft, @johanste
That’d be great!