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.

`pip install numba==0.48` does not make `bin/numba` executable

See original GitHub issue

Description

When installing the 0.48 version of numba via pip ( in an active virtual environment ) the numba executable placed in the bin/ folder of the venv will not have the executable flag set. Other versions I tested (0.47, both 0.49) do set the executable flag correctly.

OS

5.6.15-arch1-1 x86_64 GNU/Linux

Console log:

[parts removed for better readablitiy]

$ python3 -m venv testnumba
$ source testnumba/bin/activate
$ pip install numba==0.48
... [completed successfully] ...
$ pip list
Package    Version
---------- -------
llvmlite   0.31.0 
numba      0.48.0 
numpy      1.18.4 
pip        19.2.3 
setuptools 41.2.0 
$ ls testnumba/bin/numba
-rw-r--r-- 1  numba

Note: I do know, that this issue is related to an older version of numba and should not be posted. However, that version is served via pypi and will not work correctly if installed. This issue seems to be new, as I have an old install of version 0.48 via pip which did set numba as executable. I do not even know, if it is possible to fix this problem “in place” for version 0.48.

Thanks.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
sklamcommented, Jun 30, 2020

I have uploaded new wheel builds that fixed the problem.

There were several issues coming from auditwheel and wheel packages from Python that is making this harder than expected:

  • auditwheel repair does not respect --build-number: dropping the build-number and creating corrupted output
  • wheel unpack does not respect the execution bit: unpacks without the execution bit set; thus creating the problem reported here.
0reactions
sklamcommented, Jun 30, 2020

Rebuilding wheel… buildfarm id: numba_wheel_19

Read more comments on GitHub >

github_iconTop Results From Across the Web

1.3. Installation — Numba 0.48.0-py3.6-macosx-10.7-x86_64 ...
You can install Numba using pip : $ pip install numba. This will download all of the needed dependencies as well. You do...
Read more >
numba 0.48.0 - PyPI
A Just-In-Time Compiler for Numerical Functions in Python. Numba is an open source, NumPy-aware optimizing compiler for Python sponsored by ...
Read more >
Can't install numba on Python 3.10 - Stack Overflow
Before upgrading to Python 3.10, I created a list of all my packages and their current versions. I didn't see LLVM, only llvmlite...
Read more >
目录 - Gitee
numba #2672: Add ascontinguousarray. Still needs more work numba#2668: Fix empty_like from readonly array. Needs tests, not sure if submitter will add them, ......
Read more >
numba Changelog - pyup.io
for more NumPy functions and enhanced Python feature support. These ... whereby it will treat all exceptions that do not inherit from ``numba.errors....
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