Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'importerror:': 0.05; 'installed.': 0.05; 'setup.py': 0.07; 'undefined': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'url:github': 0.09; 'python': 0.11; '"python': 0.16; '23,': 0.16; 'install"': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'typical': 0.18; 'library': 0.20; '"",': 0.22; 'installation': 0.23; 'import': 0.24; '(most': 0.24; 'header:User-Agent:1': 0.26; 'installed': 0.26; 'header:X -Complaints-To:1': 0.26; 'external': 0.27; 'error': 0.27; 'errors.': 0.27; 'found.': 0.27; 'skip:/ 40': 0.29; 'run': 0.32; 'especially': 0.32; 'getting': 0.33; 'singh': 0.33; 'traceback': 0.33; 'case,': 0.34; 'running': 0.34; 'file': 0.34; 'to:addr :python-list': 0.35; 'installing': 0.35; 'skip:" 50': 0.35; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'missing': 0.37; 'received:org': 0.38; 'means': 0.39; 'to:addr:python.org': 0.39; 'received:de': 0.40; 'some': 0.40; 'your': 0.60; 'received:217': 0.61; 'telling': 0.61; 'great': 0.64; 'source:': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: dieter Subject: Re: Installing Pybison Date: Thu, 02 Jul 2015 07:51:24 +0200 References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gmane-NNTP-Posting-Host: pd9e09072.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:kxW4QqHBn/alRJkmq/7YTLYgZ/8= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1435816507 news.xs4all.nl 2848 [2001:888:2000:d::a6]:50439 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3845 X-Received-Body-CRC: 1596019945 Path: csiph.com!usenet.pasdenom.info!news.stben.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:93413 Great Avenger Singh writes: > I am installing Pybison from following Source: > > https://github.com/smvv/pybison > > After installing all required dependencies I am able to run "sodo python setup.py install" without any errors. > > I am getting following error while Running "python -c import bison" > > Traceback (most recent call last): > File "", line 1, in > File "/usr/local/lib/python2.7/dist-packages/bison.py", line 23, in > from bison_ import ParserEngine > ImportError: /usr/local/lib/python2.7/dist-packages/bison_.so: undefined symbol: py_callback This likely means that some required external (C-level) library is either missing on your system or cannot be found. Typical approach to resolve an issue of this kind: look for installation instructions, especially instructions telling about external dependencies. Ensure, all dependencies are installed. In case, they are installed in non-standard locations, use "LD_LIBRARY_PATH" to make those installations known.