.zshrc:17: module_init: function definition file not found

Could you help me fix it. Thanks.

MacBook Pro 15″, macOS 10.15

Posted on Sep 24, 2022 9:01 AM

Reply
3 replies

Sep 24, 2022 10:26 AM in response to NingGao

I think the takeaway in that article is that the user was allowing conda to insert stuff into the .zshrc and ultimately, you, not a third-party tool is responsible for the integrity of that ~/.zshrc file. That error message alone is insufficient to identify what caused it, or how to solve it.


Rename that ~/.zshrc to ~/.zshrc_old, and create a new one with a proper PATH and prompt statement and use that until you can figure out what in the original file caused the problem.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

.zshrc:17: module_init: function definition file not found

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.