-
Notifications
You must be signed in to change notification settings - Fork 998
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
Unable to import powerline package on Arch #298
Comments
Added to installation instructions for |
Maybe one should rather change that to |
Wouldn't it be better to just put let $PYTHONPATH="/usr/lib/python3.3/site-packages" into the .vimrc? Exporting the $PYTHONPATH Environment variable broke all my python2 dependent programs. |
I'll do a bit of investigation later and see what works best. I've not been able to reproduce this issue so I have no ETA on when I'll be able to fix it. If anyone has a solution that works for everyone (with both Python 2 and 3) let me know and I'll update the docs. |
I second j4cko’s experience: The original instructions break wicd and possibly other programs. gnomeye’s suggestion works for me. |
Yep, altering @j4cko solution didn't work because on my system there's no default @gnomeye instrucctions also worked for me :) |
Closing this as it looks more like Arch linux or Arch linux powerline package bug and last reply was a year ago. |
Indeed, it's not a powerline issue, in any case another user come into this issue, the solution is throw this:
...on your |
@Lokaltog @ZyX-I hope you could delete this line or replace it with some other workarouds. I followed this instruction in PKGBUILD without any warning in the comments of AUR, and I got an error when trying to run a Python2 app as sole/aafm#61 describes. I spent a day trying to locate the problem and finally it leads me to this issue. Thanks and regards! |
-----BEGIN PGP SIGNED MESSAGE----- On October 14, 2014 9:55:05 PM GMT+03:00, Fernando Gilberto Pereira da Silva notifications@github.com wrote:
It is wrong place to complain: Arch package is not maintained here. Wondering why it does not "just work": I never had similar problems in Gentoo, though powerline is installed system-wide for 2.7, 3.2 and 3.3 (used to have 2.6 as well) at once. iQJNBAEBCgA3BQJUPXDuMBwfMDI7PjIgHTg6PjswOSAQOzU6QTA9NEA+MjhHIDxr |
-----BEGIN PGP SIGNED MESSAGE----- On October 15, 2014 12:38:05 AM GMT+03:00, Fernando Gilberto Pereira da Silva notifications@github.com wrote:
He is not active here either. You should probably contact him via email from github profile if you want any changes: I am neither using Arch nor maintaining its packages. I doubt very much that a closed issue is the right place to warn. iQJNBAEBCgA3BQJUPYyOMBwfMDI7PjIgHTg6PjswOSAQOzU6QTA9NEA+MjhHIDxr |
Since @Lokaltog is inactive in AUR since March 2014, he didn't even changed the export PYTHONPATH=/usr/lib/python3.3/site-packages to export PYTHONPATH=/usr/lib/python3.4/site-packages And I just want to warn people for what would happen after setting
I am wondering too. I think Python 3.4.2 (default, Oct 8 2014, 13:44:52)
>>> import sys
>>> print(sys.path)
['', '/usr/lib/python3.4/site-packages', '/usr/lib/python34.zip', '/usr/lib/python3.4', '/usr/lib/python3.4/plat-linux', '/usr/lib/python3.4/lib-dynload'] What's more, after I removed the line export PYTHONPATH=/usr/lib/python3.4/site-packages from my
Yes, I know. Thx for your reply anyway. Thanks and regards! |
Although I'm no longer actively helping develop this project (both because I'm no longer using vim or any of the apps for Powerline, and because of limited time for spare time development) I still subscribe to e-mail notifications and I try to keep up with what's going on in the project. I'm really impressed about all the work @ZyX-I has put into this project, so it's fun following it.
I apologize for that, I must have missed the AUR comments about the Python path in the AUR package. I had no idea it was an issue. I'd be happy to transfer the packages to someone else who's actively using the project if someone's up for the task. The packages are maintained in my powerline-pkg-archlinux repo. I'll remove the Python path message completely from the package to remove any confusion. IIRC this workaround was necessary at some point ages ago, but it looks like it has caused more issues than it has solved so I think removing it should work fine since it works for you without the explicit PYTHONPATH too. |
@Lokaltog, I'm still using arch, vim and powerline too, so I can adopt the packages on the AUR if you orphan them :) |
Thanks a lot! I've orphaned the packages, feel free to adopt them :) |
Adopted them :). Anyway, I insist that the only thing it should be made (if any) is set |
Oh, sorry the double posting. Btw, should I continue using your repo for keeping track of the package state? |
Users report having to add
PYTHONPATH=/usr/lib/python3.3/site-packages
to their /etc/profile to get Powerline working on Arch Linux.The text was updated successfully, but these errors were encountered: