pywin32 installation problems on Tecnai Windows NT machine
Added by Anonymous almost 20 years ago
I installed Python 2.3 first, then installed the win32 extension build 203.
There was an error:
opied pythoncom23.dll to C:\WINNT\System32\pythoncom23.dll
Copied pywintypes23.dll to C:\WINNT\System32\pywintypes23.dll
Registered: Python.Interpreter
FAILED to register the Python COM objects
-> Software\Python\PythonCore\2.3\Help[None]=None
-> Software\Python\PythonCore\2.3\Help\Pythonwin
Reference[None]='C:\\Python23\\Lib\\site-packages\\PyWin32.chm'
Creating directory C:\Python23\Lib\site-packages\win32com\gen_py
function not available
The pywin32 extensions were successfully installed.
Traceback (most recent call last):
File "C:\Python23\Scripts\pywin32_postinstall.py", line 213, in install
RegisterCOMObjects()
File "C:\Python23\Scripts\pywin32_postinstall.py", line 121, in
RegisterCOMObjects
import(module)
File "C:\Python23\Lib\site-packages\win32com\servers\dictionary.py", line 36,
in ?
from win32com.server import util, policy
File "C:\Python23\Lib\site-packages\win32com\server\util.py", line 4, in ?
import policy
File "C:\Python23\Lib\site-packages\win32com\server\policy.py", line 747, in ?
from dispatcher import DispatcherTrace, DispatcherWin32trace
File "C:\Python23\Lib\site-packages\win32com\server\dispatcher.py", line 277,
in ?
import win32trace
error: (3, 'CreateMutex', 'The system cannot find the path specified.')
If I ignored that error and installed all the rest of the packages, I didn't get
the leginon group in my start menu. When I tried to run launcher.py, a command
window showed and disappeared at once. Then I started Leginon from my main
working station, I could not see the scope machine. There is nothing wrong
about the inter-computer communication since I can access the web server (on
the main working computer) from the scope machine, and write files to the main
working station. I am wondering if you could help me with this. By the way, the
scope computer is running windows NT.
If you need additional information, please let me know.
Best regards,
Liguo
Replies (2)
- Added by Anonymous almost 20 years ago
Hi,
I'm sorry, I've never seen this problem before. We're running Windows 2000 on our Tecnai PC so perhaps that is the reason. Do you have the correct permissions to install the package?
There is also an pywin32 installation trouble shooting guide here:
http://starship.python.net/crew/mhammon ... blems.html
Let me know if it helps or if you need more assistance.
Thanks,
Christian
- Added by Jim Pulokas almost 20 years ago
I found this person with the same problem (although with python 2.2). So it looks like it could be just a bad build of win32 extensions:
http://mail.python.org/pipermail/python ... 02845.html
He says build 203 is the bad one. On the download page there is now a version 204. You should try that one, and if that still doesn't work, revert to an older version, maybe 202 or earlier.
http://sourceforge.net/project/showfile ... p_id=78018
If nothing else works, can you have FEI service upgrade your machine to Windows 2000?
Jim