Skip to content

Instantly share code, notes, and snippets.

@kevwil
Created May 20, 2013 19:22
Show Gist options
  • Save kevwil/5614732 to your computer and use it in GitHub Desktop.
Save kevwil/5614732 to your computer and use it in GitHub Desktop.
homebrew/python/weechat problems
growl: dlopen(/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so, 2):
Symbol not found: __PyInt_AsInt
Referenced from: /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
Expected in: flat namespace
in /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
python: function "register" not found (or failed) in file "/Users/willkd9/dotfiles/weechat/python/autoload/growl.py"
python: stdout/stderr: Traceback (most recent call last):
python: stdout/stderr: File "/Users/willkd9/dotfiles/weechat/python/autoload/urlgrab.py", line 147, in <module>
python: stdout/stderr: import urllib
python: stdout/stderr: File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py",
line 26, in <module>
python: stdout/stderr: import socket
python: stdout/stderr: File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py",
line 47, in <module>
python: stdout/stderr: import _socket
python: stdout/stderr: ImportError:
dlopen(/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so, 2): Symbol
not found: __PyInt_AsInt
python: stdout/stderr: Referenced from:
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
python: stdout/stderr: Expected in: flat namespace
python: stdout/stderr: in
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
python: unable to parse file "/Users/willkd9/dotfiles/weechat/python/autoload/urlgrab.py"
python scripts loaded: screen_away, upside_down
script: downloading list of scripts...
Plugins loaded: alias, charset, irc, logger, python, relay, rmodifier, script
script: 244 scripts for WeeChat 0.4.1
@superjavason
Copy link

hi,i meet the same problem,how you solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment