sK1 Project :: OpenSource Solutions for Prepress
View Thread
 Print Thread
Installing UniConvertor on Linux
#1 Print Post
Posted on 05-08-2009 18:23

Posts: 4
Joined: 05.08.09


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 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.

Thanks again!
#2 Print Post
Posted on 07-08-2009 12:25

Posts: 63
Joined: 09.05.09

jazzynico wrote:
When I use python install, the libs are not copied to site-packages

Please try
sudo python install

Maxim Barabash
sK1 Project
Edited by max on 07-08-2009 12:33
#3 Print Post
Posted on 08-08-2009 15:34

Posts: 4
Joined: 05.08.09

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.

#4 Print Post
Posted on 08-08-2009 18:42
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

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.


Igor Novikov
sK1 Project
Jump to Forum: