Python Forum
compile error Visual Studio Code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compile error Visual Studio Code
#1
[Image: Screenshot-2022-01-24-165047.png]
Please could someone please help with compile error, trying to get Flask & Python code to compile in Visual Studio code, thanks...not sure what happened.
Reply
#2
You have a file jinja2.py that shadows jinja2 package when imported during the import of flask. Rename that file.
And please, don't post images of code, error, output, etc. copy/paste as text, using proper BBCode tags.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
for more info om BBcode tags, see: BBcode
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Visual Studio Code help aaronrousch 4 3,745 Jan-25-2025, 05:55 AM
Last Post: ndc85430
  I cannot create a virtual environment on visual studio code using python Willem_Aucamp316 2 2,714 Nov-27-2024, 02:20 PM
Last Post: menator01
  Code Completion in Visual Studio for External Libraries mjakov 0 565 Aug-25-2024, 02:48 PM
Last Post: mjakov
  My code works on Jupyter Lab/Notebook, but NOT on Visual Code Editor jst 4 4,021 Nov-15-2023, 06:56 PM
Last Post: jst
  How to set PYTHONPATH in Visual Studio Code? aupres 5 12,176 Aug-15-2023, 03:51 PM
Last Post: snippsat
  how do I open two instances of visual studio code with the same folder? SuchUmami 3 3,821 Jun-26-2023, 09:40 AM
Last Post: snippsat
  Visual Studio Code NewPi 3 2,014 May-16-2023, 11:13 PM
Last Post: snippsat
  Visual Studio Code venv ibm_db error mesi1000 7 4,850 Nov-13-2022, 12:36 AM
Last Post: snippsat
  debugging help on Visual Studio Code mg24 12 3,967 Oct-02-2022, 12:18 AM
Last Post: mg24
  Problem with importing Python file in Visual Studio Code DXav 7 9,448 Jun-15-2022, 12:54 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020