I can not run SST on Ubuntu 10.04
Hi All,
I just installed a new Ubuntu 10.04 and I am trying to install SST on it.
I installed it using these commands
$ sudo apt-get install python-pip xvfb
$ sudo pip install -U sst
and got successful installation result.
But when I ran a simple test, I got this error
pamies@Simba:~$ sst-run mytest
Traceback (most recent call last):
File "/usr/local/
load_
File "/usr/lib/
return get_distributio
File "/usr/lib/
return ep.load()
File "/usr/lib/
entry = __import_
File "/usr/local/
from sst import (
File "/usr/local/
from sst import (
File "/usr/local/
import unittest.loader
ImportError: No module named loader
I would be grateful for any tips and pointers to resolve this problem.
Thanks in advance,
BR Ayo.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Corey Goldberg
- Solved:
- 2013-12-18
- Last query:
- 2013-12-18
- Last reply:
- 2013-11-08
Vincent Ladeuil (vila) said : | #1 |
sst relies on python's unittest being recent enough.
$ rmadison python
python | 2.6.5-0ubuntu1 | lucid | all
python | 2.6.5-0ubuntu1.1 | lucid-updates | all
python | 2.7.3-0ubuntu2 | precise | amd64, armel, armhf, i386, powerpc
python | 2.7.3-0ubuntu2.2 | precise-updates | amd64, armel, armhf, i386, powerpc
python | 2.7.3-0ubuntu7 | quantal | amd64, armel, armhf, i386, powerpc
python | 2.7.3-0ubuntu7.1 | quantal-updates | amd64, armel, armhf, i386, powerpc
python | 2.7.4-0ubuntu1 | raring | amd64, armhf, i386, powerpc
python | 2.7.5-5ubuntu1 | saucy | amd64, arm64, armhf, i386, powerpc
python | 2.7.5-5ubuntu1 | trusty | amd64, arm64, armhf, i386, powerpc
10.04 (lucid) carries 2.6.5, I don't remember when unittest.loader was introduced in python but you should probably upgrade to precise (12.04) in any case.
If you can't do that, you'll need to find a more recent python and install that (which may have undesired fallouts...).
|
#2 |
SST requires Python 2.7.
if you *really* need to run on 10.04, you can build Python 2.7 yourself and run SST with that interpreter. An easier solution would be to upgrade to a more modern Ubuntu release.
Ayo (k-akolay1) said : | #3 |
Thanks Corey Goldberg, that solved my question.