Questions tagged [python3]
The python3 tag has no summary.
410 questions
0 votes
1 answer
292 views
Python>3.9 install on Ubuntu 20.04 focal
deadsnakes recently removed support for Ubuntu 20.04: https://github.com/deadsnakes/py3.11/commit/54c42edda82a91620e5c26b5e27eeda1527e2cff So, currently, trying to install any version of python newer ...
0 votes
1 answer
75 views
Binwalk error, debian 12
Debian GNU/Linux 12 (bookworm), 6.1.0-40-amd64, Python 3.11.2 I tried run binwalk, but it show error: ~$ binwalk Traceback (most recent call last): File "/usr/lib/python3.11/importlib/metadata/...
0 votes
0 answers
6 views
NetCDF4 created with Xarray does contain unexpected dimensions
I have a NetCDF question: I was creating a NetCDF4_classic file via Python's xarray package: import xarray as xr ds = xr.Dataset( data_vars={ "Data1": (("time"...
2 votes
1 answer
159 views
I cannot get pyautogui to install
I would like to use a Python script to create a video from Stellarium. I have tried several different methods, but so far none have worked. A promising approach is to spawn Stellarium and then use ...
0 votes
0 answers
53 views
org.freedesktop.IBus interface not found in the system after installing ibus and daemon start
My system is Kali 2022. I am new to linux and trying to interact with IBus using a python script. I have done the following things: Installed ibus using sudo apt install ibus Started ibus-daemon ...
0 votes
0 answers
42 views
Is the are a single site-packages directory for multiple versions of python3 in rpm-based distros?
I am working on creating deb/rpm packages for a little project of mine. I have already created the packages for a few rpm-based and deb-based distros. In deb distros one python file is being setup in /...
0 votes
0 answers
77 views
php script: shell_exec('nohup /usr/bin/python3 -u /location/script.py > /location/script.log & : Script terminates after 5 seconds but should not
I have a PHP Script with the command shell_exec('nohup /usr/bin/python3 -u /location/script.py > /location/script.log &'); This PHP Script is called via ajax, the script runs, logfile is ...
0 votes
0 answers
192 views
Installing python 3.12 and pip on Ubuntu 22
Im on Ubnutu 22 and trying to run some python code I developed on my mac which runs python 3.12, Ubuntu 22 comes with python 3.10.x but I cant use that version. Im also using the idle IDE and pip as ...
0 votes
1 answer
699 views
How to upgrade numpy? | ImportError: Matplotlib requires numpy>=1.23; you have 1.21.5
I need to run matplotlib. However, it requires an up-to-date version of numpy. How can I manually update my numpy installation? $ pip install numpy --upgrade Defaulting to user installation because ...
0 votes
0 answers
117 views
Does homebrew and Xcode python share the same environment?
I am trying to flesh-out a mental model of Python environments for my MacBook (MacOS Ventura 12.x). I am aware of venv (virtual environments) and that it serves to prevent updates from changing the ...
-1 votes
1 answer
108 views
How do I install python on cpanel on linux
I am trying to deploy a linux executable from Delphi. The host has cpanel I have installed PAServer However I get this error about symlink target directory does not exist Unable to start LLDB kernel: ...
0 votes
0 answers
142 views
Python ModuleNotFoundError for installed module
Getting ModuleNotFoundError for recently installed module. There are a lot of similar topics in google, however tips from there (use python3 -m pip instead of pip or use virtual env python3 -m venv) ...
0 votes
2 answers
6k views
Errno 13 Permission denied when pip upgrade or pip install
I have set up my virtual ennvironment and i'm trying to install the package but i keep on running into this error : ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/...
0 votes
1 answer
71 views
Cant't create a Venv on Debian - No error message [closed]
I had my files transferred on another OS (from RetroPi to Debian) and I wanted to relaunch my Venv. I started by deleting the .venv folder I had (which was not that easy as some files were protected ...
2 votes
1 answer
1k views
PATH on Mac not working for Python
I am trying to run a Python program from my command line on my Mac. (in this case: python3 Hello.py). For the life of me, I can’t get it to consider the PATH where the program is located. This is the ...