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.

[BUG] Illegal hardware request on fresh grayskull

See original GitHub issue

Describe the bug I am trying to play with grayksull to see if fits my use case. I’ve installed it from pip and run grayskull pypi pandas and gotten a long stack of errors and a message saying illegal hardware request

To Reproduce Steps to reproduce the behavior:

  1. Install grayskull using pip in core macbook environment (no conda env, no venv): pip install grayskull
  2. Run python3 -m pip install grayskull

Expected behavior Pandas recipe to be created.

Outputs

Click to expand error stack trace
#### Initializing recipe for pandas (pypi) ####

Recovering metadata from pypi...
Starting the download of the sdist package pandas-1.1.4.tar.gz
pandas-1.1.4.tar.gz 100% Time:  0:00:02   1.6 MiB/s|#########################################################################|
Recovering information from setup.py
Executing injected distutils...
Traceback (most recent call last):
  File "/Users/luischavesrodriguez/Library/Python/3.7/bin/pip", line 5, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip._internal.cli.main'
ERROR:It was not possible to install setuptools.
Command: pip install setuptools --target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-annpkgbe.
Error: Command '['pip', 'install', 'setuptools', '--target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-annpkgbe']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "/Users/luischavesrodriguez/Library/Python/3.7/bin/pip", line 5, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip._internal.cli.main'
ERROR:It was not possible to install setuptools.
Command: pip install setuptools --target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-annpkgbe.
Error: Command '['pip', 'install', 'setuptools', '--target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-annpkgbe']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "/Users/luischavesrodriguez/Library/Python/3.7/bin/pip", line 5, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip._internal.cli.main'
ERROR:It was not possible to install cython.
Command: pip install cython --target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-annpkgbe.
Error: Command '['pip', 'install', 'cython', '--target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-annpkgbe']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "/Users/luischavesrodriguez/Library/Python/3.7/bin/pip", line 5, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip._internal.cli.main'
ERROR:It was not possible to install numpy.
Command: pip install numpy --target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-annpkgbe.
Error: Command '['pip', 'install', 'numpy', '--target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-annpkgbe']' returned non-zero exit status 1.
Recovering metadata from setup.cfg
No data was recovered from setup.py. Forcing to execute the setup.py as script
Traceback (most recent call last):
  File "/Users/luischavesrodriguez/Library/Python/3.7/bin/pip", line 5, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip._internal.cli.main'
ERROR:It was not possible to install setuptools.
Command: pip install setuptools --target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-cn_lbbxw.
Error: Command '['pip', 'install', 'setuptools', '--target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-cn_lbbxw']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "/Users/luischavesrodriguez/Library/Python/3.7/bin/pip", line 5, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip._internal.cli.main'
ERROR:It was not possible to install setuptools.
Command: pip install setuptools --target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-cn_lbbxw.
Error: Command '['pip', 'install', 'setuptools', '--target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-cn_lbbxw']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "/Users/luischavesrodriguez/Library/Python/3.7/bin/pip", line 5, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip._internal.cli.main'
ERROR:It was not possible to install cython.
Command: pip install cython --target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-cn_lbbxw.
Error: Command '['pip', 'install', 'cython', '--target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-cn_lbbxw']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "/Users/luischavesrodriguez/Library/Python/3.7/bin/pip", line 5, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip._internal.cli.main'
ERROR:It was not possible to install numpy.
Command: pip install numpy --target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-cn_lbbxw.
Error: Command '['pip', 'install', 'numpy', '--target=/var/folders/h4/30q_k34n2y77hfr_3_dq5q_40000gn/T/pip-dir-cn_lbbxw']' returned non-zero exit status 1.
Recovering metadata from setup.cfg
Checking >> numpy 100% |##############################################################################|[Elapsed Time: 0:00:01]
Recovering license info from spdx.org ...
[1]    6161 illegal hardware instruction  grayskull pypi pandas

Environment: ~- conda list~ <-- None, using core python

python3 -m pip list ``` Package Version Location ------------------ --------- -------------------------------------------------------------- appdirs 1.4.4 astroid 2.4.2 attrs 20.2.0 bleach 3.2.1 certifi 2020.6.20 chardet 3.0.4 colorama 0.4.3 distlib 0.3.1 docutils 0.16 filelock 3.0.12 flake8 3.8.4 grayskull 0.8.3 idna 2.10 iniconfig 1.0.1 isort 5.5.4 keyring 21.4.0 lazy-object-proxy 1.4.3 mccabe 0.6.1 packaging 20.4 pip 20.1.1 pkginfo 1.5.0.1 pluggy 0.13.1 progressbar2 3.53.1 py 1.9.0 pycodestyle 2.6.0 pyflakes 2.2.0 Pygments 2.7.1 pylint 2.6.0 pyparsing 2.4.7 pytest 6.1.1 python-utils 2.4.0 rapidfuzz 0.13.3 readme-renderer 26.0 requests 2.24.0 requests-toolbelt 0.9.1 rfc3986 1.4.0 ruamel.yaml 0.16.12 ruamel.yaml.clib 0.2.2 ruamel.yaml.jinja2 0.2.4 setuptools 50.3.0 six 1.15.0 stdlib-list 0.8.0 toml 0.10.1 tqdm 4.50.0 twine 3.2.0 urllib3 1.25.10 virtualenv 20.0.33 webencodings 0.5.1 wheel 0.35.1 wrapt 1.12.1 ```
- grayskull --version: **0.8.3**

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
lucharocommented, Nov 22, 2020

It’s a macBook Pro 2015 with the following OS: ProductName: Mac OS X ProductVersion: 10.15.7 BuildVersion: 19H15

And by the way, when I’ve created a virtualenv I’ve had no problem using the tool. Most of the time I work in environments and most people do/should anyway. I don’t think it’s a big problem

1reaction
lucharocommented, Nov 22, 2020

That was fast! I will clone that branch and test it out right away 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to - zsh: illegal hardware instruction (TensorFlow m1 Mac)
in this video i show you exactly How to fix - zsh: illegal hardware instruction (M1 Mac Tensorflow Error ) - this is...
Read more >
Untitled
Lift sharing usa, Diy new furnace installation, Kj yesudas tamil interview, ... Brigade 36, Champlain bar stools, Most requested haircut, Alabakov label?
Read more >
Edit - 2b2t Wiki
The server owner is commonly known as Hausemaster, although it is debated if they are the same person as the one who helped...
Read more >
200X He-Man: Defender of Grayskull on XBOX??!!
I had engineering reports for the last product line in a specific series that stated certain bugs would be "fixed on the next...
Read more >
Household Cleaner Recall For New York Residents - WYRK
But there is one particular cleaner that has been recalled in New York ... By the power of Grayskull, He-Man and the Masters...
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