![]() ![]() If that's the one you want, and it's at the top of your PATH, you can simply rely on the PATH to give you this version when you type just pip. Might identify itself as belonging to Python version 3.2.1. For example, /opt/random/nonstandard/whoa/pip -version When you specify the full path, you are bypassing the system's PATH mechanism entirely. You can try each of these in turn with the full path and adding the -version option to have them identify themselves. If you receive output like /opt/random/nonstandard/whoa/pip (On Windows systems, maybe try where pip3 and where pip, or pray to whatever dark deity informed your choice of operating system.) ![]() On Unix-like systems with a POSIX-compatible shell, try the commands command -V pip3 and command -V pip. More generally, you can go through your PATH and look for commands with suitable names. If you have both, and there is a command called pip3 installed on your system, probably that's the correct one to use. Going forward, this will be the simple, obvious, safe answer in more and more places. If you only have Python 3, and you have a command named pip, that's probably safe to use. Whether the correct command for Python 3 is pip or pip3 or (say) gaschplutzga depends on a number of factors. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |