-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pye57 installation - xercesc: No such file or directory #14
Comments
I have exactly the same problem. Could you fix it somehow? |
For anyone having this issue on a linux machine: for me the solution was https://stackoverflow.com/a/19253719
And here is a good explanation on how and why that works: https://bouktin.blogspot.com/2012/04/configure-pydistutilscfg-python.html |
@Christian3point14 thank you very much for your reply, I haven't tried any further to solve this issue after posting it here. |
Hi, sorry for the delay, please try to install the newest version on pypi. They bundle a dll of xerces-c, so hopefully a simple |
@davidcaron Thank you for your answer. I tried it and it worked - I now have pye57 installed in my virtual environment! I am closing the issue, thanks again to everyone who replied! |
It appears this issue is relevant again after 0.4.1, at least on MacOS. 0.4.2 removed I notice this library doesn't mention MacOS. Is MacOS "supported" at all? It would be wonderful to include xerces-c for a MacOS build so the library could be installed standalone. |
Yes macos support would be great - do you know whether xerces c can be installed in the same way as for Linux? |
Hi,
Problem:
I am working with PyCharm 2019.3.3 professional version, Python 3.8.5 64-bit, Windows 10 and I am trying to install pye57.
I recently installed VS Built Tools 2019 and I have also upgraded my setuptools inside my working virtual environment (not a conda environment).
However, I still get the error below (I have copied and pasted the entire outcome). It seems like file
xercesc/sax2/XMLReaderFactory.hpp
cannot be found.
Any advice would be highly appreciated!
pye57 installation output message:
Collecting pye57
Using cached pye57-0.2.3.tar.gz (159 kB)
Requirement already satisfied: numpy in c:\users\paschalis\documents\2_bedi_consult\venv\lib\site-packages (from pye57) (1.19.2)
Requirement already satisfied: pyquaternion in c:\users\paschalis\documents\2_bedi_consult\venv\lib\site-packages (from pye57) (0.9.9)
Requirement already satisfied: pybind11 in c:\users\paschalis\documents\2_bedi_consult\venv\lib\site-packages (from pye57) (2.6.1)
Using legacy 'setup.py install' for pye57, since package 'wheel' is not installed.
Installing collected packages: pye57
Running setup.py install for pye57: started
Running setup.py install for pye57: finished with status 'error'
DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at pypa/pip#8333.
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Paschalis\Documents\2_bedi_consult\venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Paschalis\AppData\Local\Temp\pycharm-packaging\pye57\setup.py'"'"'; file='"'"'C:\Users\Paschalis\AppData\Local\Temp\pycharm-packaging\pye57\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Paschalis\AppData\Local\Temp\pip-record-4bsy69l0\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Paschalis\Documents\2_bedi_consult\venv\include\site\python3.8\pye57'
cwd: C:\Users\Paschalis\AppData\Local\Temp\pycharm-packaging\pye57
Complete output (35 lines):
WARNING: The wheel package is not available.
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\pye57
copying pye57\e57.py -> build\lib.win-amd64-3.8\pye57
copying pye57\exception.py -> build\lib.win-amd64-3.8\pye57
copying pye57\scan_header.py -> build\lib.win-amd64-3.8\pye57
copying pye57\utils.py -> build\lib.win-amd64-3.8\pye57
copying pye57_init_.py -> build\lib.win-amd64-3.8\pye57
copying pye57_version_.py -> build\lib.win-amd64-3.8\pye57
warning: build_py: byte-compiling is disabled, skipping.
ERROR: Command errored out with exit status 1: 'C:\Users\Paschalis\Documents\2_bedi_consult\venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Paschalis\AppData\Local\Temp\pycharm-packaging\pye57\setup.py'"'"'; file='"'"'C:\Users\Paschalis\AppData\Local\Temp\pycharm-packaging\pye57\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Paschalis\AppData\Local\Temp\pip-record-4bsy69l0\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Paschalis\Documents\2_bedi_consult\venv\include\site\python3.8\pye57' Check the logs for full command output.
The text was updated successfully, but these errors were encountered: