Error when importing sqlite3 in Python. Broken SQLite. #49731
Comments
Can you share |
Sure, here is the whole trace: |
What's |
@tdsmith This is the output:
|
Sorry for the delay. Can you try:
Alternatively, you can install the Xcode Command-Line Tools with |
Hi again, This is the output:
|
Okay, that's interesting; the failed module is being linked against the system libsqlite. The failing clang invocation is:
|
I don't get the double slashes here. I think superenv is failing to do the right thing because the double slashes are confusing it. What does |
Probably resolves Homebrew#49731?
Hi @tdsmith It does actually print |
Resolves an issue where xcode-select output with a terminal slash leads to superenv failing to strip system library paths from ccld-style invocations. Fixes Homebrew/legacy-homebrew#49731. Discussion in Homebrew/legacy-homebrew#50154.
Resolves an issue where xcode-select output with a terminal slash leads to superenv failing to strip system library paths from ccld-style invocations. Fixes Homebrew#49731. Discussion in Homebrew#50154.
brew update
and retried your prior step?No new updates for sqlite or python packages.
brew doctor
, fixed as many issues as possible and retried your prior step?Not applicable.
sudo chown -R $(whoami) $(brew --prefix)
?Not applicable.
Bug reports:
Python (2.7.11) throws error when importing sqlite3:
This is similar error to the one described in the old issue #17312 Instructions in that issue point to
brew rm sqlite python && brew install python
However this fix does not work.Moreover, checking the debug logs for python package I found the following:
Any idea what is happening?
-Manuel
The text was updated successfully, but these errors were encountered: