ImportError: No module named lib.python2.7.distutils
Hi,
I followed instruction on the http://
But when I run the command sst-run test, it always throw the exception as below. I could not found a answer myself or even googled it. Could you please help me out?
(python27)
SST version: 0.2.4
(python27)
Traceback (most recent call last):
File "/home/
load_
File "/home/
excludes=
File "/home/
alltests.
File "/home/
suite.
File "/home/
suite.
File "/home/
suite.
File "/home/
suite.
File "/home/
suite.
File "/home/
suite.
File "/home/
package = self.importFrom
File "/home/
__import_
ImportError: No module named lib.python2.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- ericwong
- Solved:
- 2013-11-18
- Last query:
- 2013-11-18
- Last reply:
- 2013-11-18
I think the problem here is that the ENV directory is under the directory
where sst-run is launched which causes the test discovery functionality look
into ENV/lib/
To fix the problem, move your test script to a different directory that just
contains the test case that you want to run. Something like
"sst-example/
ericwong (55158644-y) said : | #2 |
Thanks Javier, after move the test script out of the VIRTUALENV folder. It works well.