Stand-alone Salome-Meca Postinstall Problem
- Robert Tuttle
- Topic Author
- Offline
- New Member
- Posts: 7
- Thank you received: 0
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
'import site' failed; traceback:
ImportError: No module named site
Python 2.5 (r25:51908, Nov 27 2006, 19:14:46)
[GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "./postinstall.py", line 5, in <module>
import os, sys, shutil, re
ImportError: No module named os
# clear __builtin__._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.exitfunc
# clear sys.exc_type
# clear sys.exc_value
# clear sys.exc_traceback
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# clear sys.path_hooks
# clear sys.path_importer_cache
# clear sys.meta_path
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup __main__
# cleanup[1] zipimport
# cleanup[1] signal
# cleanup[1] exceptions
# cleanup sys
# cleanup __builtin__
# cleanup ints
# cleanup floats<br /><br />Post edited by: Robert Tuttle, at: 2007/11/30 23:07
- Robert Tuttle
- Topic Author
- Offline
- New Member
- Posts: 7
- Thank you received: 0
- Mario
- Offline
- New Member
- Posts: 8
- Thank you received: 0
I'm trying to run Salome-Meca inside an AndLinux shell.
postinstall.py runs fine, but when I try to launch runSalomeMeca, I get this:
andLinux:/mnt/and/SALOME-MECA-2007.1-GPL# ./runSalomeMeca
CHECK /root
Searching for free port for the SALOME Naming Service: 2810 - Ok
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/mnt/and/SALOME-MECA-2007.1-GPL/SALOME/SALOME3/V3_2_6/KERNEL_V3_2_6/bin/salome/envSalome.py", line 22, in ?
import os
ImportError: No module named os
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/mnt/and/SALOME-MECA-2007.1-GPL/SALOME/SALOME3/V3_2_6/KERNEL_V3_2_6/bin/salome/killSalomeWithPort.py", line 22, in ?
import os, sys, pickle, signal, commands
ImportError: No module named os
Anyone can help, please?
Thanks
Mario<br /><br />Post edited by: mario, at: 2008/01/16 15:34
- Mario
- Offline
- New Member
- Posts: 8
- Thank you received: 0
Hello,Hello,
I'm trying to run Salome-Meca inside an AndLinux shell.
postinstall.py runs fine, but when I try to launch runSalomeMeca, I get this:
andLinux:/mnt/and/SALOME-MECA-2007.1-GPL# ./runSalomeMeca
CHECK /root
Searching for free port for the SALOME Naming Service: 2810 - Ok
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/mnt/and/SALOME-MECA-2007.1-GPL/SALOME/SALOME3/V3_2_6/KERNEL_V3_2_6/bin/salome/envSalome.py", line 22, in ?
import os
ImportError: No module named os
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/mnt/and/SALOME-MECA-2007.1-GPL/SALOME/SALOME3/V3_2_6/KERNEL_V3_2_6/bin/salome/killSalomeWithPort.py", line 22, in ?
import os, sys, pickle, signal, commands
ImportError: No module named os
Anyone can help, please?
Thanks
Mario<br /><br />Post edited by: mario, at: 2008/01/16 15:34
I'm trying with Salome-Meca-2008.1 with the same result:
when I run ./runSalomeMeca I get:
CHECK /root
Searching for free port for the SALOME Naming Service: 2810 - Ok
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/opt/SALOME-MECA-2008.1-GPL/SALOME/SALOME3/V3_2_9NoDebug/KERNEL_V3_2_9NoDebug/bin/salome/runSalome.py", line 22, in <module>
import sys, os, string, glob, time, pickle
ImportError: No module named os
Any suggestion, please?
Thanks
Mario