While debugging Jupyter Cell on Visual studio Code, It gives this error
Executing code failed: Error: Pip module ptvsd is required for debugging cells. You will need to install it to debug cells.
Yet running
import ptvsd
print(ptvsd.__version__)
returns 4.3.2
I hit the same issue. Turns out there is a file named queue.py existing in my source code folder. And it caused vs code failed to load PriorityQueue from queue module. Once removed the queue.py from my source code folder, the issue disappeared.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.