Anyone any thoughts on this? I can't upgrade PIP to the latest now.

On Sun 16 Sep, 2018, 12:53 AM , <subharaj.ma...@gmail.com> wrote:

> Cross-posting from stackoverflow
> <https://stackoverflow.com/questions/52346069/pip-how-to-install-dependencies-from-local-folder>
>
> I am trying to install dependencies via pip from a local folder. My
> requirements.txtlooks like below
>
> --no-index
>
> retrying==1.3.3
> six==1.11.0
>
>
> The steps I followed
>
> support@vrni-platform:~$ mkdir app_depen
> support@vrni-platform:~$ sudo pip install --download=/home/support/app_depen 
> retrying==1.3.3
>
>
> The content of /home/support/app_depen
>
> support@vrni-platform:~$ ls -lah /home/support/app_depen/
> total 32K
> drwxrwx--- 2 support support 4.0K Sep 15 15:04 .
> drwx------ 5 support support 4.0K Sep 15 15:09 ..
> -rw-r----- 1 root    root     11K Sep 15 15:04 retrying-1.3.3.tar.gz
> -rw-r----- 1 root    root     11K Sep 15 15:04 six-1.11.0-py2.py3-none-any.whl
>
>
>
> Then on trying to do the install via pip as shown below
> support@vrni-platform:~$ sudo pip install -U --force-reinstall 
> --allow-unverified
> --find-links=/home/support/app_depen/ -r requirements.txt
>
> I am getting the below error
>
> Collecting retrying==1.3.3 (from -r requirements.txt (line 2))
>   Could not find a version that satisfies the requirement retrying==1.3.3 
> (from -r requirements.txt (line 2)) (from versions: )
> No matching distribution found for retrying==1.3.3 (from -r requirements.txt 
> (line 2))
>
>
>
> I tried changing the permission like below. But still getting the same
> error
>
> support@vrni-platform:~$ ls -lah /home/support/app_depen/
> total 32K
> drwxrwx--- 2 support support 4.0K Sep 15 15:04 .
> drwx------ 5 support support 4.0K Sep 15 15:09 ..
> -rw-r-xr-x 1 root    root     11K Sep 15 15:04 retrying-1.3.3.tar.gz
> -rw-r----- 1 root    root     11K Sep 15 15:04 six-1.11.0-py2.py3-none-any.whl
>
>
>
> Can someone let me know what is going wrong?
>
>    - Python - 2.7.6
>    - PIP - 7.1.2
>
> --
> You received this message because you are subscribed to the Google Groups
> "virtualenv" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python-virtualenv+unsubscr...@googlegroups.com.
> To post to this group, send email to python-virtualenv@googlegroups.com.
> Visit this group at https://groups.google.com/group/python-virtualenv.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"virtualenv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python-virtualenv+unsubscr...@googlegroups.com.
To post to this group, send email to python-virtualenv@googlegroups.com.
Visit this group at https://groups.google.com/group/python-virtualenv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to