Problem with TuttleOFX_win7_64_v0.8-1-g9daa09f : ImportError: no module named site

35 views
Skip to first unread message

Donat Van Bellinghen

unread,
Oct 7, 2014, 4:37:34 AM10/7/14
to tuttleo...@googlegroups.com

Hi,

I'm trying to install and use TuttleOFX on Windows 7 x64. I have downloaded the latest binaries ;

TuttleOFX_win7_64_v0.8-1-g9daa09f

And unpacked the contents on disk. I have a working Python 2.7.8 installation, with my path env var pointing to the python installation (C:\Python27\,C:\Python27\Scripts\,C:\Python27\Lib).

I've done a slight edit of the sam.bat file:

set TUTTLE_ROOT=%~dp0
set TUTTLE_HOME=%~dp0\cache_tuttleofxRelease
if not exist %TUTTLE_HOME% mkdir %TUTTLE_HOME%
python.exe "%TUTTLE_ROOT%/sam.py" %*

Now when I execute sam.bat in a shell I get this output :


NAME
        sam - A set of command line tools.

SYNOPSIS
        sam COMMAND [options]...

COMMANDS
        check.exe check image files
        cp.exe    copy sequence(s) in a directory
        diff.exe  diff image files
        do.exe    ImportError: No module named site
        info.exe  get informations about a sequence
        ls.exe    list directory contents
        mv.exe    move sequence(s) in a directory
        plugins.exeshow informations about OpenFX plugins
        rm.exe    remove file sequences

DESCRIPTION
Sam is the TuttleOFX command line tool to manage image processing.

OPTIONS
  -h [ --help ]         display help
  -v [ --version ]      display version
  -c [ --commands ]     show list of all available sam commands
  --color               display the output with colors

As you can see most commands work but the do command has an import problem.

Can someone please help me with this ?

Regards.

Donat Van Bellinghen














Fabien Castan

unread,
Oct 8, 2014, 12:13:27 PM10/8/14
to tuttleo...@googlegroups.com, do...@nozon.com
Hi Donat,

Really sorry for the delay.
I have no idea why you encounter this trouble. I would like to test it on my side to check if I get the same thing.
My problem is that I have had no access to a windows machine... But I will test that tomorrow.

Regards,
Fabien


--
You received this message because you are subscribed to the Google Groups "tuttleofx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tuttleofx-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Fabien Castan

unread,
Oct 9, 2014, 5:52:54 AM10/9/14
to tuttleo...@googlegroups.com, Donat Van Bellinghen
Hi,

I get the same error if I set the PYTHONHOME.
But it works fine if I simply use an absolute path to python. So my sam.bat looks like:

set TUTTLE_ROOT=%~dp0
set TUTTLE_HOME=%UserProfile%\cache_tuttleofxRelease
if not exist %TUTTLE_HOME% mkdir %TUTTLE_HOME%
C:\Python27\python.exe "%TUTTLE_ROOT%/sam.py" %*

I don't really understand the reason...
Does that works for you?

Regards,
Fabien

PS: I have not re-install python, so I use Python 2.7.3 but it should works fine with 2.7.8.
Reply all
Reply to author
Forward
0 new messages