I have been learning Python programming in Zed A. Shaw's book "Learning Python 3 the Hard Way" in which I write Python programs in Notepad++ and then execute the programs in the Power Shell (command line) window of my Windows 7 laptop computer (and sometimes on my Windows 10 desktop computer). I originally downloaded Python 3.6 onto both of my computers. I am interested in running a Python program that interfaces with my Zeo EEG device (
http://www.sleepstreamonline.com/rdl/exa...l#examples), but it uses Python 2.7. Can I still run this Python 2.7 Zeo program on my computer, or will I need to first download Python 2.7 onto my computer? I apologize for such a basic question. Any advice would be greatly appreciated.
You might be able to, but I doubt it. You would either need to convert the 2.7 program to 3.0+, or install Python 2.7 on your computer.
It's no problem to have have both python 2.7 and 3.6 on same pc(Windows)
Se tutorial
here about using
py
instead of
python
command.
Do not mark the option "add to Path
v
" on when install Python 2.7.
Anaconda |
Miniconda are and other option,they are stand alone distribution.
Here some of my versions,no cmd/powershell rubbish but
cmder
C:\
λ python -V
Python 3.7.3
C:\
λ pip -V
pip 19.1.1 from c:\python37\lib\site-packages\pip (python 3.7)
C:\
λ py -2.7 -V
Python 2.7.9
C:\
λ py -3.5 -V
Python 3.5.2
G:\
λ cd anaconda3
G:\Anaconda3
λ python -V
Python 3.7.1
G:\Miniconda3
λ python -V
Python 3.6.3 :: Anaconda, Inc.
G:\Anaconda3
λ py -3.4 -V
Python 3.4.2