Search code examples
python-3.xvisual-studio-codecondamacos-monterey

Monterey 12.6 and Conda Environment Issue


After the upgrade to Monterey 12.6, my IDE, VS Code, cannot locate any of the packages in my conda environments. I checked echo $PATH and all paths remains. All env files are also present in the directories. I am not sure what is the exact problem.

Any suggestions for diagnosis or solution is much appreciated.

A search on stackoverflow shows a few recent posts with the similar problems after updating to Monterey 12.6:

All Python scripts stopped working: path changed in all projects after macOS Monterey 12.6 update

ModuleNotFoundError: No module named 'cookiecutter'

Update of Xcode removes all Python packages on macOS?

Xdebug not starting in VSCode


Solution

  • Uninstalling and reinstalling the jupyter extension in VS Code then install jupyter notebook again when prompted did the trick.