Ich programmiere Server-Client-App mit Python.py2exe, paramiko error, ImportError
Ich muss clientseitige App auf Windows ausführen, also habe ich versucht, Skript zu exe mit py2exe zu kompilieren.
In Leiter der Client-Anwendung:
import paramiko
import threading
import subprocess
so in Setup importieren I paramiko
from distutils.core import setup
import py2exe, os, paramiko
setup(console=['client.py'])
als ich versuchte, kompilierte Datei auszuführen:
Traceback (most recent call last): File "client.py", line 3, in File "paramiko__init__.pyc", line 30, in
File "paramiko\transport.pyc", line 32, in s♥ File "cryptography\hazmat\backends__init__.pyc", line 7, in
File "pkg_resources__init__.pyc", line 68, in ☻☺t File "pkg_resources\extern__init__.pyc", line 60, in load_module
ImportError: The 'packaging' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.
Hat jemand eine Lösung ?
Formatieren? Ich kann es kaum verstehen, was –