You are not logged in.
Hi,
Got installed eyeD3 and mutagen from repositories. They installed under /usr/lib/python2.7/site-packages/ which is probably OK. Unfortunately, I can't import them. In Eclipse Window->Preferences->PyDev->Interpreter-Python->Libraries I've added paths like /usr/lib/python2.7/site-packages/eyed3, but to no avail. What am I missing?
Offline
Are you calling the "python" binary to run your script? This would imply that you run Python in version 3
It looks like you installed your library for Python 2, so you need to call the Python 2 binary which has to be installed, too (pacman: python2)
So you may want to run your script with the "python2.7" command.
Apart from that the python2-eyed3 is available in the community repository. So there is no need to install it by hand.
Offline
Are you calling the "python" binary to run your script? This would imply that you run Python in version 3
No, I'm calling python2:
#!/usr/bin/env python2
...
UPD:
It's working fine, as it turned out. Some glitch upstairs, probably. Sorry.
Last edited by Llama (2013-03-31 04:50:36)
Offline