Python Path - shaysalomon12/Data-Engineer GitHub Wiki
Verify Python version and path
C:\jupyter_Notebook>python
Python 3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:\\Users\\ShaySalomon\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0'
>>>
'C:\\Users\\ShaySalomon\\AppData\\Local\\Programs\\Python\\Python311'
Installing missing module from terminal (PowerShell):
python3 -m pip install pyodbc
Or
pip3 install pyodbc
Start VS Code:
C:\jupyter_Notebook>code .