Skip to content

puresnmp error run executable #124

@stefanovillacrc

Description

@stefanovillacrc

I create in python3.8 an executable file with lib puresnmp using
pyinstaller --noconfirm --onefile --windowed --hidden-import=puresnmp interface.py.

With myCharm the file python works perfectly.

Running the exe i get follow indication:
Traceback (most recent call last):
File "interface.py", line 8, in
File "PyInstaller\loader\pyimod02_importers.py", line 384, in exec_module
File "puresnmp_init_.py", line 18, in
File "puresnmp\compatibility.py", line 14, in package_version
File "importlib\metadata.py", line 531, in version
File "importlib\metadata.py", line 504, in distribution
File "importlib\metadata.py", line 177, in from_name
importlib.metadata.PackageNotFoundError: puresnmp

Do you have solutions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions