-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Weechat fails to launch with Python 2.7.4 #19168
Comments
I think this isn't limited to weechat: I get the same error when launching brewed macvim and the system vim (which is linked with python/dyn) after upgrading to python 2.7.4 on OS X 10.8. Homebrew vim works fine however, so I assume it has something to do with how apps link with python. Also, it's possible to build a working version of macvim using the symlink trick from #17908, maybe the same thing would work for weechat. |
Just tried the symlink trick but it didn't work for weechat. I followed all the steps but it still gave me the same errors. I actually didn't have a problem building Macvim with python. It just worked for me. |
I should have clarified that: building macvim works, only python integration doesn't. If you have plugins using python, then macvim will fail to start. In any case typing |
Getting this same error when trying to launch vim/macvim after a rebuild. |
I can run weechat-curses, but attempting to load python fails: /plugin load python I recently reinstalled python, and reinstalling weechat didn't seem to make a difference either. |
@marksutherland You have to compile with flags for those plugins. Check |
Ah! Awesome, never mind then :) |
* fixes CMake Python detection Fixes Homebrew#19168. Closes Homebrew#20025. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Hi, weechat suddently stopped working for me today right after I upgraded to python 2.7.4.
My brew doctor is clean.
OS: OS X 10.8
When I open Weechat, it fails to launch and outputs something like it found an ImportError when importing MAXREPEAT from _sre. I even started weechat with 0 plugins but got the same error message.
However, when I removed the Current Python framework symlink in /System/Library/Frameworks/Python.framework/Current, weechat installs and runs fine with Python 2.7.2, the default python version built by Apple.
Here's what it looks like when I launch Weechat when building it with python 2.7.4:

The text was updated successfully, but these errors were encountered: