Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

(I'm using Ubuntu 10.04 with Linux 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686)

For some reason I had updated some Python files (I'm not able to tell which ones, but it was during the installation of Hugin).

After that I noticed that my screenlets had disappeared after rebooting.

I'm trying to make screenlets work again since 3 days. I removed Hugin and everything related with python3. I have

$ python --version
Python 2.7.6

When I try to call screenlets I got

$ screenlets
Traceback (most recent call last):
  File "/usr/share/screenlets-manager/screenlets-manager.py", line 34, in <module>
    import screenlets
ImportError: No module named screenlets

I'm Googling for hours to find a solution but anything is working. Helps are appreciated.

share|improve this question
    
sound like when you upgrade, some packages had conflict and screenlets had been removed by some packages. –  Mohsen Pahlevanzadeh Feb 20 at 18:49
    
you can watch /var/log/apt/term.log and /var/log/apt/history.log –  Mohsen Pahlevanzadeh Feb 20 at 18:50
    
@MohsenPahlevanzadeh, there are many python entries. Since there are python2.6 entries do you think that my older python version was less than 2.6? –  Sigur Feb 20 at 18:53
    
no, but i don't know why you want to use import it. –  Mohsen Pahlevanzadeh Feb 20 at 18:55
1  
at first you should your write a module then add it to PYTHONPATH, however if your executable file import your module and your module is in your executable file, your don't need to add to pythonpath, any way you need to read tutorialspoint.com/python/python_modules.htm –  Mohsen Pahlevanzadeh Feb 20 at 19:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.