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:yashwinkanc...@gmail.com] 
Sent: Friday, April 01, 2011 11:53 AM
To: Manatee
Cc: python-l...@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 <markrri...@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

 

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to