/bin/ash: pip: not found
-
@William-Scott
Swap: 2097148 23808 2073340sure it is on.
So I have installed bash and changed passwd to
root0:0:root:/root:/bin/bashstill the same ash error
after manually running bash and pip3 freeze after it i got
bash: /usr/bin/pip3: /codebuild/output/src727/src/github.com/OnionIoT/source/staging_dir/hostpkg/bin/python3.6: bad interpreter: No such file or directory/# opkg install python3
Package python3 (3.6.9-3) installed in root is up to date.
/# opkg install python3-pip
Package python3-pip (18.1-1) installed in root is up to date.
-
@William-Scott I think this is some Onion bug already
-
@Doctor-Ulysses Same 'ash' error or now a 'bash' error? If ash then a new login needs to occur to pick up the newly installed shell. I don't predict the new shell will fix the problems, but it sure gets some irritants out of the way.
--Bill
-
@Doctor-Ulysses said in /bin/ash: pip: not found:
bash: /usr/bin/pip3: /codebuild/output/src727/src/github.com/OnionIoT/source/staging_dir/hostpkg/bin/python3.6: bad interpreter: No such file or directory
-
@Doctor-Ulysses Yep - that variable is removed. I'm going to go through the whole thread again to see if something comes to mind.
--Bill
-
@William-Scott I use sd card for booting as well, can it be, what packages or package information saved on inner memory and on sd card became different and I need to clean /overlay/upper or other directories as well when I'm deleting python packages to reinstall them?
For now I have modified venv from pc, so there is no need to use pip to recompile venv files for omega paths
-
SOLVED: works on stable omega2p-v0.2.2-b200.bin
-
@Doctor-Ulysses Nice! Congrats!!
--Bill
-
I believe this is the issue. If you look at /usr/bin/pip3, you will see the incorrect shebang line:
#!/codebuild/output/src727/src/github.com/OnionIoT/source/staging_dir/hostpkg/bin/python3.6
instead of
#!/usr/bin/python3
I think onion.io needs to fix their package. Does anyone know how to notify them?
-
Thanks Heath!
This did the trick.
Erik