[Tutor] PyVISA
Mark R Rivet
markrrivet at aol.com
Fri Apr 1 19:17:04 CEST 2011
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']
File "C:\Python27\Lib\os.py", line 423, in __getitem__
return self.data[key.upper()]
KeyError: 'HOME'
From: Yashwin Kanchan [mailto:yashwinkanchan at gmail.com]
Sent: Friday, April 01, 2011 11:53 AM
To: Manatee
Cc: python-list at python.org
Subject: Re: PyVISA
Hi
Have you installed the module after unzipping it?
python setup.py install
Got it from the README file in the downloaded tar.
Regards
Yashwin Kanchan
On 1 April 2011 16:29, Manatee <markrrivet at aol.com> wrote:
I have unpacked the PyVISA files into the Python/lib/site-packages dir
and from the IDLE GUI I get and error
import visa
Traceback (most recent call last):
File "<pyshell#25>", line 1, in <module>
import visa
ImportError: No module named visa
There must be more to just putting the files in the correct directory.
Need help configuring PyVISA to work.
My ultimate goal is to control electronic instruments with Python
through visa.
--
http://mail.python.org/mailman/listinfo/python-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110401/f81cca9b/attachment-0001.html>
More information about the Tutor
mailing list