Quote:
Originally Posted by Corvette
Are you just trying to run pip from the command line? If not, what program are you trying to run? If the latter, please confirm whether or not pip is at least recognized at the command line.
|
OK what I’m trying to do is install a program from the command line.
The program is a script that extracts chat data from Twitch.tv streams (no it is not a hacking tool, and requires registration with twitch dev portal to have server permissions in order to function).
I know the program works on Win7.
The command I am doing is “python pip -m install -r requirements.txt”
To check that pip is installed, I just went to terminal and typed “pip”
It gave back a list of commands.
I typed “pip check”
It told me “no broken dependencies”
I type “pip –version”, It says:
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
I type “pip3 –version”, It says:
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
I need pip to run from python 3.7.2
I type in “whereis python” and here is a list of all python versions and directories:
python: /usr/bin/python /usr/bin/python2.7 /usr/bin/python3.6 /usr/bin/python3.6m /usr/bin/python2.7-config /usr/bin/python3.6m-config /usr/bin/python3.6-config /usr/lib/python2.7 /usr/lib/python3.6 /usr/lib/python3.7 /etc/python /etc/python2.7 /etc/python3.6 /usr/local/bin/python3.7m-config /usr/local/bin/python3.7m /usr/local/bin/python3.7 /usr/local/lib/python2.7 /usr/local/lib/python3.6 /usr/local/lib/python3.7 /usr/include/python3.6m /usr/include/python2.7 /usr/include/python3.6 /usr/share/python /usr/share/man/man1/python.1.gz /usr/src/Python-3.7.2/python
Turns out I was mistaken earlier on where 3.7.2 was located, anyhow, I go to that directory, and pip.py is in there at:
/usr/src/Python-3.7.2/PC/layout/support/pip.py
I don't know if that's the right version or right place for it to be.