AttributeError:'module' object has no attribute 'call' :Python

前端 未结 2 1298
遇见更好的自我
遇见更好的自我 2021-01-13 08:22

I am new to python and not knowing whats going on here. I have tried searching a lot but had to end up asking here

I am trying to learn subprocess which executes a s

相关标签:
2条回答
  • 2021-01-13 08:41

    ldap-new:~ # rm -rf subprocess.pyc

    This worked for me i just removed .pyc file and run again

    Regards, -Mansur

    0 讨论(0)
  • 2021-01-13 09:00

    You called your file subprocess.py, change then name and you will be ok. You are trying to import from your file and not the module

    0 讨论(0)
提交回复
热议问题