[New-bugs-announce] [issue29426] Using pywin32 on Python3 on linux

Mark Tischler report at bugs.python.org
Thu Feb 2 19:14:13 EST 2017


New submission from Mark Tischler:

I downloaded pywin32 build 220 from https://sourceforge.net/projects/pywin32/files/pywin32/, and tried to install it using 'python3 setup.py install' as well as 'python3 pywin32_postinstall.py -install' ("python3" = python 3.6.0), and the former gave me a syntax error about 'print' needing parentheses, and the latter gave me a syntax error about an 'except' statement having a syntax error, both of which tell me that this pywin32 package is not compatible with Python 3.  So, I went searching and found https://pypi.python.org/pypi/pypiwin32.  This is the same build number -- 220.  Given that it is a full year newer than the other (it's odd that its build number is the same), I thought that this might have changes in it to support Python3.  However, given that I'm installing on a Linux platform, I don't think I can deal with wheel files.  These downloadable files appear to be for Windows installations only.

I'm attempting to have an app, which is installed on a RedHat Linux machine, use SQL Server as its database, so my understanding is that I need the django-mssql package (I have version 1.8 ready to go) and that is dependent upon pywin32.  So, I'm wondering if there is a version of pywin32 that is compatible with Python 3.6.0 and that is installable on Red Hat Linux.

I am not using 'pip' to install packages, because my installation is not in the normal system area.  I have a library of multiple Python installations, so that the various apps installed on that machine can be pointed to one of several different versions of Python.

Note, I am somewhat new to Python and Python installations.  Any help would be appreciated.

----------
components: Installation
messages: 286836
nosy: mtischler
priority: normal
severity: normal
status: open
title: Using pywin32 on Python3 on linux
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29426>
_______________________________________


More information about the New-bugs-announce mailing list