I'm trying to use
splashr in R, so I'm working on making a virtual environment "docker" with python, to ultimately use in R.
Anyone have tips? I'm going crazy trying to do this. Docker seems to be working, but the whole python part isn't. The tutorial I've been trying to follow is here:
The part I keep getting stuck on is:
mkvirtualenv --python=/usr/bin/python3 docker in Command Prompt
I'd post a reprex if I could, but I don't really know what I could post here. Here's an error message I get when trying to install
library(splashr) #> Warning: package 'splashr' was built under R version 3.4.4 install_splash() #> Error in py_call_impl(callable, dots$args, dots$keywords): ConnectionError: HTTPSConnectionPool(host='192.168.99.100', port=2376): Max retries exceeded with url: /v1.35/images/create?tag=3.0&fromImage=scrapinghub%2Fsplash (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x00000000214BEBA8>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',)) #> #> Detailed traceback: #> File "C:\Users\eoppe\ANACON~1\lib\site-packages\docker\api\image.py", line 396, in pull #> stream=stream, timeout=None #> File "C:\Users\eoppe\ANACON~1\lib\site-packages\docker\utils\decorators.py", line 46, in inner #> return f(self, *args, **kwargs) #> File "C:\Users\eoppe\ANACON~1\lib\site-packages\docker\api\client.py", line 190, in _post #> return self.post(url, **self._set_request_timeout(kwargs)) #> File "C:\Users\eoppe\ANACON~1\lib\site-packages\requests\sessions.py", line 555, in post #> return self.request('POST', url, data=data, json=json, **kwargs) #> File "C:\Users\eoppe\ANACON~1\lib\site-packages\requests\sessions.py", line 508, in request #> resp = self.send(prep, **send_kwargs) #> File "C:\Users\eoppe\ANACON~1\lib\site-packages\requests\sessions.py", line 618, in send #> r = adapter.send(request, **kwargs) #> File "C:\Users\eoppe\ANACON~1\lib\site-packages\requests\adapters.py", line 508, in send #> raise ConnectionError(e, request=request)
Created on 2018-04-04 by the reprex package (v0.2.0).