Ok, with some witchcraft it works, for now, I don't even know, what resolved the problem.
Posts made by Doctor Ulysses
-
RE: Virtualenv is not working on b233
-
Virtualenv is not working on b233
New "stable" release - new problems. This time virtualenv won't create venv.
Got shutil.SameFileError: '/usr/bin/python3' and '/test/venv/bin/python3' are the same file on python3 -m venv venv
And
ImportError: cannot import name 'aliases'
ERROR: The executable /test/venv/bin/python3 is not functioning
ERROR: It thinks sys.prefix is '/test' (should be '/test/venv')
ERROR: virtualenv is not compatible with this system or executable
on virtualenv --python=/usr/bin/python3 /test/venvwas working on b200.
-
RE: /bin/ash: pip: not found
@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
-
RE: /bin/ash: pip: not found
@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
-
RE: /bin/ash: pip: not found
@William-Scott I think this is some Onion bug already
-
RE: /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. -
RE: /bin/ash: pip: not found
@William-Scott 2GB was not enough for that one https://github.com/acrcloud/acrcloud_sdk_python
-
RE: /bin/ash: pip: not found
So there is enough space now, but still there is same error with pip3. I have fully reinstalled python with deleting all the python files even from usr/lib folder - same ash error
Was thinking, what pip disturbs pip3 and deleted everything what python is. After fresh installation of python3 and python3-pip - same error
/# pip3 freeze
/bin/ash: pip3: not found -
RE: /bin/ash: pip: not found
@William-Scott
Filesystem Size Used Available Use% Mounted on
/dev/root 7.8M 7.8M 0 100% /rom
tmpfs 61.0M 224.0K 60.8M 0% /tmp
/dev/mmcblk0p1 14.5G 10.4G 3.3G 76% /overlay
overlayfs:/overlay 14.5G 10.4G 3.3G 76% /
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mmcblk0p1 14.5G 10.4G 3.3G 76% /mnt/mmcblk0p1
/dev/mtdblock6 22.1M 740.0K 21.3M 3% /mnt/mtdblock6
/dev/mtdblock7 512.0K 196.0K 316.0K 38% /mnt/mtdblock7total used free shared buffers cached
Mem: 124920 62028 62892 224 8664 28552
-/+ buffers/cache: 24812 100108
Swap: 0 0 0I'm getting fatal: write error: No space left on device while installing python packages for my program (with pip -v also) , even when I do have more than 3gb free memory on mounted sd card
Even after I have deleted large folder - same "No space left" error.
Filesystem Size Used Available Use% Mounted on
/dev/root 7.8M 7.8M 0 100% /rom
tmpfs 61.0M 284.0K 60.7M 0% /tmp
/dev/mmcblk0p1 14.5G 599.4M 13.2G 4% /overlay
overlayfs:/overlay 14.5G 599.4M 13.2G 4% /
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mmcblk0p1 14.5G 599.4M 13.2G 4% /mnt/mmcblk0p1
/dev/mtdblock6 22.1M 740.0K 21.3M 3% /mnt/mtdblock6
/dev/mtdblock7 512.0K 196.0K 316.0K 38% /mnt/mtdblock7
I'm booting from sd card, as it is written in tutorial btw. Maybe I should also use swap file? -
RE: /bin/ash: pip: not found
@crispyoz It sends help page of opkg - the command is wrong. opkg info report nothing. I've already installed pip and it works. Thanks for your advice
-
RE: /bin/ash: pip: not found
@crispyoz opkg --force-reinstall python3-pip is not working
-
RE: /bin/ash: pip: not found
pip3 is not working on Omega2 plus, pip3.6 as well. I don't know why. pip from python-pip package works fine.
-
RE: /bin/ash: pip: not found
As I press tab twice - pip3 and pip3.6 are in the list, but I still can't run them
-
RE: /bin/ash: pip: not found
/# pip3 install virtualenv
/bin/ash: pip3: not found:/# python3-pip install virtualenv
/bin/ash: python3-pip: not found -
/bin/ash: pip: not found
Hi, pip, python and so on are installed, but I can't use pip
/# opkg list-installed | grep -i python
python-pip-conf - 0.1-1
python3 - 3.6.9-3
python3-asyncio - 3.6.9-3
python3-base - 3.6.9-3
python3-cgi - 3.6.9-3
python3-cgitb - 3.6.9-3
python3-codecs - 3.6.9-3
python3-ctypes - 3.6.9-3
python3-dbm - 3.6.9-3
python3-decimal - 3.6.9-3
python3-distutils - 3.6.9-3
python3-email - 3.6.9-3
python3-gdbm - 3.6.9-3
python3-light - 3.6.9-3
python3-logging - 3.6.9-3
python3-lzma - 3.6.9-3
python3-multiprocessing - 3.6.9-3
python3-ncurses - 3.6.9-3
python3-openssl - 3.6.9-3
python3-pip - 18.1-1
python3-pydoc - 3.6.9-3
python3-setuptools - 40.6.2-1
python3-sqlite3 - 3.6.9-3
python3-unittest - 3.6.9-3
python3-xml - 3.6.9-3/# pip3 install virtualenv
/bin/ash: pip3: not found -
RE: MPD on omega2 plus
Yes,
opkg list | grep cpp
libstdcpp - 5.4.0-1I have also updated all the packages using
opkg list-upgradable | cut -f 1 -d ' ' | xargs opkg upgrade
but it does not help (Lede is now installed and I also don't know, how to go back to omegaOS)
BusyBox v1.28.3 () built-in shell (ash)_________ / /\ _ ___ ___ ___
/ LE / \ | | | | | |
/ DE / \ | || || |) | |
/______/ LE \ |||/|| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (17.01-SNAPSHOT, r3497-033367e)
_______/ -----------------------------------------------------------oupgrade --latest
Device Firmware Version: 0.1.10 b160
Checking latest version online...
Repo Firmware Version: 0.2.0 b187
Comparing version numbers
New firmware version available, need to upgrade device firmware
Downloading new firmware ...
/usr/bin/oupgrade: local: line 377: not in a function -
MPD on omega2 plus
Hi, I'm trying to install mpd (https://openwrt.org/packages/pkgdata/mpd-full) (or mopidy or just some media player daemon) to save the music on my omega and use it like music player to stream the audio to clients of mpd using icecast (later I will put the omega in the headphones and connect i2s audio amplifier to switch between streaming audio to clients and play it on the server).
The problem now is what I have installed mpd-full, but I can not run it because of two errors:
and I can not install mopidy because of a problem with gstreamerThanks for advice and help