Python (Pandas) - Running code requires restart of VCS
See original GitHub issueSo i came across this bug by writing a python code,
Requirements to make the bug, Python, Pandas
- Write any code that requires Pandas and try execute.
- First time it might work, try rerun the code and you will get an error
ImportError: No module named pandas
- Restart VCS run the code
- this will then work again.
Running the code directly from terminal in VCS with python test.py will not cause the bug. If requesting more info or test code let me know.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
VS Code: ModuleNotFoundError: No module named 'pandas'
I recommend to restart (close and open again) your Command Prompt session if you want to see/work with the new default Python version....
Read more >Contributing to pandas — pandas 1.2.2 documentation
This will automatically update your pull request with the latest code and restart the Continuous Integration tests. Another reason you might need to...
Read more >Working with Jupyter Notebooks in Visual Studio Code
To select an environment, use the Python: Select Interpreter command from the Command Palette (Ctrl+Shift+P).
Read more >How To Install Pandas in Visual Studio Code (Windows 11)
This video will be about How To Install Pandas in Visual Studio Code on Windows 11. This allows you to get started with...
Read more >How To Install Pandas in Visual Studio Code (Mac) - YouTube
This video will be about How To Install Pandas in Visual Studio Code. This allows you to get started with Pandas in your...
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
Could you show me the screenshot of the output?
Good to know! Then closing this issue. But I have no idea about the root cause. By default, the code will be run through Node child_process API. With
"code-runner.runInTerminal": true
, code will be run in Integrated Terminal of VS Code.