[Tutor] PyVISA

Alan Gauld alan.gauld at btinternet.com
Fri Apr 1 21:10:37 CEST 2011


"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?

If not then the easiest solution is probably to just define a value 
for HOME... and see if it works!

HTH,

Alan G.



More information about the Tutor mailing list