Python Issues (argparse, dex, AwesomeWM)
Posted: Mon Jun 10, 2013 11:59 am
Sorry, this is gonna be a bit noobish.
So I'm on Amahi 6.1 on Fedora 14, and I'm thinking about switching my WM from Gnome to AwesomeWM. I use awesome on all my other machines. One of my concerns is that startup apps won't start in Awesome...so I'm following this guide:
http://awesome.naquadah.org/wiki/Autost ... ostart_way
Which requires dex, source available here:
https://github.com/jceb/dex
Essentially it's just a python script, however it won't run. This is the error:
Opening it up, looks like it's trying to call argparse, but it's not finding it. I have python 3 and python 2.7-8 installed, and the docs say argparse shows up in 2.7. I installed the "python-argparse" package, and still nothing.
I did find this though, not sure what it indicates:
Thoughts? I'm a python noob, so I have no idea how to fix this.
So I'm on Amahi 6.1 on Fedora 14, and I'm thinking about switching my WM from Gnome to AwesomeWM. I use awesome on all my other machines. One of my concerns is that startup apps won't start in Awesome...so I'm following this guide:
http://awesome.naquadah.org/wiki/Autost ... ostart_way
Which requires dex, source available here:
https://github.com/jceb/dex
Essentially it's just a python script, however it won't run. This is the error:
Code: Select all
[surfrock66@sr66-blade dex-v0.6]$ dex
Traceback (most recent call last):
File "/usr/local/bin/dex", line 664, in <module>
from argparse import ArgumentParser
ImportError: No module named argparse
I did find this though, not sure what it indicates:
Code: Select all
[surfrock66@sr66-blade dex-v0.6]$ ls -l /usr/bin/python*
-rwxr-xr-x 2 root root 4784 Sep 16 2010 /usr/bin/python
lrwxrwxrwx 1 root root 6 Jun 10 11:40 /usr/bin/python2 -> python
-rwxr-xr-x 2 root root 4784 Sep 16 2010 /usr/bin/python2.7
-rwxr-xr-x 2 root root 6816 Sep 8 2010 /usr/bin/python3
-rwxr-xr-x 2 root root 6816 Sep 8 2010 /usr/bin/python3.1