(Jun-26-2018, 04:57 PM)snippsat Wrote: (Jun-26-2018, 04:01 PM)Vysero Wrote: typing py -2
You most also specify version.
E:\1
λ py -2.7 -V
Python 2.7.9
E:\1
λ py -3.4 -V
Python 3.4.2
E:\1
λ py -3.5 -V
Python 3.5.2
E:\1
# Install to 2.7
λ py -2.7 -m pip install logzero
Collecting logzero
Downloading https://files.pythonhosted.org/packages/97/24/27295d318ea8976b12cf9cc51d82e7c7129220f6a3cc9e3443df3be8afdb/logzero-1.5.0-py2.py3-none-any.whl
Requirement already satisfied: colorama; sys_platform == "win32" in c:\python27\lib\site-packages (from logzero)
Installing collected packages: logzero
Successfully installed logzero-1.5.0
# Main version <python> and <pip> point to 3.6
E:\1
λ python -V
Python 3.6.4
E:\1
λ pip -V
pip 10.0.1 from c:\python36\lib\site-packages\pip (python 3.6)
Great thanks! Another question, if you don't mind. Running python -m pip --version it says: No module named pip which seems odd because python3 -m pip --version shows pip 10.0.1 I guess I was under the assumption that python2 would come with pip installed, was this an incorrect assumption or do I have some kind of conflict?
Python 2.7.15 is my version btw
EDIT: turns out no, in my python27:Scripts folder there is no pip while in my python37:Scripts folder I have pip, pip3.7 and pip3. Which of these can I delete and which one do I want in my python27:Scripts folder? Can I copy and paste?