[Tutor] PyVISA
Sotiris Tsartsaris
tsartsaris at gmail.com
Fri Apr 1 21:49:00 CEST 2011
2011/4/1 Alan Gauld <alan.gauld at btinternet.com>
>
> "Mark R Rivet" <markrrivet at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110401/bcffc206/attachment-0001.html>
More information about the Tutor
mailing list