First time here? Check out the FAQ!

Ask Your Question
0

Make PyCharm recognise the Sage python interpreter (where to find Sage Python executable)

asked 0 years ago

updated 0 years ago

Max Alekseyev gravatar image

I am using Sage through WSL. I would like PyCharm to recognize my Sage Python interpreter. I was trying to follow the steps in the answer under the question by the name "Make PyCharm recognise the Sage python interpreter". One of the steps is that I have to browse to the python2.7.exe executable under C:\Program Files\SageMath 8.1\runtime\opt\sagemath-8.1\local\bin, but I don't have a SageMath folder under Program Files. I would expect the python executable to be somewhere in \\wsl.localhost\Ubuntu, but I can't find it there. Would someone know where this executable can be found given that I use WSL?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 0 years ago

FrédéricC gravatar image

maybe sage -sh then which python ? On Ubuntu, this tells you the place.

Preview: (hide)
link

Comments

Thank you, that worked!

ShaVuklia gravatar imageShaVuklia ( 0 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 0 years ago

Seen: 107 times

Last updated: Dec 12 '24