Thread subject: sK1 Project :: Installing UniConvertor on Linux
Posted by jazzynico on 05-08-2009 18:23
First, I'd like to thank you for this very useful tool.
Just a little install bug when installing from SVN on Linux (Ubuntu 9.04 with python 2.6.2, but probably common to all distros).
When I use python setup.py install, the libs are not copied to site-packages/, as explained in the README file, but to dist-packages/.
Thus, launching the uniconv command leads to:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name uniconv
Workaround: manually copy the libs from the source build directory to site-packages/.
Another question. Do you plan to activate the Lauchpad bug page for UniConverter?
The project page exists, but is not very useful. And using the Ubuntu package for debugging SVN is not very convenient.
Posted by max on 07-08-2009 12:25
When I use python setup.py install, the libs are not copied to site-packages
sudo python setup.py install
Edited by max on 07-08-2009 12:33
Posted by jazzynico on 08-08-2009 15:34
Thanks for your replie!
Of course I used sudo (I'm on Ubuntu). As I explained, the files ARE installed. But not in the good location. Could it be something in my env?
Never noticed that before, but I usually install packages via Synaptic.
Posted by igor on 08-08-2009 18:42
It's just a python 2.6 feature. On Ubuntu this also supports "dist-packages" which is parallel to "site-packages" and is intended to keep distribution installed modules from overwriting locally installed ones.
So you can prepare package for UniConvertor and install it. This way is a preferable because you can control UniConvertor installation via Synaptic.