
Then we need to correctly add Sage's Python interpreter to P圜harm's list of available interpreters. There are likely some others that should be set as well, but that was the bare minimum I found necessary to get Sage's Python interpreter working happily in P圜harm. The console commands to set the necessary variables are: setx Path "%Path% C:\Program Files\SageMath 8.1\runtime\opt\sagemath-8.1\local\lib C:\Program Files\SageMath 8.1\runtime\opt\sagemath-8.1\local\bin C:\Program Files\SageMath 8.1\runtime\bin C:\Program Files\SageMath 8.1\runtime\lib\lapack" This can be done through a GUI in Windows, or via the cmd console. The easiest way I found to go about this is to first set some permanent environment variables in your Windows environment.
