|
发表于 2017-8-16 23:18:54
|
显示全部楼层
homeassistant@Orangepi:/srv$ cd /srv/homeassistant
homeassistant@Orangepi:/srv/homeassistant$ python3 -m venv homeassistant_venv
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt-get install python3-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: ['/srv/homeassistant/homeassistant_venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
homeassistant@Orangepi:/srv/homeassistant$ source /srv/homeassistant/homeassistant_venv/bin/activate
bash: /srv/homeassistant/homeassistant_venv/bin/activate: No such file or directory
homeassistant@Orangepi:/srv/homeassistant$ pip install --upgrade pip
bash: pip: command not found
homeassistant@Orangepi:/srv/homeassistant$ pip3 install netdisco
bash: pip3: command not found
按着步骤来的,怎么会这样呢?command not found |
|