Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo pip uninstall node.py
- Password:
- 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.
- Uninstalling node.py-0.0.22:
- /Users/roger/Library/Python/2.7/bin/nodepy
- /Users/roger/Library/Python/2.7/bin/nodepy2
- /Users/roger/Library/Python/2.7/bin/nodepy2.7
- /Users/roger/Library/Python/2.7/lib/python/site-packages/node.py-0.0.22-py2.7.egg-info
- /Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy.py
- /Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy.pyc
- Proceed (y/n)? y
- Successfully uninstalled node.py-0.0.22
- 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.
- $
- $
- $ sudo pip install nodepy-runtime --user
- 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.
- 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.
- Collecting nodepy-runtime
- Collecting six>=1.11.0 (from nodepy-runtime)
- Downloading six-1.11.0-py2.py3-none-any.whl
- Requirement already satisfied: localimport>=1.5.2 in /Users/roger/Library/Python/2.7/lib/python/site-packages (from nodepy-runtime)
- Requirement already satisfied: pathlib2>=2.3.0 in /usr/local/lib/python2.7/site-packages (from nodepy-runtime)
- Requirement already satisfied: scandir; python_version < "3.5" in /usr/local/lib/python2.7/site-packages (from pathlib2>=2.3.0->nodepy-runtime)
- Installing collected packages: six, nodepy-runtime
- Successfully installed nodepy-runtime-2.0.0 six-1.11.0
- $
- $
- $
- $ nodepy https://nodepy.org/install-pm.py master --upgrade --global
- ^CTraceback (most recent call last):
- File "/Users/roger/Library/Python/2.7/bin/nodepy", line 11, in <module>
- sys.exit(main())
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
- ctx.load_module(ctx.main_module, do_init=False)
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
- module.load()
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 13, in load
- with self.filename.open('r') as fp:
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/utils/path/urlpath.py", line 77, in open
- fp = self._readable(urlopen(str(self)).fp)
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
- return opener.open(url, data, timeout)
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open
- response = self._open(req, data)
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 447, in _open
- '_open', req)
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
- result = func(*args)
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1241, in https_open
- context=self._context)
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1195, in do_open
- h.request(req.get_method(), req.get_selector(), req.data, headers)
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1042, in request
- self._send_request(method, url, body, headers)
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1082, in _send_request
- self.endheaders(body)
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1038, in endheaders
- self._send_output(message_body)
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 882, in _send_output
- self.send(msg)
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 844, in send
- self.connect()
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1263, in connect
- server_hostname=server_hostname)
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 363, in wrap_socket
- _context=self)
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 611, in __init__
- self.do_handshake()
- File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 840, in do_handshake
- self._sslobj.do_handshake()
- KeyboardInterrupt
- $ sudo nodepy https://nodepy.org/install-pm.py master --upgrade --global
- downloading zipball for "master"...
- unpacking zipball...
- ('$', '/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')
- Bootstrapping Python dependencies ...
- ('$', 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'")
- ()
- Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
- [install] prefix=
- 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.
- 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.
- Collecting distlib>=0.2.4
- Collecting six>=1.11.0
- Downloading six-1.11.0-py2.py3-none-any.whl
- Collecting nr>=1.4.8
- Downloading nr-1.4.8.tar.gz (41kB)
- Collecting hammock>=0.2.4
- Collecting requests>=2.13.0
- Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
- Collecting click>=6.7
- Downloading click-6.7-py2.py3-none-any.whl (71kB)
- Collecting appdirs>=1.4.2
- Downloading appdirs-1.4.3-py2.py3-none-any.whl
- Collecting idna<2.7,>=2.5 (from requests>=2.13.0)
- Downloading idna-2.6-py2.py3-none-any.whl (56kB)
- Collecting urllib3<1.23,>=1.21.1 (from requests>=2.13.0)
- Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
- Collecting certifi>=2017.4.17 (from requests>=2.13.0)
- Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
- Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.13.0)
- Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
- Installing collected packages: distlib, six, nr, idna, urllib3, certifi, chardet, requests, hammock, click, appdirs
- Running setup.py install for nr: started
- Running setup.py install for nr: finished with status 'done'
- 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
- ()
- Self-installing nodepy-pm ...
- ()
- Traceback (most recent call last):
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 120, in <module>
- sys.exit(main())
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
- ctx.load_module(ctx.main_module, do_init=False)
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
- module.load()
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
- exec(code, vars(self.namespace))
- File "/private/tmp/WfDECmnodepy-pm-master/nodepy-nodepy-pm-e8933f6/index.py", line 26, in <module>
- import click
- ImportError: No module named click
- $ sudo pip install click
- 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.
- 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.
- Collecting click
- Downloading click-6.7-py2.py3-none-any.whl (71kB)
- 100% |████████████████████████████████| 71kB 257kB/s
- Installing collected packages: click
- Successfully installed click-6.7
- $
- $
- $ sudo nodepy https://nodepy.org/install-pm.py master --upgrade --global
- downloading zipball for "master"...
- unpacking zipball...
- ('$', '/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')
- Bootstrapping Python dependencies ...
- ('$', 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'")
- ()
- Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
- [install] prefix=
- 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.
- 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.
- Collecting distlib>=0.2.4
- Collecting six>=1.11.0
- Downloading six-1.11.0-py2.py3-none-any.whl
- Collecting nr>=1.4.8
- Downloading nr-1.4.8.tar.gz (41kB)
- Collecting hammock>=0.2.4
- Collecting requests>=2.13.0
- Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
- Collecting click>=6.7
- Downloading click-6.7-py2.py3-none-any.whl (71kB)
- Collecting appdirs>=1.4.2
- Downloading appdirs-1.4.3-py2.py3-none-any.whl
- Collecting idna<2.7,>=2.5 (from requests>=2.13.0)
- Downloading idna-2.6-py2.py3-none-any.whl (56kB)
- Collecting urllib3<1.23,>=1.21.1 (from requests>=2.13.0)
- Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
- Collecting certifi>=2017.4.17 (from requests>=2.13.0)
- Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
- Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.13.0)
- Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
- Installing collected packages: distlib, six, nr, idna, urllib3, certifi, chardet, requests, hammock, click, appdirs
- Running setup.py install for nr: started
- Running setup.py install for nr: finished with status 'done'
- 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
- ()
- Self-installing nodepy-pm ...
- ()
- Traceback (most recent call last):
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 120, in <module>
- sys.exit(main())
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
- ctx.load_module(ctx.main_module, do_init=False)
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
- module.load()
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
- exec(code, vars(self.namespace))
- File "/private/tmp/5m5hOZnodepy-pm-master/nodepy-nodepy-pm-e8933f6/index.py", line 36, in <module>
- import manifest, {load as load_manifest} from './lib/manifest'
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 36, in __call__
- self.context.load_module(module)
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
- module.load()
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
- exec(code, vars(self.namespace))
- File "/private/tmp/5m5hOZnodepy-pm-master/nodepy-nodepy-pm-e8933f6/lib/manifest/__init__.py", line 11, in <module>
- import cfgparser from './cfgparser'
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 36, in __call__
- self.context.load_module(module)
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
- module.load()
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
- exec(code, vars(self.namespace))
- File "/private/tmp/5m5hOZnodepy-pm-master/nodepy-nodepy-pm-e8933f6/lib/manifest/cfgparser.py", line 7, in <module>
- import nr.parse.strex as strex
- ImportError: No module named nr.parse.strex
- $ sudo pip install strex
- 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.
- 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.
- Collecting strex
- Could not find a version that satisfies the requirement strex (from versions: )
- No matching distribution found for strex
- $ sudo pip install nr
- 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.
- 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.
- Collecting nr
- Downloading nr-1.4.8.tar.gz (41kB)
- 100% |████████████████████████████████| 51kB 311kB/s
- Installing collected packages: nr
- Running setup.py install for nr ... done
- Successfully installed nr-1.4.8
- $
- $
- $
- $ sudo nodepy https://nodepy.org/install-pm.py master --upgrade --global
- downloading zipball for "master"...
- unpacking zipball...
- ('$', '/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')
- Bootstrapping Python dependencies ...
- ('$', 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'")
- ()
- Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
- [install] prefix=
- 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.
- 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.
- Collecting distlib>=0.2.4
- Collecting six>=1.11.0
- Downloading six-1.11.0-py2.py3-none-any.whl
- Collecting nr>=1.4.8
- Downloading nr-1.4.8.tar.gz (41kB)
- Collecting hammock>=0.2.4
- Collecting requests>=2.13.0
- Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
- Collecting click>=6.7
- Downloading click-6.7-py2.py3-none-any.whl (71kB)
- Collecting appdirs>=1.4.2
- Downloading appdirs-1.4.3-py2.py3-none-any.whl
- Collecting idna<2.7,>=2.5 (from requests>=2.13.0)
- Downloading idna-2.6-py2.py3-none-any.whl (56kB)
- Collecting urllib3<1.23,>=1.21.1 (from requests>=2.13.0)
- Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
- Collecting certifi>=2017.4.17 (from requests>=2.13.0)
- Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
- Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.13.0)
- Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
- Installing collected packages: distlib, six, nr, idna, urllib3, certifi, chardet, requests, hammock, click, appdirs
- Running setup.py install for nr: started
- Running setup.py install for nr: finished with status 'done'
- 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
- ()
- Self-installing nodepy-pm ...
- ()
- Traceback (most recent call last):
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 120, in <module>
- sys.exit(main())
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
- ctx.load_module(ctx.main_module, do_init=False)
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
- module.load()
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
- exec(code, vars(self.namespace))
- File "/private/tmp/QRN0Tynodepy-pm-master/nodepy-nodepy-pm-e8933f6/index.py", line 41, in <module>
- import _install from './lib/install'
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 36, in __call__
- self.context.load_module(module)
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
- module.load()
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
- exec(code, vars(self.namespace))
- File "/private/tmp/QRN0Tynodepy-pm-master/nodepy-nodepy-pm-e8933f6/lib/install.py", line 39, in <module>
- import _registry from './registry'
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 36, in __call__
- self.context.load_module(module)
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
- module.load()
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
- exec(code, vars(self.namespace))
- File "/private/tmp/QRN0Tynodepy-pm-master/nodepy-nodepy-pm-e8933f6/lib/registry.py", line 28, in <module>
- import hammock
- ImportError: No module named hammock
- $ sudo pip install hammock
- 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.
- 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.
- Collecting hammock
- Collecting requests>=1.1.0 (from hammock)
- Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
- 100% |████████████████████████████████| 92kB 348kB/s
- Collecting idna<2.7,>=2.5 (from requests>=1.1.0->hammock)
- Downloading idna-2.6-py2.py3-none-any.whl (56kB)
- 100% |████████████████████████████████| 61kB 560kB/s
- Collecting urllib3<1.23,>=1.21.1 (from requests>=1.1.0->hammock)
- Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
- 100% |████████████████████████████████| 133kB 275kB/s
- Collecting certifi>=2017.4.17 (from requests>=1.1.0->hammock)
- Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
- 100% |████████████████████████████████| 337kB 375kB/s
- Collecting chardet<3.1.0,>=3.0.2 (from requests>=1.1.0->hammock)
- Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
- 100% |████████████████████████████████| 143kB 402kB/s
- Installing collected packages: idna, urllib3, certifi, chardet, requests, hammock
- Successfully installed certifi-2017.11.5 chardet-3.0.4 hammock-0.2.4 idna-2.6 requests-2.18.4 urllib3-1.22
- $ sudo nodepy https://nodepy.org/install-pm.py master --upgrade --global
- downloading zipball for "master"...
- unpacking zipball...
- ('$', '/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')
- Bootstrapping Python dependencies ...
- ('$', 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'")
- ()
- Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
- [install] prefix=
- 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.
- 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.
- Collecting distlib>=0.2.4
- Collecting six>=1.11.0
- Downloading six-1.11.0-py2.py3-none-any.whl
- Collecting nr>=1.4.8
- Downloading nr-1.4.8.tar.gz (41kB)
- Collecting hammock>=0.2.4
- Collecting requests>=2.13.0
- Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
- Collecting click>=6.7
- Downloading click-6.7-py2.py3-none-any.whl (71kB)
- Collecting appdirs>=1.4.2
- Downloading appdirs-1.4.3-py2.py3-none-any.whl
- Collecting idna<2.7,>=2.5 (from requests>=2.13.0)
- Downloading idna-2.6-py2.py3-none-any.whl (56kB)
- Collecting urllib3<1.23,>=1.21.1 (from requests>=2.13.0)
- Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
- Collecting certifi>=2017.4.17 (from requests>=2.13.0)
- Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
- Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.13.0)
- Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
- Installing collected packages: distlib, six, nr, idna, urllib3, certifi, chardet, requests, hammock, click, appdirs
- Running setup.py install for nr: started
- Running setup.py install for nr: finished with status 'done'
- 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
- ()
- Self-installing nodepy-pm ...
- ()
- 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.
- 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.
- Collecting distlib>=0.2.4
- Requirement already up-to-date: six>=1.11.0 in /Users/roger/Library/Python/2.7/lib/python/site-packages
- Requirement already up-to-date: nr>=1.4.8 in /usr/local/lib/python2.7/site-packages
- Requirement already up-to-date: hammock>=0.2.4 in /usr/local/lib/python2.7/site-packages
- Requirement already up-to-date: requests>=2.13.0 in /usr/local/lib/python2.7/site-packages
- Requirement already up-to-date: click>=6.7 in /usr/local/lib/python2.7/site-packages
- Collecting appdirs>=1.4.2
- Downloading appdirs-1.4.3-py2.py3-none-any.whl
- Requirement already up-to-date: idna<2.7,>=2.5 in /usr/local/lib/python2.7/site-packages (from requests>=2.13.0)
- Requirement already up-to-date: urllib3<1.23,>=1.21.1 in /usr/local/lib/python2.7/site-packages (from requests>=2.13.0)
- Requirement already up-to-date: certifi>=2017.4.17 in /usr/local/lib/python2.7/site-packages (from requests>=2.13.0)
- 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)
- Installing collected packages: distlib, appdirs
- Successfully installed appdirs-1.4.3 distlib-0.2.6
- Note: implying --internal due to --global.
- Installing "nodepy-pm@2.0.0-dev"...
- [nodepy-pm/scripts/pre-install]: can not create .gitref if .git directory does not exist.
- Installing Python dependencies for "nodepy-pm@2.0.0-dev"...
- 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)
- Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
- [install] prefix=
- Installing "nodepy-pm@2.0.0-dev" to "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm" ...
- Copying index.py ...
- Copying LICENSE.txt ...
- Copying nodepy.json ...
- Copying README.md ...
- Copying lib/argschema.py ...
- Copying lib/brewfix.py ...
- Copying lib/config.py ...
- Copying lib/env.py ...
- Copying lib/install.py ...
- Copying lib/logger.py ...
- Copying lib/manifest_test.py ...
- Copying lib/package-lifecycle.py ...
- Copying lib/refstring.py ...
- Copying lib/refstring_test.py ...
- Copying lib/registry.py ...
- Copying lib/semver.py ...
- Copying lib/semver_test.py ...
- Copying lib/manifest/__init__.py ...
- Copying lib/manifest/cfgparser.py ...
- Copying lib/manifest/README.md ...
- Copying lib/util/decorators.py ...
- Copying lib/util/download.py ...
- Copying lib/util/json.py ...
- Copying lib/util/script.py ...
- Copying lib/util/text.py ...
- Installing script "nodepy-pm" to "/Users/roger/Library/Python/2.7/bin"...
- Installing script "nodepy-pm2" to "/Users/roger/Library/Python/2.7/bin"...
- Installing script "nodepy-pm2.7" to "/Users/roger/Library/Python/2.7/bin"...
- $ c4ddev
- -bash: c4ddev: command not found
- $
- $
- $
- $ nodepy-pm install https://github.com/NiklasRosenstein/c4ddev.git@develop --global
- Note: implying --internal due to --global.
- Traceback (most recent call last):
- File "/Users/roger/Library/Python/2.7/bin/nodepy-pm", line 10, in <module>
- sys.exit(nodepy.main.main())
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
- ctx.load_module(ctx.main_module, do_init=False)
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
- module.load()
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
- exec(code, vars(self.namespace))
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 570, in <module>
- main()
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
- return self.main(*args, **kwargs)
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
- rv = self.invoke(ctx)
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
- return _process_result(sub_ctx.command.invoke(sub_ctx))
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
- return ctx.invoke(self.callback, **ctx.params)
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
- return callback(*args, **kwargs)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 109, in wrapper
- res = func(*args, **kwargs)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 271, in install
- req = manifest.Requirement.from_line(pkg, expect_name=True)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/manifest/__init__.py", line 395, in from_line
- kwargs['selector'] = semver.Selector(line)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/semver.py", line 308, in __init__
- self.criteria = [SingleSelector(x.strip()) for x in items]
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/semver.py", line 203, in __init__
- raise ValueError("invalid version selector: {0!r}".format(value))
- ValueError: invalid version selector: u'develop'
- $
- $
- $
- $ nodepy-pm install git+https://github.com/NiklasRosenstein/c4ddev.git@develop --global
- Note: implying --internal due to --global.
- 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']
- fatal: could not create work tree dir '/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/.tmp': Permission denied
- Error: Git clone failed
- Error: Installation failed
- $ sudo nodepy-pm install git+https://github.com/NiklasRosenstein/c4ddev.git@develop --global
- Password:
- Note: implying --internal due to --global.
- 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']
- Cloning into '/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/.tmp'...
- remote: Counting objects: 1753, done.
- remote: Compressing objects: 100% (6/6), done.
- remote: Total 1753 (delta 1), reused 5 (delta 1), pack-reused 1746
- Receiving objects: 100% (1753/1753), 1.60 MiB | 129.00 KiB/s, done.
- Resolving deltas: 100% (938/938), done.
- Installing "@NiklasRosenstein/c4ddev@0.1.6"...
- Installing Python dependencies for "@NiklasRosenstein/c4ddev@0.1.6"...
- 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
- Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
- [install] prefix=
- 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.
- 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.
- Collecting bs4
- Downloading bs4-0.0.1.tar.gz
- Requirement already satisfied: nr>=1.4.3 in /usr/local/lib/python2.7/site-packages
- Requirement already satisfied: click>=6.7 in /usr/local/lib/python2.7/site-packages
- Collecting beautifulsoup4 (from bs4)
- Downloading beautifulsoup4-4.6.0-py2-none-any.whl (86kB)
- 100% |████████████████████████████████| 92kB 341kB/s
- Installing collected packages: beautifulsoup4, bs4
- Running setup.py install for bs4 ... done
- Successfully installed beautifulsoup4-4.6.0 bs4-0.0.1
- Moving "@NiklasRosenstein/c4ddev@0.1.6" to "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/@NiklasRosenstein/c4ddev" ...
- True
- Traceback (most recent call last):
- File "/Users/roger/Library/Python/2.7/bin/nodepy-pm", line 10, in <module>
- sys.exit(nodepy.main.main())
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
- ctx.load_module(ctx.main_module, do_init=False)
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
- module.load()
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
- exec(code, vars(self.namespace))
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 570, in <module>
- main()
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
- return self.main(*args, **kwargs)
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
- rv = self.invoke(ctx)
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
- return _process_result(sub_ctx.command.invoke(sub_ctx))
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
- return ctx.invoke(self.callback, **ctx.params)
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
- return callback(*args, **kwargs)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 109, in wrapper
- res = func(*args, **kwargs)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 293, in install
- success, info = installer.install_from_requirement(req)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/install.py", line 481, in install_from_requirement
- return self.install_from_git(req.git_url, req.recursive, internal=req.internal, pure=req.pure)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/install.py", line 753, in install_from_git
- internal=internal, pure=pure)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/util/decorators.py", line 35, in wrapper
- return func(*args, **kwargs)
- 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']
- Cloning into '/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/.tmp'...
- remote: Counting objects: 1753, done.
- remote: Compressing objects: 100% (6/6), done.
- remote: Total 1753 (delta 1), reused 5 (delta 1), pack-reused 1746
- Receiving objects: 100% (1753/1753), 1.60 MiB | 208.00 KiB/s, done.
- Resolving deltas: 100% (938/938), done.
- Installing "@NiklasRosenstein/c4ddev@0.1.6"...
- Installing Python dependencies for "@NiklasRosenstein/c4ddev@0.1.6"...
- 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
- Note: macOS detected, applying homebrew fix (see nodepy/ppym#9)
- [install] prefix=
- 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.
- 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.
- Collecting bs4
- Downloading bs4-0.0.1.tar.gz
- Requirement already satisfied: nr>=1.4.3 in /usr/local/lib/python2.7/site-packages
- Requirement already satisfied: click>=6.7 in /usr/local/lib/python2.7/site-packages
- Collecting beautifulsoup4 (from bs4)
- Downloading beautifulsoup4-4.6.0-py2-none-any.whl (86kB)
- 100% |████████████████████████████████| 92kB 312kB/s
- Installing collected packages: beautifulsoup4, bs4
- Running setup.py install for bs4 ... done
- Successfully installed beautifulsoup4-4.6.0 bs4-0.0.1
- Moving "@NiklasRosenstein/c4ddev@0.1.6" to "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/@NiklasRosenstein/c4ddev" ...
- True
- Traceback (most recent call last):
- File "/Users/roger/Library/Python/2.7/bin/nodepy-pm", line 10, in <module>
- sys.exit(nodepy.main.main())
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/main.py", line 113, in main
- ctx.load_module(ctx.main_module, do_init=False)
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/context.py", line 329, in load_module
- module.load()
- File "/Users/roger/Library/Python/2.7/lib/python/site-packages/nodepy/loader.py", line 41, in load
- exec(code, vars(self.namespace))
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 570, in <module>
- main()
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
- return self.main(*args, **kwargs)
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
- rv = self.invoke(ctx)
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
- return _process_result(sub_ctx.command.invoke(sub_ctx))
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
- return ctx.invoke(self.callback, **ctx.params)
- File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
- return callback(*args, **kwargs)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 109, in wrapper
- res = func(*args, **kwargs)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/index.py", line 293, in install
- success, info = installer.install_from_requirement(req)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/install.py", line 481, in install_from_requirement
- return self.install_from_git(req.git_url, req.recursive, internal=req.internal, pure=req.pure)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/install.py", line 753, in install_from_git
- internal=internal, pure=pure)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/util/decorators.py", line 35, in wrapper
- return func(*args, **kwargs)
- File "/Users/roger/Library/Python/2.7/lib/python/nodepy-modules/nodepy-pm/lib/install.py", line 599, in install_from_directory
- os.rename(directory, target_dir)
- OSError: [Errno 66] Directory not empty
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement