debops / debops-tools

Your Debian-based data center in a box
https://debops.org/
GNU General Public License v3.0
1.07k stars 116 forks source link

installation on Trusty #127

Closed devekko closed 9 years ago

devekko commented 9 years ago

before I bork my re-installed mainline Trusty laptop again

what should I be doing with pip install of debops?

I am a bit confused, because I am not sure the instructions are consistent

in some places sudo is used

on this you indicate use sudo https://github.com/debops/debops

on this, no clue, but I assumed no sudo

niccolox@trustyinx:~/Projects|⇒ pip install debops Downloading/unpacking debops Downloading debops-0.4.3.tar.bz2 Running setup.py (path:/tmp/pip_build_niccolox/debops/setup.py) egg_info for package debops

Downloading/unpacking netaddr (from debops) Downloading netaddr-0.7.18-py2.py3-none-any.whl (1.5MB): 1.5MB downloaded Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.7 (from debops) Installing collected packages: debops, netaddr Running setup.py install for debops changing mode of build/scripts-2.7/debops from 664 to 775 changing mode of build/scripts-2.7/debops-defaults from 664 to 775 changing mode of build/scripts-2.7/debops-init from 664 to 775 changing mode of build/scripts-2.7/debops-padlock from 664 to 775 changing mode of build/scripts-2.7/debops-task from 664 to 775 changing mode of build/scripts-2.7/debops-update from 664 to 775 error: could not create '/usr/local/lib/python2.7/dist-packages/debops': Permission denied Complete output from command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_niccolox/debops/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-w3JbU6-record/install-record.txt --single-version-externally-managed --compile: running install

running build running build

running build_py

creating build

creating build/lib.linux-x86_64-2.7

creating build/lib.linux-x86_64-2.7/debops

copying debops/config.py -> build/lib.linux-x86_64-2.7/debops

copying debops/init.py -> build/lib.linux-x86_64-2.7/debops

creating build/lib.linux-x86_64-2.7/debops/cmds

copying debops/cmds/init.py -> build/lib.linux-x86_64-2.7/debops/cmds

running build_scripts

creating build/scripts-2.7

copying and adjusting bin/debops -> build/scripts-2.7

copying and adjusting bin/debops-defaults -> build/scripts-2.7

copying and adjusting bin/debops-init -> build/scripts-2.7

copying and adjusting bin/debops-padlock -> build/scripts-2.7

copying and adjusting bin/debops-task -> build/scripts-2.7

copying and adjusting bin/debops-update -> build/scripts-2.7

changing mode of build/scripts-2.7/debops from 664 to 775

changing mode of build/scripts-2.7/debops-defaults from 664 to 775

changing mode of build/scripts-2.7/debops-init from 664 to 775

changing mode of build/scripts-2.7/debops-padlock from 664 to 775

changing mode of build/scripts-2.7/debops-task from 664 to 775

changing mode of build/scripts-2.7/debops-update from 664 to 775

running install_lib

creating /usr/local/lib/python2.7/dist-packages/debops

error: could not create '/usr/local/lib/python2.7/dist-packages/debops': Permission denied


Cleaning up... Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_niccolox/debops/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-w3JbU6-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_niccolox/debops Storing debug log for failure in /home/niccolox/.pip/pip.log niccolox@trustyinx:~/Projects|⇒

devekko commented 9 years ago

this worked

from github https://raw.githubusercontent.com/debops/debops/master/README.rst

$ sudo pip install https://github.com/debops/debops/archive/master.zip

niccolox@trustyinx:~/Projects|⇒ sudo pip install https://github.com/debops/debops/archive/master.zip

448 sudo pip install https://github.com/debops/debops/archive/master.zip

$ debops-update

449 debops-update

niccolox@trustyinx:~/Projects|⇒ debops-update

can you update readthedocs Installation Guide, I automatically went their thinking it was a better place to start, but there is no indication about whether to run as $ or #