2011/4/1 Alan Gauld <alan.ga...@btinternet.com> > > "Mark R Rivet" <markrri...@aol.com> wrote > > > Well I tried the setup file and here is what I get: >> C:\Users\Rivetmr\PyVisa_1.3\PyVISA-1.3>Python setup.py install >> Traceback (most recent call last): >> File "setup.py", line 60, in <module> >> home_dir = os.environ['HOME'] >> > > Windows doesn't by default define a HOME environment variable. > Are you sure your module is not Unix specific? >
IDLE 1.2 >>> import os >>> os.environ '.......... 'HOME': 'C:\\Documents and Settings\\Administrator', ...............} this is not home? I am geting exactly the same error IDLE 1.2 ==== No Subprocess ==== >>> removing 'build' (and everything under it) Traceback (most recent call last): File "C:\Python25\Lib\PyVISA-1.3\setup.py", line 60, in <module> home_dir = os.environ['HOME'] File "C:\Python25\lib\os.py", line 429, in __getitem__ return self.data[key.upper()] KeyError: 'HOME' -- Tsartsaris Sotirios
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor