question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Segfault during installation

See original GitHub issue

Bug report

Environment:

Description Data
OS Ubuntu 18.04
Python version 3.6.5
Pip version 9.0.1
Manga-py version 1.3.29.1

To Reproduce:

Steps to reproduce the behavior:

  1. Install with pip3 and enable verbosity pip3 install manga-py -v
  2. See log. Seems to be due to some py2 code in js2py:
  *** Error compiling '/tmp/pip-build-ocbi3pn6/js2py/js2py/internals/speed.py'...
    File "/tmp/pip-build-ocbi3pn6/js2py/js2py/internals/speed.py", line 50
      print timeit(
                 ^
  SyntaxError: invalid syntax
  
  *** Error compiling '/tmp/pip-build-ocbi3pn6/js2py/js2py/test_internals.py'...
    File "/tmp/pip-build-ocbi3pn6/js2py/js2py/test_internals.py", line 9
      print seval.eval_js_vm(x)
                ^
  SyntaxError: invalid syntax
  



Successfully installed asn1crypto-0.24.0 brotli-1.0.7 certifi-2019.6.16 cffi-1.12.3 chardet-3.0.4 cloudscraper-1.1.18 cryptography-2.7 idna-2.8 js2py-0.66 pycparser-2.19 pyjsparser-2.7.1 pyopenssl-19.0.0 pytz-2019.1 requests-2.22.0 requests-toolbelt-0.9.1 six-1.12.0 tzlocal-1.5.1 urllib3-1.25.3
Cleaning up...
Segmentation fault (core dumped)

Is there a way to bypass this?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
onaka-itaicommented, Jun 29, 2019

Yes, closed!

0reactions
1271commented, Jun 29, 2019

Can I consider the problem solved?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Linux Installation fails with segmentation fault.
Linux Installation fails with segmentation fault. It allows the serial number and control numbers to be entered but eventually fails.
Read more >
Segmentation fault during installation with pip #16 - GitHub
Debian 8: lz4 installation fails because of missing no such option: --disable-pip-version-check because python3-pip package has pip version 1.5.
Read more >
Segmentation fault while installing Python 3.5: ensurepip
I found the solution here: https://giters.com/pyenv/pyenv/issues/1889. Step 1: create file segfault.patch with the following contents:
Read more >
Segfault with for fresh ubuntu 20.04 install using conda
The python interpreter segfaults when running in a miniconda environment on a fresh install of ubuntu 20.04.2.
Read more >
When you try to install an R package it fails with segmentation ...
One way to tell if the package you are attempting to install needs static R libraries is to look at the output generated...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found