Advertisement
Guest User

Untitled

a guest
Nov 28th, 2017
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 49.63 KB | None | 0 0
  1.  $ sudo pip uninstall node.py
  2. Password:
  3. The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  4. Uninstalling node.py-0.0.22:
  5.  /Users/roger/Library/Python/2.7/bin/nodepy
  6.  /Users/roger/Library/Python/2.7/bin/nodepy2
  7.  /Users/roger/Library/Python/2.7/bin/nodepy2.7
  8.  /Users/roger/Library/Python/2.7/lib/python/site-packages/node.py-0.0.22-py2.7.egg-info
  9.  /Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy.py
  10.  /Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy.pyc
  11. Proceed (y/n)? y
  12.  Successfully uninstalled node.py-0.0.22
  13. The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  14.  $
  15.  $
  16.  $ sudo pip install nodepy-runtime --user
  17. The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  18. The directory '/Users/roger/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  19. Collecting nodepy-runtime
  20. Collecting six>=1.11.0 (from nodepy-runtime)
  21.   Downloading six-1.11.0-py2.py3-none-any.whl
  22. Requirement already satisfied: localimport>=1.5.2 in /Users/roger/Library/Python/2.7/lib/python/site-packages (from nodepy-runtime)
  23. Requirement already satisfied: pathlib2>=2.3.0 in /usr/local/lib/python2.7/site-packages (from nodepy-runtime)
  24. Requirement already satisfied: scandir; python_version < "3.5" in /usr/local/lib/python2.7/site-packages (from pathlib2>=2.3.0->nodepy-runtime)
  25. Installing collected packages: six, nodepy-runtime
  26. Successfully installed nodepy-runtime-2.0.0 six-1.11.0
  27.  $
  28.  $
  29.  $
  30.  $ nodepy https://nodepy.org/install-pm.py master --upgrade --global
  31. ^CTraceback (most recent call last):
  32.   File "/Users/roger/Library/Python/2.7/bin/nodepy", line 11, in <module>
  33.     sys.exit(main())
  34.   File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
  35.     ctx.load_module(ctx.main_module, do_init=False)
  36.   File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
  37.     module.load()
  38.   File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 13, in load
  39.     with self.filename.open('r') as fp:
  40.   File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/utils/path/urlpath.py", line 77, in open
  41.     fp = self._readable(urlopen(str(self)).fp)
  42.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
  43.     return opener.open(url, data, timeout)
  44.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open
  45.     response = self._open(req, data)
  46.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 447, in _open
  47.     '_open', req)
  48.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
  49.     result = func(*args)
  50.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1241, in https_open
  51.     context=self._context)
  52.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1195, in do_open
  53.     h.request(req.get_method(), req.get_selector(), req.data, headers)
  54.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1042, in request
  55.     self._send_request(method, url, body, headers)
  56.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1082, in _send_request
  57.     self.endheaders(body)
  58.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1038, in endheaders
  59.     self._send_output(message_body)
  60.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 882, in _send_output
  61.     self.send(msg)
  62.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 844, in send
  63.     self.connect()
  64.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1263, in connect
  65.     server_hostname=server_hostname)
  66.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 363, in wrap_socket
  67.     _context=self)
  68.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 611, in __init__
  69.     self.do_handshake()
  70.   File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 840, in do_handshake
  71.     self._sslobj.do_handshake()
  72. KeyboardInterrupt
  73.  $ sudo nodepy https://nodepy.org/install-pm.py master --upgrade --global
  74. downloading zipball for "master"...
  75. unpacking zipball...
  76. ('$', '/usr/local/opt/python/bin/python2.7 /Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py /tmp/WfDECmnodepy-pm-master/nodepy-nodepy-pm-e8933f6/scripts/install.py --global --upgrade')
  77. Bootstrapping Python dependencies ...
  78. ('$', u"/usr/local/opt/python/bin/python2.7 -m pip install --prefix /Users/roger/Library/Python/2.7 --ignore-installed 'distlib>=0.2.4' 'six>=1.11.0' 'nr>=1.4.8' 'hammock>=0.2.4' 'requests>=2.13.0' 'click>=6.7' 'appdirs>=1.4.2'")
  79. ()
  80. Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
  81.       [install] prefix=
  82.   The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  83.  The directory '/Users/roger/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  84.   Collecting distlib>=0.2.4
  85.   Collecting six>=1.11.0
  86.     Downloading six-1.11.0-py2.py3-none-any.whl
  87.   Collecting nr>=1.4.8
  88.     Downloading nr-1.4.8.tar.gz (41kB)
  89.   Collecting hammock>=0.2.4
  90.   Collecting requests>=2.13.0
  91.     Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
  92.   Collecting click>=6.7
  93.     Downloading click-6.7-py2.py3-none-any.whl (71kB)
  94.   Collecting appdirs>=1.4.2
  95.     Downloading appdirs-1.4.3-py2.py3-none-any.whl
  96.   Collecting idna<2.7,>=2.5 (from requests>=2.13.0)
  97.     Downloading idna-2.6-py2.py3-none-any.whl (56kB)
  98.   Collecting urllib3<1.23,>=1.21.1 (from requests>=2.13.0)
  99.     Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
  100.   Collecting certifi>=2017.4.17 (from requests>=2.13.0)
  101.     Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
  102.   Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.13.0)
  103.     Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
  104.   Installing collected packages: distlib, six, nr, idna, urllib3, certifi, chardet, requests, hammock, click, appdirs
  105.     Running setup.py install for nr: started
  106.       Running setup.py install for nr: finished with status 'done'
  107.   Successfully installed appdirs-1.4.3 certifi-2017.11.5 chardet-3.0.4 click-6.7 distlib-0.2.6 hammock-0.2.4 idna-2.6 nr-1.4.8 requests-2.18.4 six-1.11.0 urllib3-1.22
  108. ()
  109. Self-installing nodepy-pm ...
  110. ()
  111.   Traceback (most recent call last):
  112.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 120, in <module>
  113.       sys.exit(main())
  114.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
  115.       ctx.load_module(ctx.main_module, do_init=False)
  116.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
  117.       module.load()
  118.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
  119.       exec(code, vars(self.namespace))
  120.     File "/private/tmp/WfDECmnodepy-pm-master/nodepy-nodepy-pm-e8933f6/index.py", line 26, in <module>
  121.       import click
  122.   ImportError: No module named click
  123.  $ sudo pip install click
  124. The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  125. The directory '/Users/roger/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  126. Collecting click
  127.   Downloading click-6.7-py2.py3-none-any.whl (71kB)
  128.     100% |████████████████████████████████| 71kB 257kB/s
  129. Installing collected packages: click
  130. Successfully installed click-6.7
  131.  $
  132.  $
  133.  $ sudo nodepy https://nodepy.org/install-pm.py master --upgrade --global
  134. downloading zipball for "master"...
  135. unpacking zipball...
  136. ('$', '/usr/local/opt/python/bin/python2.7 /Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py /tmp/5m5hOZnodepy-pm-master/nodepy-nodepy-pm-e8933f6/scripts/install.py --global --upgrade')
  137. Bootstrapping Python dependencies ...
  138. ('$', u"/usr/local/opt/python/bin/python2.7 -m pip install --prefix /Users/roger/Library/Python/2.7 --ignore-installed 'distlib>=0.2.4' 'six>=1.11.0' 'nr>=1.4.8' 'hammock>=0.2.4' 'requests>=2.13.0' 'click>=6.7' 'appdirs>=1.4.2'")
  139. ()
  140. Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
  141.       [install] prefix=
  142.   The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  143.  The directory '/Users/roger/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  144.   Collecting distlib>=0.2.4
  145.   Collecting six>=1.11.0
  146.     Downloading six-1.11.0-py2.py3-none-any.whl
  147.   Collecting nr>=1.4.8
  148.     Downloading nr-1.4.8.tar.gz (41kB)
  149.   Collecting hammock>=0.2.4
  150.   Collecting requests>=2.13.0
  151.     Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
  152.   Collecting click>=6.7
  153.     Downloading click-6.7-py2.py3-none-any.whl (71kB)
  154.   Collecting appdirs>=1.4.2
  155.     Downloading appdirs-1.4.3-py2.py3-none-any.whl
  156.   Collecting idna<2.7,>=2.5 (from requests>=2.13.0)
  157.     Downloading idna-2.6-py2.py3-none-any.whl (56kB)
  158.   Collecting urllib3<1.23,>=1.21.1 (from requests>=2.13.0)
  159.     Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
  160.   Collecting certifi>=2017.4.17 (from requests>=2.13.0)
  161.     Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
  162.   Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.13.0)
  163.     Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
  164.   Installing collected packages: distlib, six, nr, idna, urllib3, certifi, chardet, requests, hammock, click, appdirs
  165.     Running setup.py install for nr: started
  166.       Running setup.py install for nr: finished with status 'done'
  167.   Successfully installed appdirs-1.4.3 certifi-2017.11.5 chardet-3.0.4 click-6.7 distlib-0.2.6 hammock-0.2.4 idna-2.6 nr-1.4.8 requests-2.18.4 six-1.11.0 urllib3-1.22
  168. ()
  169. Self-installing nodepy-pm ...
  170. ()
  171.   Traceback (most recent call last):
  172.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 120, in <module>
  173.       sys.exit(main())
  174.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
  175.       ctx.load_module(ctx.main_module, do_init=False)
  176.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
  177.       module.load()
  178.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
  179.       exec(code, vars(self.namespace))
  180.     File "/private/tmp/5m5hOZnodepy-pm-master/nodepy-nodepy-pm-e8933f6/index.py", line 36, in <module>
  181.       import manifest, {load as load_manifest} from './lib/manifest'
  182.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 36, in __call__
  183.       self.context.load_module(module)
  184.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
  185.       module.load()
  186.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
  187.       exec(code, vars(self.namespace))
  188.     File "/private/tmp/5m5hOZnodepy-pm-master/nodepy-nodepy-pm-e8933f6/lib/manifest/__init__.py", line 11, in <module>
  189.       import cfgparser from './cfgparser'
  190.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 36, in __call__
  191.       self.context.load_module(module)
  192.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
  193.       module.load()
  194.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
  195.       exec(code, vars(self.namespace))
  196.     File "/private/tmp/5m5hOZnodepy-pm-master/nodepy-nodepy-pm-e8933f6/lib/manifest/cfgparser.py", line 7, in <module>
  197.       import nr.parse.strex as strex
  198.   ImportError: No module named nr.parse.strex
  199.  $ sudo pip install strex
  200. The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  201. The directory '/Users/roger/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  202. Collecting strex
  203.   Could not find a version that satisfies the requirement strex (from versions: )
  204. No matching distribution found for strex
  205.  $ sudo pip install nr
  206. The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  207. The directory '/Users/roger/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  208. Collecting nr
  209.   Downloading nr-1.4.8.tar.gz (41kB)
  210.     100% |████████████████████████████████| 51kB 311kB/s
  211. Installing collected packages: nr
  212.   Running setup.py install for nr ... done
  213. Successfully installed nr-1.4.8
  214.  $
  215.  $
  216.  $
  217.  $ sudo nodepy https://nodepy.org/install-pm.py master --upgrade --global
  218. downloading zipball for "master"...
  219. unpacking zipball...
  220. ('$', '/usr/local/opt/python/bin/python2.7 /Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py /tmp/QRN0Tynodepy-pm-master/nodepy-nodepy-pm-e8933f6/scripts/install.py --global --upgrade')
  221. Bootstrapping Python dependencies ...
  222. ('$', u"/usr/local/opt/python/bin/python2.7 -m pip install --prefix /Users/roger/Library/Python/2.7 --ignore-installed 'distlib>=0.2.4' 'six>=1.11.0' 'nr>=1.4.8' 'hammock>=0.2.4' 'requests>=2.13.0' 'click>=6.7' 'appdirs>=1.4.2'")
  223. ()
  224. Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
  225.       [install] prefix=
  226.   The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  227.  The directory '/Users/roger/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  228.   Collecting distlib>=0.2.4
  229.   Collecting six>=1.11.0
  230.     Downloading six-1.11.0-py2.py3-none-any.whl
  231.   Collecting nr>=1.4.8
  232.     Downloading nr-1.4.8.tar.gz (41kB)
  233.   Collecting hammock>=0.2.4
  234.   Collecting requests>=2.13.0
  235.     Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
  236.   Collecting click>=6.7
  237.     Downloading click-6.7-py2.py3-none-any.whl (71kB)
  238.   Collecting appdirs>=1.4.2
  239.     Downloading appdirs-1.4.3-py2.py3-none-any.whl
  240.   Collecting idna<2.7,>=2.5 (from requests>=2.13.0)
  241.     Downloading idna-2.6-py2.py3-none-any.whl (56kB)
  242.   Collecting urllib3<1.23,>=1.21.1 (from requests>=2.13.0)
  243.     Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
  244.   Collecting certifi>=2017.4.17 (from requests>=2.13.0)
  245.     Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
  246.   Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.13.0)
  247.     Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
  248.   Installing collected packages: distlib, six, nr, idna, urllib3, certifi, chardet, requests, hammock, click, appdirs
  249.     Running setup.py install for nr: started
  250.       Running setup.py install for nr: finished with status 'done'
  251.   Successfully installed appdirs-1.4.3 certifi-2017.11.5 chardet-3.0.4 click-6.7 distlib-0.2.6 hammock-0.2.4 idna-2.6 nr-1.4.8 requests-2.18.4 six-1.11.0 urllib3-1.22
  252. ()
  253. Self-installing nodepy-pm ...
  254. ()
  255.   Traceback (most recent call last):
  256.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 120, in <module>
  257.       sys.exit(main())
  258.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
  259.       ctx.load_module(ctx.main_module, do_init=False)
  260.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
  261.       module.load()
  262.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
  263.       exec(code, vars(self.namespace))
  264.     File "/private/tmp/QRN0Tynodepy-pm-master/nodepy-nodepy-pm-e8933f6/index.py", line 41, in <module>
  265.       import _install from './lib/install'
  266.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 36, in __call__
  267.       self.context.load_module(module)
  268.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
  269.       module.load()
  270.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
  271.       exec(code, vars(self.namespace))
  272.     File "/private/tmp/QRN0Tynodepy-pm-master/nodepy-nodepy-pm-e8933f6/lib/install.py", line 39, in <module>
  273.       import _registry from './registry'
  274.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 36, in __call__
  275.       self.context.load_module(module)
  276.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
  277.       module.load()
  278.     File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
  279.       exec(code, vars(self.namespace))
  280.     File "/private/tmp/QRN0Tynodepy-pm-master/nodepy-nodepy-pm-e8933f6/lib/registry.py", line 28, in <module>
  281.       import hammock
  282.   ImportError: No module named hammock
  283.  $ sudo pip install hammock
  284. The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  285. The directory '/Users/roger/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  286. Collecting hammock
  287. Collecting requests>=1.1.0 (from hammock)
  288.   Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
  289.     100% |████████████████████████████████| 92kB 348kB/s
  290. Collecting idna<2.7,>=2.5 (from requests>=1.1.0->hammock)
  291.   Downloading idna-2.6-py2.py3-none-any.whl (56kB)
  292.     100% |████████████████████████████████| 61kB 560kB/s
  293. Collecting urllib3<1.23,>=1.21.1 (from requests>=1.1.0->hammock)
  294.   Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
  295.     100% |████████████████████████████████| 133kB 275kB/s
  296. Collecting certifi>=2017.4.17 (from requests>=1.1.0->hammock)
  297.   Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
  298.     100% |████████████████████████████████| 337kB 375kB/s
  299. Collecting chardet<3.1.0,>=3.0.2 (from requests>=1.1.0->hammock)
  300.   Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
  301.     100% |████████████████████████████████| 143kB 402kB/s
  302. Installing collected packages: idna, urllib3, certifi, chardet, requests, hammock
  303. Successfully installed certifi-2017.11.5 chardet-3.0.4 hammock-0.2.4 idna-2.6 requests-2.18.4 urllib3-1.22
  304.  $ sudo nodepy https://nodepy.org/install-pm.py master --upgrade --global
  305. downloading zipball for "master"...
  306. unpacking zipball...
  307. ('$', '/usr/local/opt/python/bin/python2.7 /Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py /tmp/hRobJCnodepy-pm-master/nodepy-nodepy-pm-e8933f6/scripts/install.py --global --upgrade')
  308. Bootstrapping Python dependencies ...
  309. ('$', u"/usr/local/opt/python/bin/python2.7 -m pip install --prefix /Users/roger/Library/Python/2.7 --ignore-installed 'distlib>=0.2.4' 'six>=1.11.0' 'nr>=1.4.8' 'hammock>=0.2.4' 'requests>=2.13.0' 'click>=6.7' 'appdirs>=1.4.2'")
  310. ()
  311. Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
  312.       [install] prefix=
  313.   The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  314.  The directory '/Users/roger/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  315.   Collecting distlib>=0.2.4
  316.   Collecting six>=1.11.0
  317.     Downloading six-1.11.0-py2.py3-none-any.whl
  318.   Collecting nr>=1.4.8
  319.     Downloading nr-1.4.8.tar.gz (41kB)
  320.   Collecting hammock>=0.2.4
  321.   Collecting requests>=2.13.0
  322.     Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
  323.   Collecting click>=6.7
  324.     Downloading click-6.7-py2.py3-none-any.whl (71kB)
  325.   Collecting appdirs>=1.4.2
  326.     Downloading appdirs-1.4.3-py2.py3-none-any.whl
  327.   Collecting idna<2.7,>=2.5 (from requests>=2.13.0)
  328.     Downloading idna-2.6-py2.py3-none-any.whl (56kB)
  329.   Collecting urllib3<1.23,>=1.21.1 (from requests>=2.13.0)
  330.     Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
  331.   Collecting certifi>=2017.4.17 (from requests>=2.13.0)
  332.     Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
  333.   Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.13.0)
  334.     Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
  335.   Installing collected packages: distlib, six, nr, idna, urllib3, certifi, chardet, requests, hammock, click, appdirs
  336.     Running setup.py install for nr: started
  337.       Running setup.py install for nr: finished with status 'done'
  338.   Successfully installed appdirs-1.4.3 certifi-2017.11.5 chardet-3.0.4 click-6.7 distlib-0.2.6 hammock-0.2.4 idna-2.6 nr-1.4.8 requests-2.18.4 six-1.11.0 urllib3-1.22
  339. ()
  340. Self-installing nodepy-pm ...
  341. ()
  342.   The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  343.  The directory '/Users/roger/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  344.   Collecting distlib>=0.2.4
  345.   Requirement already up-to-date: six>=1.11.0 in /Users/roger/Library/Python/2.7/lib/python/site-packages
  346.   Requirement already up-to-date: nr>=1.4.8 in /usr/local/lib/python2.7/site-packages
  347.   Requirement already up-to-date: hammock>=0.2.4 in /usr/local/lib/python2.7/site-packages
  348.   Requirement already up-to-date: requests>=2.13.0 in /usr/local/lib/python2.7/site-packages
  349.   Requirement already up-to-date: click>=6.7 in /usr/local/lib/python2.7/site-packages
  350.   Collecting appdirs>=1.4.2
  351.     Downloading appdirs-1.4.3-py2.py3-none-any.whl
  352.   Requirement already up-to-date: idna<2.7,>=2.5 in /usr/local/lib/python2.7/site-packages (from requests>=2.13.0)
  353.   Requirement already up-to-date: urllib3<1.23,>=1.21.1 in /usr/local/lib/python2.7/site-packages (from requests>=2.13.0)
  354.   Requirement already up-to-date: certifi>=2017.4.17 in /usr/local/lib/python2.7/site-packages (from requests>=2.13.0)
  355.   Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/site-packages (from requests>=2.13.0)
  356.   Installing collected packages: distlib, appdirs
  357.   Successfully installed appdirs-1.4.3 distlib-0.2.6
  358.   Note: implying --internal due to --global.
  359.   Installing "nodepy-pm@2.0.0-dev"...
  360.   [nodepy-pm/scripts/pre-install]: can not create .gitref if .git directory does not exist.
  361.   Installing Python dependencies for "nodepy-pm@2.0.0-dev"...
  362.     Installing Python dependencies via Pip: --prefix /Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/.nodepy/pip distlib>=0.2.4 six>=1.11.0 nr>=1.4.8 hammock>=0.2.4 requests>=2.13.0 click>=6.7 appdirs>=1.4.2 --upgrade (as a separate process)
  363.   Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
  364.         [install] prefix=
  365.   Installing "nodepy-pm@2.0.0-dev" to "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm" ...
  366.     Copying index.py ...
  367.     Copying LICENSE.txt ...
  368.     Copying nodepy.json ...
  369.     Copying README.md ...
  370.     Copying lib/argschema.py ...
  371.     Copying lib/brewfix.py ...
  372.     Copying lib/config.py ...
  373.     Copying lib/env.py ...
  374.     Copying lib/install.py ...
  375.     Copying lib/logger.py ...
  376.     Copying lib/manifest_test.py ...
  377.     Copying lib/package-lifecycle.py ...
  378.     Copying lib/refstring.py ...
  379.     Copying lib/refstring_test.py ...
  380.     Copying lib/registry.py ...
  381.     Copying lib/semver.py ...
  382.     Copying lib/semver_test.py ...
  383.     Copying lib/manifest/__init__.py ...
  384.     Copying lib/manifest/cfgparser.py ...
  385.     Copying lib/manifest/README.md ...
  386.     Copying lib/util/decorators.py ...
  387.     Copying lib/util/download.py ...
  388.     Copying lib/util/json.py ...
  389.     Copying lib/util/script.py ...
  390.     Copying lib/util/text.py ...
  391.     Installing script "nodepy-pm" to "/Users/roger/Library/Python/2.7/bin"...
  392.     Installing script "nodepy-pm2" to "/Users/roger/Library/Python/2.7/bin"...
  393.     Installing script "nodepy-pm2.7" to "/Users/roger/Library/Python/2.7/bin"...
  394.  
  395.  $ c4ddev
  396. -bash: c4ddev: command not found
  397.  $
  398.  $
  399.  $
  400.  $ nodepy-pm install https://github.com/NiklasRosenstein/c4ddev.git@develop --global
  401. Note: implying --internal due to --global.
  402. Traceback (most recent call last):
  403.   File "/Users/roger/Library/Python/2.7/bin/nodepy-pm", line 10, in <module>
  404.     sys.exit(nodepy.main.main())
  405.   File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
  406.     ctx.load_module(ctx.main_module, do_init=False)
  407.   File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
  408.     module.load()
  409.   File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
  410.     exec(code, vars(self.namespace))
  411.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 570, in <module>
  412.     main()
  413.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
  414.     return self.main(*args, **kwargs)
  415.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
  416.     rv = self.invoke(ctx)
  417.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
  418.     return _process_result(sub_ctx.command.invoke(sub_ctx))
  419.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
  420.     return ctx.invoke(self.callback, **ctx.params)
  421.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
  422.     return callback(*args, **kwargs)
  423.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 109, in wrapper
  424.     res = func(*args, **kwargs)
  425.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 271, in install
  426.     req = manifest.Requirement.from_line(pkg, expect_name=True)
  427.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/manifest/__init__.py", line 395, in from_line
  428.     kwargs['selector'] = semver.Selector(line)
  429.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/semver.py", line 308, in __init__
  430.     self.criteria = [SingleSelector(x.strip()) for x in items]
  431.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/semver.py", line 203, in __init__
  432.     raise ValueError("invalid version selector: {0!r}".format(value))
  433. ValueError: invalid version selector: u'develop'
  434.  $
  435.  $
  436.  $
  437.  $ nodepy-pm install git+https://github.com/NiklasRosenstein/c4ddev.git@develop --global
  438. Note: implying --internal due to --global.
  439. Cloning repository: $ ['git', 'clone', u'https://github.com/NiklasRosenstein/c4ddev.git', '/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/.tmp', '-b', u'develop']
  440. fatal: could not create work tree dir '/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/.tmp': Permission denied
  441. Error: Git clone failed
  442. Error: Installation failed
  443.  $ sudo nodepy-pm install git+https://github.com/NiklasRosenstein/c4ddev.git@develop --global
  444. Password:
  445. Note: implying --internal due to --global.
  446. Cloning repository: $ ['git', 'clone', u'https://github.com/NiklasRosenstein/c4ddev.git', '/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/.tmp', '-b', u'develop']
  447. Cloning into '/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/.tmp'...
  448. remote: Counting objects: 1753, done.
  449. remote: Compressing objects: 100% (6/6), done.
  450. remote: Total 1753 (delta 1), reused 5 (delta 1), pack-reused 1746
  451. Receiving objects: 100% (1753/1753), 1.60 MiB | 129.00 KiB/s, done.
  452. Resolving deltas: 100% (938/938), done.
  453. Installing "@NiklasRosenstein/c4ddev@0.1.6"...
  454. Installing Python dependencies for "@NiklasRosenstein/c4ddev@0.1.6"...
  455.   Installing Python dependencies via Pip: --prefix /Users/roger/Library/Python/2.7/lib/python/nodepy-modules/@NiklasRosenstein/c4ddev/.nodepy/pip bs4 nr>=1.4.3 click>=6.7
  456. Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
  457.       [install] prefix=
  458. The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  459. The directory '/Users/roger/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  460. Collecting bs4
  461.   Downloading bs4-0.0.1.tar.gz
  462. Requirement already satisfied: nr>=1.4.3 in /usr/local/lib/python2.7/site-packages
  463. Requirement already satisfied: click>=6.7 in /usr/local/lib/python2.7/site-packages
  464. Collecting beautifulsoup4 (from bs4)
  465.   Downloading beautifulsoup4-4.6.0-py2-none-any.whl (86kB)
  466.     100% |████████████████████████████████| 92kB 341kB/s
  467. Installing collected packages: beautifulsoup4, bs4
  468.   Running setup.py install for bs4 ... done
  469. Successfully installed beautifulsoup4-4.6.0 bs4-0.0.1
  470. Moving "@NiklasRosenstein/c4ddev@0.1.6" to "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/@NiklasRosenstein/c4ddev" ...
  471. True
  472. Traceback (most recent call last):
  473.   File "/Users/roger/Library/Python/2.7/bin/nodepy-pm", line 10, in <module>
  474.     sys.exit(nodepy.main.main())
  475.   File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
  476.     ctx.load_module(ctx.main_module, do_init=False)
  477.   File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
  478.     module.load()
  479.   File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
  480.     exec(code, vars(self.namespace))
  481.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 570, in <module>
  482.     main()
  483.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
  484.     return self.main(*args, **kwargs)
  485.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
  486.     rv = self.invoke(ctx)
  487.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
  488.     return _process_result(sub_ctx.command.invoke(sub_ctx))
  489.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
  490.     return ctx.invoke(self.callback, **ctx.params)
  491.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
  492.     return callback(*args, **kwargs)
  493.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 109, in wrapper
  494.     res = func(*args, **kwargs)
  495.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 293, in install
  496.     success, info = installer.install_from_requirement(req)
  497.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/install.py", line 481, in install_from_requirement
  498.     return self.install_from_git(req.git_url, req.recursive, internal=req.internal, pure=req.pure)
  499.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/install.py", line 753, in install_from_git
  500.     internal=internal, pure=pure)
  501.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/util/decorators.py", line 35, in wrapper
  502.     return func(*args, **kwargs)
  503.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/install.py"'git', 'clone', u'https://github.com/NiklasRosenstein/c4ddev.git', '/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/.tmp', '-b', u'develop']
  504. Cloning into '/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/.tmp'...
  505. remote: Counting objects: 1753, done.
  506. remote: Compressing objects: 100% (6/6), done.
  507. remote: Total 1753 (delta 1), reused 5 (delta 1), pack-reused 1746
  508. Receiving objects: 100% (1753/1753), 1.60 MiB | 208.00 KiB/s, done.
  509. Resolving deltas: 100% (938/938), done.
  510. Installing "@NiklasRosenstein/c4ddev@0.1.6"...
  511. Installing Python dependencies for "@NiklasRosenstein/c4ddev@0.1.6"...
  512.   Installing Python dependencies via Pip: --prefix /Users/roger/Library/Python/2.7/lib/python/nodepy-modules/@NiklasRosenstein/c4ddev/.nodepy/pip bs4 nr>=1.4.3 click>=6.7
  513. Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
  514.       [install] prefix=
  515. The directory '/Users/roger/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  516. The directory '/Users/roger/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  517. Collecting bs4
  518.   Downloading bs4-0.0.1.tar.gz
  519. Requirement already satisfied: nr>=1.4.3 in /usr/local/lib/python2.7/site-packages
  520. Requirement already satisfied: click>=6.7 in /usr/local/lib/python2.7/site-packages
  521. Collecting beautifulsoup4 (from bs4)
  522.   Downloading beautifulsoup4-4.6.0-py2-none-any.whl (86kB)
  523.     100% |████████████████████████████████| 92kB 312kB/s
  524. Installing collected packages: beautifulsoup4, bs4
  525.   Running setup.py install for bs4 ... done
  526. Successfully installed beautifulsoup4-4.6.0 bs4-0.0.1
  527. Moving "@NiklasRosenstein/c4ddev@0.1.6" to "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/@NiklasRosenstein/c4ddev" ...
  528. True
  529. Traceback (most recent call last):
  530.   File "/Users/roger/Library/Python/2.7/bin/nodepy-pm", line 10, in <module>
  531.     sys.exit(nodepy.main.main())
  532.   File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
  533.     ctx.load_module(ctx.main_module, do_init=False)
  534.   File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
  535.     module.load()
  536.   File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
  537.     exec(code, vars(self.namespace))
  538.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 570, in <module>
  539.     main()
  540.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
  541.     return self.main(*args, **kwargs)
  542.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
  543.     rv = self.invoke(ctx)
  544.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
  545.     return _process_result(sub_ctx.command.invoke(sub_ctx))
  546.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
  547.     return ctx.invoke(self.callback, **ctx.params)
  548.   File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
  549.     return callback(*args, **kwargs)
  550.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 109, in wrapper
  551.     res = func(*args, **kwargs)
  552.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 293, in install
  553.     success, info = installer.install_from_requirement(req)
  554.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/install.py", line 481, in install_from_requirement
  555.     return self.install_from_git(req.git_url, req.recursive, internal=req.internal, pure=req.pure)
  556.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/install.py", line 753, in install_from_git
  557.     internal=internal, pure=pure)
  558.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/util/decorators.py", line 35, in wrapper
  559.     return func(*args, **kwargs)
  560.   File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/install.py", line 599, in install_from_directory
  561.     os.rename(directory, target_dir)
  562. OSError: [Errno 66] Directory not empty
  563.  $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement