-
Notifications
You must be signed in to change notification settings - Fork 609
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
ERROR: start symbol translation_unit_or_empty undefined #291
Comments
|
It's a known issue. Pycparser doesn't work with optimized (-O) Python builds that strip out docstrings. |
|
Thanks for quick reply. Can I fix it somehow locally? |
|
No, sorry. The user of pycparser (the library importing it, in this case) should fix this by not permitting |
|
Downgrade pycparser to 2.14, this should solve the issue. |
thatch45
added a commit
to vmware-archive/salt-bin
that referenced
this issue
Oct 8, 2019
WarrenWeckesser
added a commit
to WarrenWeckesser/numpy
that referenced
this issue
Jan 13, 2020
* Use `set -ex` in tools/travis-before-install.sh. * Install build dependencies in tools/travis-before-install.sh. * Update a comment about an additional option in CFLAGS when USE_DEBUG=1. * Clear PYTHONOPTIMIZE when running `pip install -r test_requirements.txt` because version 2.19 of pycparser (a dependency of one of the packages in test_requirements.txt) does not provide a wheel, and the source tar file does not install correctly when Python's optimization level is set to strip docstrings (see eliben/pycparser#291). * Remove unnecessary calls of `pip install` in tools/travis-test.sh. Closes numpygh-15108.
seberg
pushed a commit
to seberg/numpy
that referenced
this issue
Jan 24, 2020
* Use `set -ex` in tools/travis-before-install.sh. * Install build dependencies in tools/travis-before-install.sh. * Update a comment about an additional option in CFLAGS when USE_DEBUG=1. * Clear PYTHONOPTIMIZE when running `pip install -r test_requirements.txt` because version 2.19 of pycparser (a dependency of one of the packages in test_requirements.txt) does not provide a wheel, and the source tar file does not install correctly when Python's optimization level is set to strip docstrings (see eliben/pycparser#291). * Remove unnecessary calls of `pip install` in tools/travis-test.sh. Closes numpygh-15108.
14 tasks
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Jul 20, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Jul 20, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Jul 20, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Jul 20, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Jul 21, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Aug 7, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Sep 13, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Oct 12, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Oct 12, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Oct 12, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Oct 12, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Oct 13, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Oct 13, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Oct 13, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
starnight
added a commit
to endlessm/endless-key-app
that referenced
this issue
Oct 13, 2023
Use older pycparser 2.14 to avoid the error:
ERROR: start symbol translation_unit_or_empty undefined
pycparser, a Windows only indirect dependency of PyInstaller, is incompatible with Python's "discard docstrings" (-OO) flag mode. For more information see:
pyinstaller/pyinstaller#6345
Reference: "ERROR: start symbol translation_unit_or_empty undefined"
eliben/pycparser#291
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I run pyinstaller3.4 on windows 10 64bit (python3.6 64bit) I got this error (pycparser 2.19):
How to fix it?
The error draws me crazy because pycparser is installed as PyMySQL dependency (or maybe as cffi 1.11.5) dependency) and it blocks me to create new version of my app...
The text was updated successfully, but these errors were encountered: