You are not logged in.

#1 2014-04-28 19:26:20

Jos Elkink
Member
From: Dublin, Ireland
Registered: 2013-06-29
Posts: 2
Website

Problem with aura / powerpill

I'm stuck in using aura and not really sure how to fix it. I think it happened since the update using pacman installed a new version of python, but not sure that's the issue. I get the following errors with aura:

$ sudo aura -A pm2ml
aura >>= Determining dependencies...
aura >>= AUR Packages:
pm2ml

aura >>= Continue? [Y/n] 
aura >>= Building `pm2ml`...
Traceback (most recent call last):
  File "/usr/bin/powerpill", line 41, in <module>
    import pm2ml
ImportError: No module named 'pm2ml'

$ aura -Ayu
aura >>= You have to use `sudo` for that.
[jos@kaliurang ~]$ sudo aura -Ayu
Traceback (most recent call last):
  File "/usr/bin/powerpill", line 41, in <module>
    import pm2ml
ImportError: No module named 'pm2ml'

]$ sudo aura -A powerpill
[sudo] password for jos: 
aura >>= Determining dependencies...
aura >>= AUR Packages:
powerpill

aura >>= Continue? [Y/n] 
aura >>= Building `powerpill`...
Traceback (most recent call last):
  File "/usr/bin/powerpill", line 41, in <module>
    import pm2ml
ImportError: No module named 'pm2ml'

The error appears with any installation command using aura. Any suggestion how to proceed or where to look for a solution? (I did already remove and re-install a lot of Python packages, but that didn't seem to help.)

$ python --version
Python 3.4.0

Offline

#2 2014-04-28 19:33:42

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Problem with aura / powerpill

I suspect you will need to rebuild all of your Python 3 AUR packages (as opposed to a lot of them) for the new version of Python.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2014-04-28 20:23:58

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: Problem with aura / powerpill

@loafer is probably right. I also got a lot of error messages with i3pystatus about missing modules when python got upgraded a while ago. In my case, I was using pip (not the AUR). Just in case, reinstall/rebuild everything then tell us the result.

Offline

#4 2014-04-29 07:54:01

Jos Elkink
Member
From: Dublin, Ireland
Registered: 2013-06-29
Posts: 2
Website

Re: Problem with aura / powerpill

Thanks for the quick reply!

When I said "most" I meant all I could find, but I don't know how to identify all python packages? Is there a trick to get a list of them?

Also, I think I might have updated all through pacman, not the ones in AUR -- this means I'll have to manually install them, not using aura (since it's broken)?

Offline

#5 2015-10-04 17:33:58

mbtamuli
Member
From: Pune, India
Registered: 2015-10-01
Posts: 11
Website

Re: Problem with aura / powerpill

loafer wrote:

I suspect you will need to rebuild all of your Python 3 AUR packages (as opposed to a lot of them) for the new version of Python.

I have installed archlinux just yesterday. When I installed powerpill (pacman -S powerpill), Python was installed as a dependency. Python 3.5.0
You mention to 'rebuild all of your Python 3 AUR packages', can you please explain how to rebuild? (Or at least link me to an article?)

Offline

Board footer

Powered by FluxBB