Python Forum
Error in build using cx_freeze with psychopy based animation
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in build using cx_freeze with psychopy based animation
#1
Here is the error I'm receiving when trying to open the .exe file that was built using Cx_freeze version 4.3.4.Not sure why this is happening or if there is a simply fix.
cx_Freeze: Python error in main script
---------------------------
Error:
Traceback (most recent call last): File "C:\Users\Admin\Anaconda3\envs\python2\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module> exec(code, m.__dict__) File "psychopy_method.py", line 1, in <module> File "C:\Users\Admin\Anaconda3\envs\python2\lib\site-packages\psychopy\__init__.py", line 42, in <module> from psychopy.preferences import prefs File "C:\Users\Admin\Anaconda3\envs\python2\lib\site-packages\psychopy\preferences\__init__.py", line 8, in <module> from . import preferences as prefsLib File "C:\Users\Admin\Anaconda3\envs\python2\lib\site-packages\psychopy\preferences\preferences.py", line 232, in <module> prefs = Preferences() File "C:\Users\Admin\Anaconda3\envs\python2\lib\site-packages\psychopy\preferences\preferences.py", line 43, in __init__ self.loadAll() File "C:\Users\Admin\Anaconda3\envs\python2\lib\site-packages\psychopy\preferences\preferences.py", line 140, in loadAll self.general = self.userPrefsCfg['general'] File "C:\Users\Admin\Anaconda3\envs\python2\lib\site-packages\configobj.py", line 554, in __getitem__ val = dict.__getitem__(self, key) KeyError: 'general'
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with cx_freeze app only on one pc floatingshed 0 1,787 Mar-19-2021, 05:19 PM
Last Post: floatingshed
Exclamation Help with cx_Freeze mederic39 3 2,881 Jan-31-2021, 12:05 PM
Last Post: snippsat
  Winning/Losing Message Error in Text based Game kdr87 2 2,989 Dec-14-2020, 12:25 AM
Last Post: bowlofred
  name error with text based rpg code cris_ram415 4 2,418 Oct-25-2020, 05:44 AM
Last Post: bowlofred
  Compiling Python 3.8.5 source code results in build error Deepan 0 2,180 Sep-14-2020, 04:11 AM
Last Post: Deepan
  cx_freeze frozen executive introduces WinError 10049 KipCarter 3 3,151 Jan-14-2020, 02:34 PM
Last Post: KipCarter
  Python 3.6 Alternatives to Cx_Freeze KipCarter 5 5,020 Jan-14-2020, 11:51 AM
Last Post: KipCarter
  cx_freeze exe does not work? Skycoder 4 6,328 Jan-13-2020, 06:50 PM
Last Post: KipCarter
  How to get cx_Freeze to make folders mad_accountant 0 3,076 Nov-24-2019, 02:22 PM
Last Post: mad_accountant
  cx_freeze setup.py error: No module __SNMP-FRAMEWORK-MIB nacho 8 8,951 Jul-26-2019, 09:33 PM
Last Post: njmatt415

Forum Jump:

User Panel Messages

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