From Thushara.DeSilva at nrel.gov Tue Jul 5 17:13:19 2022 From: Thushara.DeSilva at nrel.gov (De Silva, Thushara) Date: Tue, 5 Jul 2022 21:13:19 +0000 Subject: [python-win32] pywin32 in python 64bit-3.7 environment Message-ID: Hi, I am working in python 64-bit, 3.7 environment. I want to install pywin32 to conda-environment. "pip install pywin32" installed pywin32 304 to my env. But I cannot "import pywin32" from my jupyter notebook (No Module named 'pywin32'). I assumed, I have to install 64 bit pywin 32. So, I tried to install the module as pip install https://github.com/mhammond/pywin32/releases/download/b304/pywin32-304.win-amd64-py3.7.exe ERROR: File "setup.py" not found for legacy project https://github.com/mhammond/pywin32/releases/download/b304/pywin32-304.win-amd64-py3.7.exe. Would you all help me? Thanks, Thushara -------------- next part -------------- An HTML attachment was scrubbed... URL: From steven at manross.net Tue Jul 5 19:53:40 2022 From: steven at manross.net (Steven Manross) Date: Tue, 5 Jul 2022 23:53:40 +0000 Subject: [python-win32] pywin32 in python 64bit-3.7 environment In-Reply-To: References: Message-ID: <2ab75e4a522b484d978af81b80f6acb3@manross.net> https://anaconda.org/anaconda/pywin32 ... suggests: conda install -c anaconda pywin32 BUT, that is version 302 according to the URL above. As for the EXE, I don't think that PIP will install from an EXE. I hope this helps, but I literally know nothing about anaconda. I'm sure that someone else likely knows more. Steven From: python-win32 On Behalf Of De Silva, Thushara via python-win32 Sent: Tuesday, July 5, 2022 2:13 PM To: python-win32 at python.org Subject: [python-win32] pywin32 in python 64bit-3.7 environment Hi, I am working in python 64-bit, 3.7 environment. I want to install pywin32 to conda-environment. "pip install pywin32" installed pywin32 304 to my env. But I cannot "import pywin32" from my jupyter notebook (No Module named 'pywin32'). I assumed, I have to install 64 bit pywin 32. So, I tried to install the module as pip install https://github.com/mhammond/pywin32/releases/download/b304/pywin32-304.win-amd64-py3.7.exe ERROR: File "setup.py" not found for legacy project https://github.com/mhammond/pywin32/releases/download/b304/pywin32-304.win-amd64-py3.7.exe. Would you all help me? Thanks, Thushara -------------- next part -------------- An HTML attachment was scrubbed... URL: From mhammond at skippinet.com.au Tue Jul 5 20:41:14 2022 From: mhammond at skippinet.com.au (Mark Hammond) Date: Wed, 6 Jul 2022 10:41:14 +1000 Subject: [python-win32] pywin32 in python 64bit-3.7 environment In-Reply-To: References: Message-ID: <711882bc-55fa-949a-81de-74363d5ebdc0@skippinet.com.au> On 6/07/2022 7:13 am, De Silva, Thushara via python-win32 wrote: > Hi, > > I am working in python 64-bit, 3.7 environment. I want to install > pywin32 to conda-environment. > > ?pip install pywin32? installed pywin32 304 to my env. But I cannot > ?import pywin32? from my jupyter notebook (No Module named ?pywin32?). Note that confusingly, pywin32 has many modules, but none are named `pywin32` - try, say, `import win32api`. > I > assumed, I have to install 64 bit pywin 32. > > So, I tried to install the module as > > pip install > https://github.com/mhammond/pywin32/releases/download/b304/pywin32-304.win-amd64-py3.7.exe > > ERROR: File "setup.py" not found for legacy project As Steven mentioned, pip can't install via a .exe. You either want to run the .exe, or just use `pip install pywin32` - which you said you did above, so I suspect you have already installed it correctly, but just specified the wrong module to import. Cheers, Mark > https://github.com/mhammond/pywin32/releases/download/b304/pywin32-304.win-amd64-py3.7.exe . > > Would you all help me? > > Thanks, > > Thushara > > > _______________________________________________ > python-win32 mailing list > python-win32 at python.org > https://mail.python.org/mailman/listinfo/python-win32 From omsaadi at yahoo.com Wed Jul 6 13:40:31 2022 From: omsaadi at yahoo.com (osama saadi) Date: Wed, 6 Jul 2022 17:40:31 +0000 (UTC) Subject: [python-win32] Hi References: <1678806090.2169770.1657129231802.ref@mail.yahoo.com> Message-ID: <1678806090.2169770.1657129231802@mail.yahoo.com> Dear Sir,I am using colab and try to install pywin32.I used the following code (!pip install pywin32) but I got error. Please can you help me how to install it?Yours SincerelyOsama -------------- next part -------------- An HTML attachment was scrubbed... URL: From timr at probo.com Wed Jul 6 21:07:19 2022 From: timr at probo.com (Tim Roberts) Date: Wed, 6 Jul 2022 18:07:19 -0700 Subject: [python-win32] Hi In-Reply-To: <1678806090.2169770.1657129231802@mail.yahoo.com> References: <1678806090.2169770.1657129231802.ref@mail.yahoo.com> <1678806090.2169770.1657129231802@mail.yahoo.com> Message-ID: <608a3111-ec4f-c440-a225-d8ab45b65167@probo.com> On 7/6/22 10:40, osama saadi via python-win32 wrote: > I am using colab and try to install pywin32. > I used the following code (!pip install pywin32) but I got error. > > Please can you help me how to install it? Colab runs on Linux machines.? PyWin32 does not run on Linux. What APIs were you hoping to use? -- Tim Roberts,timr at probo.com Providenza & Boekelheide, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: