python - cx_freeze cannot import name 'process' when using statsmodels.api -


i trying freeze bunch of scripts using cz_freeze this error message (seemingly due statsmodels.api) when running .exe:

i unable copy text dialog window, image have do. apologies.

my cx_freeze build script:

# -*- coding: utf-8 -*- """ created on thu mar 30 11:04:36 2017  @author: max """  import sys os import environ os.path import dirname cx_freeze import setup, executable import scipy scipy_path = dirname(scipy.__file__)   # set tcl , tk library explicitly (it seems python 3.6 causes # errors otherwise): environ['tcl_library'] = r'c:\programdata\anaconda3\tcl\tcl8.6' environ['tk_library'] = r'c:\programdata\anaconda3\tcl\tk8.6'   #inclusion of dll files fix tkinter import: include_files = [r'c:\programdata\anaconda3\dlls\tcl86t.dll',                   r'c:\programdata\anaconda3\dlls\tk86t.dll',                   scipy_path] #inclusion of modules need explicitly imported reason: packages = []#['pyteomics']  #dependencies not implicitly detected: build_exe_options = {'includes': ['numpy.core._methods', 'numpy.lib.format'],                       'excludes': [],                      'include_files': include_files,                       'packages': packages}  # gui applications require different base on windows (the default # console application). base = none if sys.platform == 'win32':     base = 'win32gui'  setup(  name = 'davidek beta 1.1.1',         version = '1.1.1',         options = {'build_exe': build_exe_options},         executables = [executable('davidek.py', base=base)]) 

the humble import line:

import statsmodels.api sm 

i running python 3.6.0 on 64-bit windows 10. tips appreciated. let me know if additional information needed.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -