You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running dir2pi pyt/pkg the content of simple
dmanna@ubuntu:~/pyt/pkg/simple$ ls
cdiff click kazoo psutil pytz six
certifi idna patroni psycopg2 pyyaml tzlocal
chardet index.html prettytable python-dateutil requests urllib3
Now on trying to install patroni it is throwing the below error
dmanna@ubuntu:~$ sudo pip install --index-url=file:///home/dmanna/pyt/pkg/simple patroni
Downloading/unpacking patroni
Running setup.py (path:/tmp/pip_build_root/patroni/setup.py) egg_info for package patroni
Downloading/unpacking urllib3>=1.19.1,!=1.21 (from patroni)
Downloading/unpacking psycopg2>=2.5.4 (from patroni)
Running setup.py (path:/tmp/pip_build_root/psycopg2/setup.py) egg_info for package psycopg2
Downloading/unpacking PyYAML (from patroni)
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1178, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 194, in find_requirement
page = self._get_page(main_index_url, req)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 568, in _get_page
session=self.session,
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 670, in get_page
resp = session.get(url, headers={"Accept": "text/html"})
File "/usr/share/python-wheels/requests-2.2.1-py2.py3-none-any.whl/requests/sessions.py", line 467, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 237, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/usr/share/python-wheels/requests-2.2.1-py2.py3-none-any.whl/requests/sessions.py", line 455, in request
resp = self.send(prep, **send_kwargs)
File "/usr/share/python-wheels/requests-2.2.1-py2.py3-none-any.whl/requests/sessions.py", line 558, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 194, in send
stats = os.stat(pathname)
OSError: [Errno 2] No such file or directory: '/home/dmanna/pyt/pkg/simple/PyYAML/'
Storing debug log for failure in /home/dmanna/.pip/pip.log
Versions
pip 1.5.4 from /usr/lib/python2.7/dist-packages
pip2pi - 0.7.0
Ubuntu 14.04
The text was updated successfully, but these errors were encountered:
I have a directory full of packages like below
After running
dir2pi pyt/pkg
the content ofsimple
Now on trying to install
patroni
it is throwing the below errorVersions
The text was updated successfully, but these errors were encountered: