archlinux

How to update python to the latest version on ArchLinux?

How to update python to the latest version on ArchLinux? Question: How to install the latest python version 3.11.0 on ArchLinux through pacman? ArchLinux wiki says current version is 3.10, although python 3.11 has been officially released. When running sudo pacman -Syyu p I’m welcomed with warning: python-3.10.8-3 is up to date. Am I doing …

Total answers: 3

How to exclude a dependency from being downloaded?

How to exclude a dependency from being downloaded? Question: i am trying to install a lot of packages at the same time, and am getting this error at the end of the download. "error: failed to commit transaction (conflicting files) /usr/lib/python3.10/site-packages/magic/init.py exists in both ‘python-magic’ and ‘python-filemagic’ /usr/lib/python3.10/site-packages/magic/pycache/init.cpython-310.opt-1.pyc exists in both ‘python-magic’ and ‘python-filemagic’ /usr/lib/python3.10/site-packages/magic/pycache/init.cpython-310.pyc …

Total answers: 1

dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory

dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory Question: I use EndeavourOS and have updated my system on February 17 2022 using sudo pacman -Syu Eversince, when I run docker-compose, I get this error message: [4221] Error loading Python lib ‘/tmp/_MEIgGJQGW/libpython3.7m.so.1.0’: dlopen: libcrypt.so.1: cannot open shared object file: No such file …

Total answers: 5

Aur package Showing Permission denied

Aur package Showing Permission denied Question: I’m making an AUR package for arch linux and i have made the PKGBUILD file with reference through various YouTube videos and Blog post and Official AUR packaging documentation all I want is to move the python scripts to the /usr/bin/ directory but its throwing error of permission denied. …

Total answers: 1

How to install OpenCV on arch linux

How to install OpenCV on arch linux Question: I have tried installing opencv on arch using the aur package. It has successfully installed but when I try to import opencv2 in python, I get the following error ImportError: libhdf5.so.100: cannot open shared object file: No such file or directory Not just python , even when …

Total answers: 3

Running a Python script from PHP

Running a Python script from PHP Question: I’m trying to run a Python script from PHP using the following command: exec(‘/usr/bin/python2.7 /srv/http/assets/py/switch.py arg1 arg2′); However, PHP simply doesn’t produce any output. Error reporting is set to E_ALL and display_errors is on. Here’s what I’ve tried: I used python2, /usr/bin/python2 and python2.7 instead of /usr/bin/python2.7 I …

Total answers: 11