Traceback (most recent call last):
File "C:/Users/owner/Desktop/2/test2.py", line 1, in <module>
import os, winshell
File "C:\py35\lib\site-packages\winshell.py", line 30, in <module>
import win32con
ImportError: No module named 'win32con'
I've seen: http://error.news/question/6131746/why-does-pip-install-winshell-not-work-on-python-v342/
But I installed pywin32 64 bit separately and done it via the exe:
So how about: Why does pip install winshell not work on Python v3.4.2?
Err, no. I Installed it separtely.
I then went to see: What's win32con module in python? Where can I find it?
I need to know: What do I need to do to get winshell to work. I have manually installed pywin32 (64bit), I ran the exe for pywin32 (64bit) and completed it successfully, I then proceeded to CMD and did:
cd c:\py35\scripts
pip install winshell
The install completed successfully. However, importing winshell still doesn't work!
IT WORKED AT LAST What I did: Run CMD with elevated privileges and commands:
cd pathto\pythondirectory\scripts
pywin32_postinstall.py -install
Turns out that this would not have run and the DLLs would not have copied over correctly if you didn't have full admin.
Also a very notable page: https://blogs.msdn.microsoft.com/pythonengineering/2016/04/11/unable-to-find-vcvarsall-bat/