-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I have installed revision 0.5.3 to Win10 with Python 3.7.1.
Installing with pip lead to an error (and it was an old revision) (see Issue #9).
The following steps worked:
- Install Shapely according the homepage https://pypi.org/project/Shapely/ using the wheels from http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely
- Clone the repository
- Change to the directory of the repository
- Change the install requirements for lxml in
setup.pyfrom
install_requires=["lxml==3.6.2", "Sphinx>=1.3.1","Jinja2>=2.7.3", "shapely>=1.5.13"],toinstall_requires=["lxml>=3.6.2", "Sphinx>=1.3.1","Jinja2>=2.7.3", "shapely>=1.5.13"],(lxml is installed in revision 4.2.5). Installing swoop with the following commands leads to the error messages listed at the end. - Build Swoop with the command
python setup.py buildin the command line - Install Swoop with the command
python setup.py install --record file.txtin the command line
Error listing without changed setup.py in step 4:
C:\Program Files\Python37\lib\site-packages\setuptools\dist.py:397: UserWarning: Normalizing '0.5.3
' to '0.5.3'
normalized_version,
running install
Checking .pth file support in C:\Program Files\Python37\Lib\site-packages\
C:\Program Files\Python37\pythonw.exe -E -c pass
TEST PASSED: C:\Program Files\Python37\Lib\site-packages\ appears to support .pth files
running bdist_egg
running egg_info
writing Swoop.egg-info\PKG-INFO
writing dependency_links to Swoop.egg-info\dependency_links.txt
writing entry points to Swoop.egg-info\entry_points.txt
writing requirements to Swoop.egg-info\requires.txt
writing top-level names to Swoop.egg-info\top_level.txt
reading manifest file 'Swoop.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'Swoop.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
INFO: Verbose output.
copying Swoop\Swoop.py -> build\lib\Swoop
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\Swoop
copying build\lib\Swoop\default.dru -> build\bdist.win-amd64\egg\Swoop
copying build\lib\Swoop\DRU.py -> build\bdist.win-amd64\egg\Swoop
copying build\lib\Swoop\eagle.dtd.diff -> build\bdist.win-amd64\egg\Swoop
creating build\bdist.win-amd64\egg\Swoop\ext
copying build\lib\Swoop\ext\Geometry.py -> build\bdist.win-amd64\egg\Swoop\ext
copying build\lib\Swoop\ext\ShapelySwoop.py -> build\bdist.win-amd64\egg\Swoop\ext
copying build\lib\Swoop\ext\Shapes.py -> build\bdist.win-amd64\egg\Swoop\ext
creating build\bdist.win-amd64\egg\Swoop\ext\VectorFont
copying build\lib\Swoop\ext\VectorFont\makeGeometry.py -> build\bdist.win-amd64\egg\Swoop\ext\VectorFont
copying build\lib\Swoop\ext\VectorFont\makeLetters.py -> build\bdist.win-amd64\egg\Swoop\ext\VectorFont
copying build\lib\Swoop\ext\VectorFont\VectorFont.py -> build\bdist.win-amd64\egg\Swoop\ext\VectorFont
copying build\lib\Swoop\ext\VectorFont\VectorFontData.py -> build\bdist.win-amd64\egg\Swoop\ext\VectorFont
copying build\lib\Swoop\ext\VectorFont\VectorFontTypes.py -> build\bdist.win-amd64\egg\Swoop\ext\VectorFont
copying build\lib\Swoop\ext\VectorFont\__init__.py -> build\bdist.win-amd64\egg\Swoop\ext\VectorFont
copying build\lib\Swoop\ext\__init__.py -> build\bdist.win-amd64\egg\Swoop\ext
copying build\lib\Swoop\Swoop.py -> build\bdist.win-amd64\egg\Swoop
creating build\bdist.win-amd64\egg\Swoop\tools
copying build\lib\Swoop\tools\CheckEagle.py -> build\bdist.win-amd64\egg\Swoop\tools
copying build\lib\Swoop\tools\CleanupEagle.py -> build\bdist.win-amd64\egg\Swoop\tools
copying build\lib\Swoop\tools\FixEagle.py -> build\bdist.win-amd64\egg\Swoop\tools
copying build\lib\Swoop\tools\MergeLibrary.py -> build\bdist.win-amd64\egg\Swoop\tools
copying build\lib\Swoop\tools\Relayer.py -> build\bdist.win-amd64\egg\Swoop\tools
copying build\lib\Swoop\tools\SwoopTools.py -> build\bdist.win-amd64\egg\Swoop\tools
copying build\lib\Swoop\tools\__init__.py -> build\bdist.win-amd64\egg\Swoop\tools
copying build\lib\Swoop\__init__.py -> build\bdist.win-amd64\egg\Swoop
byte-compiling build\bdist.win-amd64\egg\Swoop\DRU.py to DRU.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\ext\Geometry.py to Geometry.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\ext\ShapelySwoop.py to ShapelySwoop.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\ext\Shapes.py to Shapes.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\ext\VectorFont\makeGeometry.py to makeGeometry.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\ext\VectorFont\makeLetters.py to makeLetters.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\ext\VectorFont\VectorFont.py to VectorFont.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\ext\VectorFont\VectorFontData.py to VectorFontData.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\ext\VectorFont\VectorFontTypes.py to VectorFontTypes.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\ext\VectorFont\__init__.py to __init__.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\ext\__init__.py to __init__.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\Swoop.py to Swoop.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\tools\CheckEagle.py to CheckEagle.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\tools\CleanupEagle.py to CleanupEagle.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\tools\FixEagle.py to FixEagle.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\tools\MergeLibrary.py to MergeLibrary.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\tools\Relayer.py to Relayer.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\tools\SwoopTools.py to SwoopTools.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\tools\__init__.py to __init__.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\Swoop\__init__.py to __init__.cpython-37.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying Swoop.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying Swoop.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying Swoop.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying Swoop.egg-info\entry_points.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying Swoop.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying Swoop.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
Swoop.__pycache__.Swoop.cpython-37: module references __file__
creating 'dist\Swoop-0.5.3-py3.7.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing Swoop-0.5.3-py3.7.egg
removing 'c:\program files\python37\lib\site-packages\Swoop-0.5.3-py3.7.egg' (and everything under it)
creating c:\program files\python37\lib\site-packages\Swoop-0.5.3-py3.7.egg
Extracting Swoop-0.5.3-py3.7.egg to c:\program files\python37\lib\site-packages
Swoop 0.5.3 is already the active version in easy-install.pth
Installing checkEagle-script.py script to C:\Program Files\Python37\Scripts
Installing checkEagle.exe script to C:\Program Files\Python37\Scripts
Installing cleanupEagle-script.py script to C:\Program Files\Python37\Scripts
Installing cleanupEagle.exe script to C:\Program Files\Python37\Scripts
Installing fixEagle-script.py script to C:\Program Files\Python37\Scripts
Installing fixEagle.exe script to C:\Program Files\Python37\Scripts
Installing mergeLibrary-script.py script to C:\Program Files\Python37\Scripts
Installing mergeLibrary.exe script to C:\Program Files\Python37\Scripts
Installing relayerEagle-script.py script to C:\Program Files\Python37\Scripts
Installing relayerEagle.exe script to C:\Program Files\Python37\Scripts
Installing snapSchematic-script.py script to C:\Program Files\Python37\Scripts
Installing snapSchematic.exe script to C:\Program Files\Python37\Scripts
Installed c:\program files\python37\lib\site-packages\swoop-0.5.3-py3.7.egg
Processing dependencies for Swoop==0.5.3
Searching for lxml==3.6.2
Reading https://pypi.python.org/simple/lxml/
C:\Program Files\Python37\lib\site-packages\setuptools\pep425tags.py:89: RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
warn=(impl == 'cp')):
C:\Program Files\Python37\lib\site-packages\setuptools\pep425tags.py:93: RuntimeWarning: Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect
warn=(impl == 'cp')):
Downloading https://files.pythonhosted.org/packages/96/a8/f6c4ba86fd230359bd31a7bfdd3b797159e9e930a0e50d859c4cbc6add76/lxml-3.6.2.tar.gz#sha256=e745b368f6631f0d6cd2e3025ae1ec07c7a4bac5623504a91bf796893b1aa9da
Best match: lxml 3.6.2
Processing lxml-3.6.2.tar.gz
Writing C:\Users\laume\AppData\Local\Temp\easy_install-b8tq6rwn\lxml-3.6.2\setup.cfg
Running lxml-3.6.2\setup.py -q bdist_egg --dist-dir C:\Users\laume\AppData\Local\Temp\easy_install-b8tq6rwn\lxml-3.6.2\egg-dist-tmp-ro9wrgii
Building lxml version 3.6.2.
Building without Cython.
ERROR: b'Der Befehl "xslt-config" ist entweder falsch geschrieben oder\r\nkonnte nicht gefunden werden.\r\n'
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
cl : Befehlszeile warning D9025 : "/W3" wird durch "/w" überschrieben
lxml.etree.c
src\lxml\includes\etree_defs.h(14): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "libxml/xmlversion.h": No such file or directory
Compile failed: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
xmlXPathInitsr6q9bgp.c
C:\Users\laume\AppData\Local\Temp\easy_install-b8tq6rwn\lxml-3.6.2\temp\xmlXPathInitsr6q9bgp.c(1): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "libxml/xpath.h": No such file or directory
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
error: Setup script exited with error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
Metadata
Metadata
Assignees
Labels
No labels