Skip to main content

Questions tagged [python]

Python is an interpreted, general, high-level programming language. Programming questions are off topic. Questions about the use of Python should be asked at Stack Overflow (https://www.stackoverflow.com) instead.

0 votes
1 answer
275 views

Arbitrary font type with ffmpeg

I set up a script that generates a simple video with one mp3 audio and one text on screen. I would like to add the option to specify a font type and use that for formatting of the text on the video. ...
lazarea's user avatar
  • 101
0 votes
0 answers
43 views

How to setup Not Exactly C or nxt-python on Arch Linux for lego mindstorms in 2023?

I have an old NXT Lego-Mindstorms Robot. I did some major digging, but I havn't been able to connect to the Robot via USB with my arch linux system. When I type nxt-test, I get the following error ...
Eldinur the Kolibri's user avatar
0 votes
1 answer
208 views

Python Can Run with Typing "python.exe" Rather Typing "python"

I have added python to env on PATH correctly C:\Users\username\AppData\Local\Programs\Python\Python38\ But now I need to type python.exe to start it rather than typing python like before And it will ...
Michael's user avatar
0 votes
1 answer
2k views

conda create --name doc-env python==3.10 but the version installed remains 3.18

I try to install python 3.7 with conda but every time I seem to get python 3.11. Then I tried to explicitly specify the channel with conda create --name doc-env python=3.10 -c conda-forge I noticed ...
Revolucion for Monica's user avatar
0 votes
0 answers
53 views

Flask application running on nginx . File read from folder ok but 500 error while file save

Hello I am running nginx server on ubuntu system . file read from web app is OK . file save or file write to local folder system is getting error with 500 internal server error . root 12145 0.0 ...
Akash Tripathi's user avatar
0 votes
0 answers
42 views

virtualenv and pip version inside

I installed fresh Ubuntu 20.04 (which I believe comes with python3.8) and then additionally installed: sudo apt install python3.9 sudo apt install python3.9-dev sudo apt install python3-pip I want to ...
Piotr's user avatar
  • 101
0 votes
1 answer
214 views

Is there any way to reset the rotation flag of videos while using concat to combine them?

as title. I'm working on an un-chaptering script through the ffmpeg python library, and I've set up a very basic script for concat'ing several files. this is currently what I have: if (os.path.isfile(...
Daneolog's user avatar
  • 481
0 votes
0 answers
243 views

Ubuntu VM with Cups Server and docker container with pycups: cups.IPPError: (1030, 'The printer or class does not exist.')

I have an Ubuntu VM with the cups server installed, configured and running. I can print to every printer from the web interface with no problems. Inside this VM there is a docker container with a ...
PoKeRGT's user avatar
0 votes
1 answer
965 views

(venv) prefix on bash terminal prompt in all directories

I was initially very happy to see my terminal prompt prefixed with (venv) because I was inside the folder where I am learning python, and in that folder, I created a ./venv folder to hold my virtual ...
yen's user avatar
  • 133
1 vote
0 answers
103 views

Using aspell to check many files in a cancellable way

I'm on macOS and using zsh. I have about a hundred Markdown files which I would like to spell check from the command line. It seems like aspell is the right way to do this, however I want to be able ...
Nick K9's user avatar
  • 141
1 vote
0 answers
125 views

How to use Firefox Containers with Python (instead of Firefox Profiles)

I have a python script for an automation tool using selenium that requires using multiple accounts (tens & hundreds) using Firefox. Thing is, I can't login-logout the accounts, so to use multiple ...
ador007's user avatar
  • 23
1 vote
1 answer
7k views

Stable Diffusion Model Fails to Load. What's causing the error?

Seems like a memory related issue but I thought my system should be able to run Stable Diffusion. Iam using Ideapad Gaming 3i with Nvidia GeForce GTX 1650 (4GB VRAM) + 8GB physical memory I have no ...
Prasad Shrivatsa's user avatar
1 vote
0 answers
249 views

Installing Python package PATH error

I used this prompt in Windows Powershell py -m pip install pandas. I got back this message saying it was installed but not the proper PATH. Does anyone know what this means and is this going to be a ...
Ethan Tracano's user avatar
0 votes
0 answers
24 views

Jupyter lab on ubuntu does not start browser

I'm using an Ubuntu VM in parallels (running on OSX M1 Processor). Jupyter lab works fine on my base conda environment. When I launch it from an environment I created, nothing happens.
zzzbbx's user avatar
  • 123
0 votes
1 answer
239 views

Does 'force_style' work with 'subtitles=video.mkv' for FFMPEG?

I am using this script to encode an burn in subtiles for an entire folder: for filepath in newFiles: video = os.path.basename(filepath) videoName = os.path.splitext(video)[0] newFile = '%s....
http.bird's user avatar

15 30 50 per page
1
4 5
6
7 8
212