Segfault during installation
See original GitHub issueBug 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:
- Install with pip3 and enable verbosity
pip3 install manga-py -v
- 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:
- Created 4 years ago
- Comments:11 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, closed!
Can I consider the problem solved?