NameError: name 'run_shell' is not defined
See original GitHub issueSorry for being a pain in the neck.
But, now using 1.4.2 it seems something else is broken
Running examples/script.py
I get
Traceback (most recent call last):
File "/home/manfred/.local/bin/zxpy", line 8, in <module>
sys.exit(cli())
File "/home/manfred/.local/lib/python3.8/site-packages/zx.py", line 56, in cli
run_zxpy(filename, module)
File "/home/manfred/.local/lib/python3.8/site-packages/zx.py", line 121, in run_zxpy
exec(code, {'__name__': '__main__'})
File "./y.py", line 2, in <module>
~'echo Hello world!'
NameError: name 'run_shell' is not defined
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Why I cannot run shell commands via PS gui in Python?
I am trying to run the avrdude commands in the terminal via the python's gui (PySimple)... it does not return me any error,...
Read more >How to Execute a Shell Command in Python [Step-by-Step]
The recommended module to run shell commands is the Python subprocess module ... line 1, in <module> NameError: name 'PIPE' is not defined....
Read more >Executing Shell Commands with Python - Stack Abuse
Learning how to run shell commands in Python opens the door for us to automate computer tasks in a structured and scalable way....
Read more >Running Python in Automator - Apple Support Communities
I am trying to make a pic to text code for Python. ... Set the Run Shell Script Shell back to /bin/bash, or...
Read more >import package pulsar, raise 「name 'ModuleNotFoundError ...
1 python version : 2.7 2 pip install pulsar-client==2.8.1 3 run shell python ... raise 「name 'ModuleNotFoundError' is not defined」 #12712.
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
Things looking good now. Thanks a lot!
Making me realise I pushed a broken version isn’t being a pain in the neck, thanks for that 😄