Closed akhst7 closed 3 years ago
Hi, @akhst7,
I have never seen this issue before. Did you install kb
through pip or conda?
@Lioscro Kb-py and its dependencies were surprisingly successfully compiled and installed though pip3 in the aarch64 running Ubuntu Focal. Doesn't OSError indicate the shebang issue ? I saw this in the stackoverflow https://stackoverflow.com/questions/27606653/oserror-errno-8-exec-format-error. It looks like an easy fix but ....
/home/ubuntu/.local/lib/python3.8/site-packages/kb_python/bins/linux/kallisto/kallisto
this file is not a shell script, it is a binary, so shebang shouldn't be an issue here. Is it possible to call the binary directly by running
$ /home/ubuntu/.local/lib/python3.8/site-packages/kb_python/bins/linux/kallisto/kallisto
I tried that and gave me exec format error
. I even went /home/ubuntu/.local/lib/python3.8/site-packages/kb_python/bins/linux/kallisto/
and did ./kallisto but got the same error.
Can you try the following?
wget https://github.com/pachterlab/kb_python/raw/master/kb_python/bins/linux/kallisto/kallisto
./kallisto
If that still doesn't work, does the official release downloaded from the kallisto repo (https://github.com/pachterlab/kallisto/releases/download/v0.46.2/kallisto_linux-v0.46.2.tar.gz) work at all?
I did try both,
wget https://github.com/pachterlab/kb_python/raw/master/kb_python/bins/linux/kallisto/kallisto
./kallisto
--2021-07-15 23:25:27-- https://github.com/pachterlab/kb_python/raw/master/kb_python/bins/linux/kallisto/kallisto
Resolving github.com (github.com)... 140.82.113.4
Connecting to github.com (github.com)|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/pachterlab/kb_python/master/kb_python/bins/linux/kallisto/kallisto [following]
--2021-07-15 23:25:28-- https://raw.githubusercontent.com/pachterlab/kb_python/master/kb_python/bins/linux/kallisto/kallisto
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3007008 (2.9M) [application/octet-stream]
Saving to: ‘kallisto’
kallisto 100%[==========================>] 2.87M --.-KB/s in 0.08s
curl -o kallisto https://github.com/pachterlab/kallisto/releases/download/v0.46.2/kallisto_linux-v0.46.2.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 635 100 635 0 0 4669 0 --:--:-- --:--:-- --:--:-- 4669
and both cases, I gotcommand not found
These binaries are compiled for x86_64 ? If so, it won't run on the aarch machine.
Hi, @akhst7, I must have completely missed that part somehow.
Yes, that is definitely the issue here. You're going to have to manually compile the kallisto and bustools binaries, and provide the paths to them as the --kallisto
and --bustools
arguments when running kb
.
Manual compilation will get ugly at this point. I will just wait till the binary becomes available .
Describe the issue A clear and concise description of what the issue is. I installed kb-python and run kb ref in Ubuntu focal on AWS EC2 with a following specs:
and Python 3.8.5.
I run into an excision halt. My EC2 Ubuntu setup is as follows;
What is the exact command that was run?
Command output (with
--verbose
flag)It looks like the shebang issue ? Any help will be appreciate