Python Troubleshooting - CameronAuler/python-devops GitHub Wiki

This page will contain any troubleshooting information for Windows, Linux, and Mac.

Mac Search PATH

CLI

To run a python program through the CLI of a Mac system you need to make sure that the shell search path contains /usr/local/bin.

Resources

VSCode not recognizing Virtual Environment

  1. Open the command pallette or click on the version number in the bottom right.
  2. Search for Python: Select Interpreter or select it if you clicked the version number.
  3. Select the python version within your projects virtual environment scripts directory: \example_python_project\example_python_env\Scripts\python.exe