Hi,
Please remove or rename this file to something different than queue.py
/Users/pratikpiyush/coding/Python/gfg.py/queue.py
Once you do that the problem will disappear.
Cheers,
Carlos
El 22/04/21 a las 9:24 a. m., Pratik Piyush escribió:
error message !
Traceback (most recent call last):
File "/Users/pratikpiyush/opt/anaconda3/lib/python3.8/runpy.py", line
194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/pratikpiyush/opt/anaconda3/lib/python3.8/runpy.py", line
87, in _run_code
exec(code, run_globals)
File
"/Users/pratikpiyush/opt/anaconda3/lib/python3.8/site‑packages/spyder_kernels/console/__main__.py",
line 23, in
start.main()
File
"/Users/pratikpiyush/opt/anaconda3/lib/python3.8/site‑packages/spyder_kernels/console/start.py",
line 289, in main
import_spydercustomize()
File
"/Users/pratikpiyush/opt/anaconda3/lib/python3.8/site‑packages/spyder_kernels/console/start.py",
line 39, in import_spydercustomize
import spydercustomize
File
"/Users/pratikpiyush/opt/anaconda3/lib/python3.8/site‑packages/spyder_kernels/customize/spydercustomize.py",
line 27, in
from spyder_kernels.comms.frontendcomm import CommError, frontend_request
File
"/Users/pratikpiyush/opt/anaconda3/lib/python3.8/site‑packages/spyder_kernels/comms/frontendcomm.py",
line 17, in
from jupyter_client.localinterfaces import localhost
File
"/Users/pratikpiyush/opt/anaconda3/lib/python3.8/site‑packages/jupyter_client/__init__.py",
line 8, in
from .blocking import BlockingKernelClient
File
"/Users/pratikpiyush/opt/anaconda3/lib/python3.8/site‑packages/jupyter_client/blocking/__init__.py",
line 1, in
from .client import BlockingKernelClient
File
"/Users/pratikpiyush/opt/anaconda3/lib/python3.8/site‑packages/jupyter_client/blocking/client.py",
line 10, in
from queue import Empty
ImportError: cannot import name 'Empty' from 'queue'
(/Users/pratikpiyush/coding/Python/gfg.py/queue.py)
plz help me out !!
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/spyderlib/d3e60ce7-fae2-4a19-b237-f758b2875b7cn%40googlegroups.com
<https://groups.google.com/d/msgid/spyderlib/d3e60ce7-fae2-4a19-b237-f758b2875b7cn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/spyderlib/0878c682-4f85-aec9-ca82-90aaf3a16be9%40gmail.com.