Problem with installing python packages using paver win_install_deps

237 views
Skip to first unread message

meis...@hsr.ch

unread,
Apr 6, 2016, 4:27:44 AM4/6/16
to GeoNode Development
Hello everyone,

I have a problem using the command paver win_install_deps. It is referring to the tutorial here: http://docs.geonode.org/en/latest/tutorials/devel/devel_env/win_devinstall.html#win-devinstall
This is step 6 of the tutorial.

When I run this command (paver win_install_deps) this error is occuring:

(geonode) C:\Users\Martin\python-programs\geonode>paver win_install_deps
---> pavement.win_install_deps

Captured Task Output:
---------------------
---> pavement.win_install_deps
Traceback (most recent call last):
  File "C:\Users\Martin\python-programs\geonode\lib\site-packages\paver\tasks.py
", line 196, in _run_task
    return do_task()
  File "C:\Users\Martin\python-programs\geonode\lib\site-packages\paver\tasks.py
", line 193, in do_task
    return func(**kw)
  File "pavement.py", line 173, in win_install_deps
    grab_winfiles(url, tempfile, package)
  File "pavement.py", line 148, in grab_winfiles
    response = urllib2.urlopen(request)
  File "c:\python27\Lib\urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "c:\python27\Lib\urllib2.py", line 431, in open
    response = self._open(req, data)
  File "c:\python27\Lib\urllib2.py", line 449, in _open
    '_open', req)
  File "c:\python27\Lib\urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "c:\python27\Lib\urllib2.py", line 1227, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "c:\python27\Lib\urllib2.py", line 1197, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 10061] Es konnte keine Verbindung hergestellt we
rden, da der Zielcomputer die Verbindung verweigerte> (in English: no connection could be made because the target machine actively refused it)

I don't know which URL is called there.

I also looked into the source code ( File "c:\python27\Lib\urllib2.py", line 1197) and I could not find out why this error occurs.

Can anyone help me?

meis...@hsr.ch

unread,
Apr 6, 2016, 5:20:42 AM4/6/16
to GeoNode Development, meis...@hsr.ch
Hello everyone,

I could solve the problem.

I could find in a source file of geonode a link which was dead (http://superb-dca2.dl.sourceforge.net/project/py2exe/py2exe/0.6.9/py2exe-0.6.9.win32-py2.7.exe ). I could find out which package it is (py2exe) and I fixed the link there. The new link is: http://downloads.sourceforge.net/project/py2exe/py2exe/0.6.9/py2exe-0.6.9.win32-py2.7.exe .

Then the command could be run without  any problems.

jeffd...@gmail.com

unread,
Jan 8, 2017, 9:43:16 AM1/8/17
to GeoNode Development, meis...@hsr.ch
Hi , I too am having trouble with paver win_install_deps  
but mine output shows  Build failed :unknown task
pl help me out here 

roya olyazadeh

unread,
Dec 8, 2020, 6:31:58 PM12/8/20
to GeoNode Development, jeffd...@gmail.com, meis...@hsr.ch
hi any of you could fix your issue with 
this: paver win_install_deps  
I got the same error:  output shows  Build failed :unknown task  

Reply all
Reply to author
Forward
0 new messages