Re: [python-win32] pywin32 in python 64bit-3.7 environment

2022-07-05 Thread Mark Hammond

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@python.org
https://mail.python.org/mailman/listinfo/python-win32


___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32


Re: [python-win32] pywin32 in python 64bit-3.7 environment

2022-07-05 Thread Steven Manross
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@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
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32


[python-win32] pywin32 in python 64bit-3.7 environment

2022-07-05 Thread De Silva, Thushara via python-win32
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
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32