![]() You might have something different shown here for an already existing interpreter.Ĭlick the little gear icon in the top-right corner next to the drop-down list of available interpreters, and select "Add Local" from the menu. In the settings page select "Project Intepreter"-this is where you can add additional interpreters for use across projects. ![]() From the Welcome screen click on the little "Configure" gear and select "Settings" from the menu: ![]() 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |