2

I'm trying to follow tensorflow instructions in R but am stuck on providing the Python binary path location on Windows. I believe the instructions are given to Mac environment? I would like to know where can I locate my Python binary on my windows environment.

Link to Tutorial: https://github.com/rstudio/tensorflow

Sys.setenv(TENSORFLOW_PYTHON="/usr/local/bin/python")
1

1 Answer 1

1

Try this on the command prompt:

python -c "import sys; print(sys.executable)"

That will give you the full executable path for the python version that you are using.

Output: [Your output may be different]

C:\Users\<username>\AppData\Local\Programs\Python\Python35\python.exe
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.