Thursday 11 May 2023

How do I change the python EXE reference path for tensorboard?

I trained an RL agent and want to view the tensorboard output. When I run:

tensorboard --logdir=runs

I get the following error:

Fatal error in launcher: Unable to create process using '"C:\Users\ME\.conda\envs\DELETED_ENV\python.exe" 
"C:\Users\ME\.conda\envs\current_env\Scripts\tensorboard.exe" --logdir=runs': 
The system cannot find the file specified.

The issue I can see is that the python.exe it's trying to use is in a deleted environment. I am not sure how tensorboard is still referencing this or how to change it. It's not in my PYTHONPATH. The PYTHONPATH only has the current_env.

I confirmed the runs folder is in the directory with a tensorboard file. I have used this before, likely before I deleted that env where the python.exe is, and it all worked fine.

How would I change where tensorboard is looking for the python.exe file to be the current environment?

Thank you!



from How do I change the python EXE reference path for tensorboard?

No comments:

Post a Comment