我正在尝试在Windows Ubuntu Bash上安装Gitlab Development Kit。
$python3
输出
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
$python
输出
The program 'python' can be found in the following packages:
* python-minimal
* python3
Try: sudo apt install <selected package>
当我尝试这样做时:
sudo apt-get install build-essential
./configure
make -j4 # adjust according to your available CPU capacity
sudo make install
这是之后的输出 ./configure
$ ./configure
/usr/bin/env: ‘python’: No such file or directory
$ python --version
The program 'python' can be found in the following packages:
* python-minimal
* python3
Try: sudo apt install <selected package>
$which -a python
没有输出
我该如何解决?我是Ubuntu新手。
那没有道理。您说过“它将按应有的方式启动python”,但是您的输出显示您尚未安装python。您实际上跑步
—
terdon
python2
了吗?
我的坏处是我
—
artidokuz
$ alias python=python3
在重新打开它消失的高度之后写python之前用过,但并没有解决问题
我编辑了问题
—
artidokuz
python --version
; ii)which -a python
。