PySocks DependencyWarning
See original GitHub issueHello,
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:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
With conda it should be even simpler, since it has pip on board.
pip install dvc
should work fine.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.
Hello @efiop, thanks for your response.
dvc
is such a great project, I’ve been really happy withdvc
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.