[Qgis-developer] Unable to build QGIS-Website with Paver

DelazJ delazj at gmail.com
Wed Apr 20 11:25:51 PDT 2016


Hi,
I'm tring to build QGIS-website with Paver
<https://github.com/qgis/QGIS-Website#building-the-website-using-paver> on
Windows 10 and it fails in the earlier steps
I have easy_install installed (can find it in my
osgeo4w64/Apps/Python/Scripts folder, added to the PATH)
When I launch python bootstrap.py from my local repo folder, I get :

F:\SIG\GitHub\QGIS-Website> python bootstrap.py
PYTHONHOME is set.  You *must* activate the virtualenv before using it
New python executable in virtualenv\Scripts\python.exe
Installing setuptools..............
  Complete output from command F:\SIG\GitHub\QGIS-W...v\Scripts\python.exe
-c "#!python
\"\"\"Bootstra...sys.argv[1:])


" --always-copy -U setuptools:
  Traceback (most recent call last):
  File "<string>", line 278, in <module>
  File "<string>", line 210, in main
  File "<string>", line 132, in download_setuptools
  File "C:\OSGeo4W64\apps\Python27\Lib\urllib2.py", line 94, in <module>
    import httplib
  File "C:\OSGeo4W64\apps\Python27\Lib\httplib.py", line 71, in <module>
    import socket
  File "C:\OSGeo4W64\apps\Python27\Lib\socket.py", line 47, in <module>
    import _socket
ImportError: No module named _socket
----------------------------------------
...Installing setuptools...done.
Traceback (most recent call last):
  File "bootstrap.py", line 2601, in <module>
    main()
  File "bootstrap.py", line 981, in main
    no_pip=options.no_pip)
  File "bootstrap.py", line 1093, in create_environment
    search_dirs=search_dirs, never_download=never_download)
  File "bootstrap.py", line 613, in install_setuptools
    search_dirs=search_dirs, never_download=never_download)
  File "bootstrap.py", line 585, in _install_req
    cwd=cwd)
  File "bootstrap.py", line 1059, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command F:\SIG\GitHub\QGIS-W...v\Scripts\python.exe -c "#!python
\"\"\"Bootstra...sys.argv[1:])


" --always-copy -U setuptools failed with error code 1
F:\SIG\GitHub\QGIS-Website>

Can someone explain what's wrong, please?

Thanks,
H.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160420/343e444e/attachment.html>


More information about the Qgis-developer mailing list