64ビットPython 3.4.2でインストールするときに同様の問題が発生しました。インストール実行ファイルpywin32-219.win-amd64-py3.4.exeをhttp://www.lfd.uci.edu/~gohlke/pythonlibs/から実行しました。それが明記サイトで
:
「のPython 3.4のユーザーは手動で昇格したコマンドプロンプトからpython.exe Scripts\pywin32_postinstall.py -install
を実行する必要があります。」
初めて会ったことはありませんでした。私は最後の文を読んで、私はこれらのdllのロードが失敗し得ることになるいくつかのコードを実行するために始めた
c:\python34>python.exe Scripts\pywin32_postinstall.py -install
Copied pythoncom34.dll to C:\Python34\pythoncom34.dll
Copied pywintypes34.dll to C:\Python34\pywintypes34.dll
You do not have the permissions to install COM objects.
The sample COM objects were not registered.
etc.etc.
Finishing with "The pywin32 extensions were succesfully installed" ...
:私は、次のフィードバックを得る通常のプロンプトからインストールされています。だから、
、いくつかの研究をした、と(どのように:「http://www.sevenforums.com/tutorials/783-elevated-command-prompt.html」を参照)昇格プロンプトを開始し、再び走った:
c:\python34>python.exe Scripts\pywin32_postinstall.py -install
Copied pythoncom34.dll to C:\Windows\system32\pythoncom34.dll
Copied pywintypes34.dll to C:\Windows\system32\pywintypes34.dll
Registered: Python.Interpreter
Registered: Python.Dictionary
Registered: Python
-> Software\Python\PythonCore\3.4\Help[None]=None
-> Software\Python\PythonCore\3.4\Help\Pythonwin Reference[None]='C:\\Python34\\Lib\\site-packages\\PyWin32.chm'
Pythonwin has been registered in context menu
Shortcut for Pythonwin created
Shortcut to documentation created
The pywin32 extensions were successfully installed.
そして今、私のコードは限りこの問題が懸念している(喜んで実行されます。.. 。一息、多くの他のもの)。
出典
2014-11-28 22:20:19
MZA
pywintypes26.dllとpythoncom26.dllをc:\ Python26 \ Lib \ site-packages \ win32に移動/コピーした後 - >問題を解決してください! –
問題を解決した場合は、解答として回答を投稿してください。 – agf
この回答を投稿してから1年後、ありがとうございます。それは今日私のために働いた – nish