0

I have Simply Linix Python 3 script named "lbp" Python 3.7.11

Then I try to run the script (also test common tricks for enabling apt_pkg, they doesnt work, please see below)

[user@baikal ~]$ lbp
Traceback (most recent call last):
  File "/home/user/soft/cuisine/lbp", line 12, in <module>
    from cuisine.bundle import Bundle
  File "/home/user/soft/cuisine/cuisine/bundle.py", line 9, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
[user@baikal ~]$ sudo apt-get install python3-apt
[sudo] password for user:
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package python3-apt
[user@baikal ~]$ sudo ln -s apt_pkg.cpython-38-x86_64-linux-gnu.so apt_pkg.so
ln: failed to create symbolic link 'apt_pkg.so': File exists
[user@baikal ~]$ ls -l /usr/lib64/python3/site-packages/apt_pkg*
ls: cannot access '/usr/lib64/python3/site-packages/apt_pkg*': No such file or directory
[user@baikal ~]$ python3 -m pip install apt_pkg
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement apt_pkg (from versions: none)
ERROR: No matching distribution found for apt_pkg
[user@baikal ~]$ python
-bash: python: command not found
[user@baikal ~]$ python3 --version
Python 3.7.11

Please help me to install 'apt_pkg'. The Simply Linux is some-kind of fork or Alt Linux

0 Answers0