![]() This means that the last path at the bottom of the bash profile will end up as the first path in the PATH. ![]() When anaconda, miniconda or other versions of python are installed they automatically add paths to their respective versions of python to the top of the bash profile.īash reads the bash profile in sequential order - from top to bottom - and adds those paths to the PATH in the order that they’re read. ![]() You can add a variety of preferences to the bash profile, including modifications to the PATH. The bash profile is a set of instructions that are run by the shell when the user logs in to bash. When the shell finds that command, it stops and calls it even if there is another version of the same command, with the same name, further down in the list. When you ask your shell to run a particular command or run an interpreter, python for example, the shell looks through the different directories listed in the PATH in order they’re presented above.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |