# Errpr in ray.init()

**URL:** <https://discuss.ray.io/t/errpr-in-ray-init/22645>\
**Category:** Ray Core\
**Created:** [June 11, 2025, 8:24am UTC](https://discuss.ray.io/t/errpr-in-ray-init/22645 "2025-06-11T08:24:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manstein\_Von](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/manstein_von/32/8026_2.png) [@Manstein\_Von](https://discuss.ray.io/u/Manstein_Von)\
**Post date:** [June 11, 2025, 8:24am UTC](https://discuss.ray.io/t/errpr-in-ray-init/22645/1 "2025-06-11T08:24:39Z")

</div>

Hello!Im a student and try to use ray to do my homework in Distributed Computing.  
My ray is working until I uninstall anaconda and reinstall it,follow teacher’s guide reinstall ray.this time my ray cant work.  
After i run “import ray & ray.init()”  
it shows:  
2025-06-11 16:16:50,729 ERROR services.py:1362 – Failed to start the dashboard , return code 3221226505  
2025-06-11 16:16:50,732 ERROR services.py:1387 – Error should be written to ‘dashboard.log’ or ‘dashboard.err’. We are printing the last 20 lines for you. See ‘[Configuring Logging — Ray 3.0.0.dev0](https://docs.ray.io/en/master/ray-observability/user-guides/configure-logging.html#logging-directory-structure)’ to find where the log file is.  
2025-06-11 16:16:50,749 ERROR services.py:1397 – Couldn’t read dashboard.log file. Error: ‘utf-8’ codec can’t decode byte 0xbe in position 22: invalid start byte. It means the dashboard is broken even before it initializes the logger (mostly dependency issues). Reading the dashboard.err file which contains stdout/stderr.  
2025-06-11 16:16:50,752 ERROR services.py:1431 –  
The last 20 lines of C:\Users\Sedol\AppData\Local\Temp\ray\session\_2025-06-11\_16-16-42\_739075\_77820\logs\dashboard.err (it contains the error message from the dashboard):  
2025-06-11 16:16:51,105 INFO worker.py:1888 – Started a local Ray instance.

Can i get some help here?TKS! 🥰

---

<div class="post-metadata">

**Author:** ![christina](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/christina/32/7542_2.png) [@christina](https://discuss.ray.io/u/christina)\
**Post date:** [June 12, 2025, 5:56pm UTC](https://discuss.ray.io/t/errpr-in-ray-init/22645/2 "2025-06-12T17:56:29Z")

</div>

Looks like this is an issue with the Ray dashboard specifically. Can you print out `dashboard.err` log and let me know if you see any errors there?
