question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PySocks DependencyWarning

See original GitHub issue

Hello,

I just installed on W7 using the executable installer, and I keep getting this message:

C:\PROGRA~2\DATAVE~1\aliyunsdkcore\vendored\requests\packages\urllib3\contrib\socks.py:37: DependencyWarning: SOCKS support in urllib3 requires the installation of optional dependencies: specifically, PySocks.  For more information, see https://urllib3.readthedocs.io/en/latest/contrib.html#socks-proxies

Other than that, the installation seems to work okay.

Please provide information about your setup DVC version(i.e. dvc --version), Platform and method of installation (pip, homebrew, pkg Mac, exe (Windows), DEB(Linux), RPM(Linux))

DVC version: 0.40.7
Python version: 2.7.16
Platform: Windows-7-6.1.7601-SP1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
efiopcommented, May 29, 2019

If I install via pip on windows, will dvc still be available on my git bash? The only other question I have about installing via pip would be how it interacts with my conda installation of python and environments.

With conda it should be even simpler, since it has pip on board. pip install dvc should work fine.

I downloaded the 0.41.3 exe file (from here) and below is the output of dvc version. Is there an step I have to take to uninstall the python 2 ? I tried deleting the directory C:/Program Files/Data Version Control/ before running the exe and I still see the python 2 version.

Hm, that is weird, we might have a bug there, need to check. Deleting that directory should’ve deleted the python 2, since it is used internally and not linked to the outside in any way. Maybe we have a bug and still building our windows binary with python2.

1reaction
def-mycroftcommented, Jun 1, 2019

Hello @efiop, thanks for your response. dvc is such a great project, I’ve been really happy with dvc so far and I plan on using it in most of my data-heavy projects going forward.

I installed via pip on my Ubuntu 19 machine, no problem, but my W7 machine at the office is a different story. If I install via pip on windows, will dvc still be available on my git bash? The only other question I have about installing via pip would be how it interacts with my conda installation of python and environments.

I downloaded the 0.41.3 exe file (from here) and below is the output of dvc version. Is there an step I have to take to uninstall the python 2 ? I tried deleting the directory C:/Program Files/Data Version Control/ before running the exe and I still see the python 2 version.

$ dvc version
C:\PROGRA~2\DATAVE~1\aliyunsdkcore\vendored\requests\packages\urllib3\contrib\socks.py:37: DependencyWarning: SOCKS support in urllib3 requires the installation of optional dependencies: specifically, PySocks.  For more information, see https://urllib3.readthedocs.io/en/latest/contrib.html#socks-proxies
DVC version: 0.41.3
Python version: 2.7.16
Platform: Windows-7-6.1.7601-SP1
Read more comments on GitHub >

github_iconTop Results From Across the Web

PySocks - PyPI
PySocks lets you send traffic through SOCKS and HTTP proxy servers. It is a modern fork of SocksiPy with bug fixes and extra...
Read more >
Python's requests "Missing dependencies for SOCKS support ...
This means that requests is using socks as a proxy and that socks is not installed. Just run pip install pysocks.
Read more >
Dependency Warning - Raspberry Pi Forums
... DependencyWarning: SOCKS support in urllib3 requires the installation of optional dependencies: ... sudo apt-get install python3-pysocks.
Read more >
contrib/socks.py · hemamaps/urllib3 - Gemfury
Currently PySocks does not support IPv6 connections to the SOCKS proxy. ... DependencyWarning ) raise from socket import error as SocketError, ...
Read more >
[PUP-8986] pip provider fails if "pip --version" does not emit ...
Installing python-pysocks removes the warning and fixes the puppet run. ... DependencyWarning: SOCKS support in urllib3 requires the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found