#47 Error in Main Script(pygal)(lxml) 64bit 3.3.4

4.3
open
None
5
2014-03-01
2014-02-28
Anonymous
No

This is on windows 7 64bit.
64bit python installed.

--- here is the setup file ---
import sys
from cx_Freeze import setup, Executable

build_exe_options = {
"packages": ["os"],
"includes": ["tkinter","pygal","lxml"],
"include_files": ["icon.ico"],
"icon":"icon.ico",
}

base = None
if sys.platform == "win32":
base = "Win32GUI"

setup(
name = "SVG Check",
version = "1",
description = "SVG Check",
options = {"build_exe": build_exe_options},
executables = [Executable("canvas.py",
base=base)]

)

1 Attachments

Discussion


  • Anonymous
    2014-02-28

    Did not mean to put Anthony as the owner. Sorry for the mistake.

     

  • Anonymous
    2014-03-01

    Trying everything....Adding packages, includes -- win32com, win32com.gen_py -- Whatever I see on the internet. Nothing seems to work. Here is the text from the image:

    Traceback (most recent call last):
    File "c:\dev\python3.3.3\Lib\site-packages\cx_Freeze\initscripts\Console3.py", line 27, in <module>
    exec(code, m.dict)
    File "canvas.py", line 17, in <module>
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1558, in _find_and_load
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1525, in _find_and_load_unlocked
    File "c:\dev\python3.3.3\Lib\site-packages\pygal__init.py", line 27, in <module>
    from pygal.ghost import Ghost, REAL_CHARTS
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1558, in _find_and_load
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1525, in _find_and_load_unlocked
    File "c:\dev\python3.3.3\Lib\site-packages\pygal\ghost.py", line 43, in <module>

    import__(mod_name)
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1558, in _find_and_load
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1525, in _find_and_load_unlocked
    File "c:\dev\python3.3.3\Lib\site-packages\pygal\graph\line.py", line 24, in <module>
    from pygal.graph.graph import Graph
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1558, in _find_and_load
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1525, in _find_and_load_unlocked
    File "c:\dev\python3.3.3\Lib\site-packages\pygal\graph\graph.py", line 26, in <module>
    from pygal.graph.base import BaseGraph
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1558, in _find_and_load
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1525, in _find_and_load_unlocked
    File "c:\dev\python3.3.3\Lib\site-packages\pygal\graph\base.py", line 28, in <module>
    from pygal.svg import Svg
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1558, in _find_and_load
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1525, in _find_and_load_unlocked
    File "c:\dev\python3.3.3\Lib\site-packages\pygal\svg.py", line 31, in <module>
    from lxml import etree
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1607, in _handle_fromlist
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 313, in _call_with_frames_removed
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1558, in _find_and_load
    File "C:\Python\64-bit\3.3\lib\importlib_bootstrap.py", line 1525, in _find_and_load_unlocked
    File "ExtensionLoader_lxml_etree.py", line 11, in <module>
    File "lxml.etree.pyx", line 84, in init lxml.etree (src\lxml\lxml.etree.c:191908)
    ImportError: cannot import name _elementpath

     


Anonymous


Cancel   Add attachments