Questions tagged [python3]
The python3 tag has no summary.
406 questions
-3votes
1answer
38views
Issues in some appsec/vulnerability scanners
I have these issues here, but first thing i would like to get some help with my programming syntax and to fix all my errors, can someone else here help me out by solving my issues? i am stuck into it ...
0votes
0answers
23views
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 ...
0votes
0answers
96views
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 ...
0votes
1answer
187views
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 ...
0votes
0answers
38views
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 ...
-1votes
1answer
35views
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: ...
0votes
0answers
44views
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) ...
0votes
2answers
1kviews
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: '/...
0votes
1answer
25views
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 ...
2votes
1answer
615views
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 ...
0votes
2answers
119views
/usr/lib/python3.12 was accidentally deleted, is there way to recover?
In order to recover I tried apt autoremove, tried to reinstall python3, libpython3-stdlib, libpython3-minimal with apt and dpkg, tried to remove python files from /var/lib/dpkg/info. Neither of that ...
0votes
1answer
65views
meld won't run on Cygwin: AttributeError: module 'gi' has no attribute 'require_version
I'm trying to run meld on Cygwin, after having installed it, and circumvented the "no module named 'meld'" issue by forcing it to use Python 3.6. Now, I get: $ meld Traceback (most recent ...
0votes
1answer
100views
Open second terminal window in virtual environment
In Debian bookworm I opened a terminal window and then created and activated a virtual python environment with python3 -m venv [path] and activate. This all worked fine. Now I want to open a second ...
0votes
1answer
44views
Where to store shareable application data for home user?
I'm working on a project that uses ags (with gtk-layer-shell) to provide a top bar similar to waybar. I'm also building a gui app with pyGtk that'll be used to change that bar's appearance and ...
1vote
0answers
597views
Device or resource busy on AWS Lambda
Fresh deployed Python FastAPI application to AWS Lambda. Python application uses ldap3 module to authorize user signing in against Windows Active directory (hosted on AWS Directory Services). However ...