Install issue - Python

Asked by Hrafn

How do I solve this issue?

**********************************************************************************************************
**********************************************************************************************************

Added /usr/share/openshot to system path
--------------------------------
   OpenShot (version 1.0.0)
--------------------------------
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/share/openshot/classes/thumbnail.py", line 174, in run
    mlt.Factory().init()
NameError: global name 'mlt' is not defined

-------------------------------------------------------
Error: OpenShot has not been installed in the Python path.
(Both the site-packages and /usr/share/openshot folders were checked)

Use the following command to install OpenShot:
  $ sudo python setup.py install

**********************************************************************************************************
**********************************************************************************************************

Running the suggested command of:

sudo python setup.py install

returns the following:

python: can't open file 'setup.py': [Errno 2] No such file or directory

Please let me know how I can fix this? It was suggested I try OpenShot over KDEnLive.. but well, OpenShot doesn't install correctly.

Question information

Language:
English Edit question
Status:
Answered
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Girard (eolinwen) said :
#1
Revision history for this message
Valthare (valt) said :
#2

I believe
sudo ln -s $(ls -C /usr/lib/libmlt++.so.* | cut -f 1 -d' ') /usr/lib/libmlt++.so.2
worked for me in Karmic. Can't remember what forum I found this in...

Can you help with this problem?

Provide an answer of your own, or ask Hrafn for more information if necessary.

To post a message you must log in.