![]() You then need to restart your terminal to effect the change. Open the file in your preferred editor and add the following line at the end of that file. Once you know the path of the default Python installation path for your system you can permanently add it as an environment variable by opening the startup file you use for your default shell. If the above commands do not work you can also get the path using the which command as shown below. If it has not been set then the result of running any one of the commands below will not return anything. This is an environment variable that is available on the system. ![]() You can get the value of PYTHONPATH only if it has been set. ![]() Install Python - The Complete Guide for Windows 11, macOS and, Linux! Getting the Python Installation Path Using PYTHONPATH
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |