On 11/22/2010 6:18 PM, Emile van Sebille wrote:
On 11/22/2010 3:05 PM John Smith said...
Hi, Emile -
Install from sources? What is that?
see http://pyserial.sourceforge.net/pyserial.html#installation the From
Source section.
I'm not sure what else may be required but it should help
Hi, Walter -
Thanks to you, pyserial is installed and imports into Python. Not having
double backslashes was the latest problem that you got me through.
I am grateful for the support and education you have given me.
Cheers,
John
___
Tutor maillist
Can anybody tell me why the handle below is invalid? I'm running Win7.
TIA,
John
Python 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500 64 bit
(AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import serial
>>> ser = serial.Serial('com1', timeout = 5)
On 11/28/2010 10:57 AM, Emile van Sebille wrote:
On 11/28/2010 7:55 AM John Smith said...
Can anybody tell me why the handle below is invalid? I'm running Win7.
TIA,
John
Python 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)]
on win32
Type "copyright"
On 11/28/2010 8:06 PM, Walter Prins wrote:
John,
(snip stuff)
Ugh, you're probably not going to like this. I've done some googling
and it appears this may be a 64-bit issue with the "ctypes" module...
apparently "64-bit ctypes can only import 64-bit libraries". See here:
http://ur.ly/vSMQ
Th
On 11/29/2010 4:20 PM, Emile van Sebille wrote:
On 11/29/2010 1:44 PM John Smith said...
But, when I tried it in Python, I got the same as before:
>>> import serial
>>> ser = serial.Serial(0, timeout = 1)
out of curiosity, if you change the timeout above to 5
&
On 11/29/2010 5:56 PM, Emile van Sebille wrote:
(snip)
Hmmm... any chance you don't have administrative rights on the account
performing this? I never got to Win7 (having stopped at XP) but I know
it's got a reputation for excessive permission asking.
You're right about that. It's like Win7 is
On 11/29/2010 9:41 PM, Rance Hall wrote:
On Mon, Nov 29, 2010 at 8:21 PM, John Smith wrote:
On 11/29/2010 5:56 PM, Emile van Sebille wrote:
(snip)
Hmmm... any chance you don't have administrative rights on the account
performing this? I never got to Win7 (having stopped at XP) but I
On 11/30/2010 10:37 AM, Walter Prins wrote:
Hello John
(snip)
In any case, to fix it let's delete all instances of pySerial and then
install it again, as follows:
1.) Open up your Python "site-packages" folder in Windows Explorer, e.g.
open up:
E:\Python27\lib\site-packages
2.) Delete any fol
On 11/30/2010 6:23 PM, Walter Prins wrote:
Hello John,
(snip)
Apparently so. Well, win32file is part of the PyWin32 package, which
are a set of modules that wrap many Windows API's. I'm not sure why it
was't/isn't required for PySerial 2.5 or whether as you say perhaps this
module is include
On 11/30/2010 7:27 PM, Adam Bark wrote:
On 01/12/10 01:00, John Smith wrote:
Hi, Walter -
I got pywin32-214.win32-py2.7.exe because I have the Intel i7 (I'm
guessing that the AMD versions are for the AMD processor). However,
all of the exe offerings have the same "Python not found i
11 matches
Mail list logo