Python Forum
cx_freeze setup.py error: No module __SNMP-FRAMEWORK-MIB
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cx_freeze setup.py error: No module __SNMP-FRAMEWORK-MIB
#9
(Feb-19-2018, 03:25 AM)nacho Wrote: Thanks. Ok so I'm getting closer. That now appears to work ok on the snmpTester.py script I took from my main app.
However I get a different error when I try pyinstaller on the main app so I think there is maybe another error now (perhaps not related to snmp?):

C:\Users\netcomm\Documents\TerryTestPython>pyinstaller --clean testerButton.spec
129 INFO: PyInstaller: 3.3.1
129 INFO: Python: 3.6.4
132 INFO: Platform: Windows-10-10.0.14393-SP0
138 INFO: UPX is not available.
139 INFO: Removing temporary files and cleaning cache in C:\Users\netcomm\AppData\Roaming\pyinstaller
Traceback (most recent call last):
File "C:\Python\Python36-32\Scripts\pyinstaller-script.py", line 11, in <module>
load_entry_point('PyInstaller==3.3.1', 'console_scripts', 'pyinstaller')()
File "c:\python\python36-32\lib\site-packages\PyInstaller\__main__.py", line 94, in run
run_build(pyi_config, spec_file, **vars(args))
File "c:\python\python36-32\lib\site-packages\PyInstaller\__main__.py", line 46, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "c:\python\python36-32\lib\site-packages\PyInstaller\building\build_main.py", line 791, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "c:\python\python36-32\lib\site-packages\PyInstaller\building\build_main.py", line 737, in build
exec(text, spec_namespace)
File "<string>", line 10
SyntaxError: keyword argument repeated

Something to do with "main.py" I'm guessing.
Any ideas?
Thanks

>>> SCRATCH THAT. I made an error and inadvertantly pasted the path into the spec file twice. I have fixed that and it's WORKING!

Thanks heaps for your help today. I really appreciate it.

Hi.
Do I need to do anything else to "close" this thread? or mark it as "Answered"?

I have this exact same problem with pyinstaller.
I followed all of these instructions very closely, build is successful, but when I run the build I'm getting the following error:
[13565] Error loading Python lib '/tmp/_MEI3f3yDW/libpython2.7.so.1.0': dlopen: /tmp/_MEI3f3yDW/libpython2.7.so.1.0: cannot open shared object file: No such file or directory

Did you get this at all? What could it be?
Reply


Messages In This Thread
RE: cx_freeze setup.py error: No module __SNMP-FRAMEWORK-MIB - by njmatt415 - Jul-26-2019, 09:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error (Errno 2), File upload with the Flask framework and a public IP Username_Python1 0 264 Mar-28-2024, 01:46 PM
Last Post: Username_Python1
  Problem with cx_freeze app only on one pc floatingshed 0 1,792 Mar-19-2021, 05:19 PM
Last Post: floatingshed
Exclamation Help with cx_Freeze mederic39 3 2,888 Jan-31-2021, 12:05 PM
Last Post: snippsat
  python setup.py install error blackclover 2 7,943 Jan-07-2021, 04:36 AM
Last Post: blackclover
  'python setup.py bdist' gets error on 'compiler_flags' 1780yz 0 2,216 Sep-02-2020, 09:17 PM
Last Post: 1780yz
  vlc module error pythonprogrammer 1 2,873 Apr-23-2020, 04:16 AM
Last Post: Larz60+
  cx_freeze frozen executive introduces WinError 10049 KipCarter 3 3,158 Jan-14-2020, 02:34 PM
Last Post: KipCarter
  Python 3.6 Alternatives to Cx_Freeze KipCarter 5 5,026 Jan-14-2020, 11:51 AM
Last Post: KipCarter
  cx_freeze exe does not work? Skycoder 4 6,344 Jan-13-2020, 06:50 PM
Last Post: KipCarter
  How to get cx_Freeze to make folders mad_accountant 0 3,085 Nov-24-2019, 02:22 PM
Last Post: mad_accountant

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020