# Revision history [back]

### Use PyCharm to edit and run Sage scripts

How do I configure PyCharm so I can edit and run Sage scripts?

I am using SageMath 8 on Windows.

I thought I could maybe start PyCharm from the Sage shell, but after doing so I couldn't select Sage's python as interpreter, located at C:\Program Files\SageMath 8.0\runtime\opt\sagemath-8.0\local\bin\python.exe because it gave me Invalid Python SDK.

Above idea I got from https://ask.sagemath.org/question/38750/how-i-use-sage-with-pycharm-in-ubuntu/

### Use PyCharm to edit and run Sage scripts

How do I configure PyCharm so I can edit and run Sage scripts?

I am using SageMath 8 on Windows.

I thought I could maybe start PyCharm from the Sage shell, but after doing so I couldn't select Sage's python as interpreter, located at C:\Program Files\SageMath 8.0\runtime\opt\sagemath-8.0\local\bin\python.exe because it gave me Invalid Python SDK.

Above idea I got from https://ask.sagemath.org/question/38750/how-i-use-sage-with-pycharm-in-ubuntu/38750.

### Use PyCharm to edit and run Sage scripts

How do I configure PyCharm so I can edit and run Sage scripts?scripts? When I tried selecting Sage's python in C:\Program Files\SageMath 8.0\runtime\opt\sagemath-8.0\local\bin PyCharm said 'cannot setup SDK'.

I am using SageMath 8 on Windows.

I thought I could maybe start PyCharm from  Rephrased the Sage shell, but after doing so I couldn't select Sage's python as interpreter, located at C:\Program Files\SageMath 8.0\runtime\opt\sagemath-8.0\local\bin\python.exe question because it gave me Invalid Python SDK.

Above idea I got from 38750.is partly solved (and is pretty difficult), asking new question for the remainder so it is more clear.

### Use PyCharm to edit and run Sage scripts

How do I configure PyCharm so I can edit and run Sage scripts? When I tried selecting Sage's python in C:\Program Files\SageMath 8.0\runtime\opt\sagemath-8.0\local\bin PyCharm said 'cannot setup SDK'.

I am using SageMath 8 on Windows.

 Rephrased the question because it is partly solved (and is pretty difficult), asking new question for the remainder so it is more clear.

 5 retagged FrédéricC 2409 ●3 ●28 ●48

### Use PyCharm to edit and run Sage scripts

How do I configure PyCharm so I can edit and run Sage scripts? When I tried selecting Sage's python in C:\Program Files\SageMath 8.0\runtime\opt\sagemath-8.0\local\bin PyCharm said 'cannot setup SDK'.

I am using SageMath 8 on Windows.

 Rephrased the question because it is partly solved (and is pretty difficult), asking new question for the remainder so it is more clear.