Windows环境下PYTHON开发环境搭建
1.下载Python安装文件:
https://wiki.python.org/moin/Python2orPython3
2.安装:
python-3.6.2-amd64.exe:点击可执行文件安装,注意勾选讲安装路径添加到环境变量中,就不需要手动添加;
3.测试:
开启CMD命令行,输入PYTHON,安装成功,就会进入PYTHON命令行交互环境中;
Ubuntu查看PYTHON安装情况
1 f@UBT:~$ ls -l /usr/bin/python* 2 lrwxrwxrwx 1 root root 9 Dec 10 2015 /usr/bin/python -> python2.7 3 lrwxrwxrwx 1 root root 9 Dec 10 2015 /usr/bin/python2 -> python2.7 4 -rwxr-xr-x 1 root root 3833132 Nov 19 2016 /usr/bin/python2.7 5 lrwxrwxrwx 1 root root 9 Oct 26 2016 /usr/bin/python3 -> python3.5 6 -rwxr-xr-x 2 root root 4780372 Jul 7 2016 /usr/bin/python3.5 7 -rwxr-xr-x 2 root root 4780372 Jul 7 2016 /usr/bin/python3.5m 8 lrwxrwxrwx 1 root root 10 Oct 26 2016 /usr/bin/python3m -> python3.5m 9 f@UBT:~$ uname -a 10 Linux UBT-sCloud 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:58:04 UTC 2016 i686 i686 i686 GNU/Linux