Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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](http://www.stackoverflow.com).

0
votes
0answers
12 views

PyQt5 QMediaPlayer defaultServiceProvider::requestService(): no service found for - “org.qt-project.qt.mediaplayer”

I am using Fedora 28. I'm trying to run this code from PyQt5.QtCore import QCoreApplication, QUrl from PyQt5.QtMultimedia import QMediaContent, QMediaPlayer from PyQt5.QtWidgets import QApplication ...
0
votes
0answers
57 views

How to solve ImportError: No module named certifi

I am using Debian Testing, and I am trying to install couple modules one them is the discog client. However I keep hitting this certifi thing which I have no iodea about. According to my python ...
2
votes
0answers
10 views

How do I write a .pth file?

I want to change the directories in which Python looks for my packages and modules, and changing PYTHONPATH in Windows 10 Environment Variables does not work. So the only solution left (apparently) is ...
0
votes
0answers
14 views

Pip/Python six.add_metaclass error

I have had this issue for about a week now in which I cannot use the pip command in any way without getting the same error string. I have been unable to tie it to anything I have found online and have ...
0
votes
0answers
10 views

How can I install lxml into inkscape in windows?

I have inkscape v0.92.2 in Windows 10. and I want to use the Measure Path function. When I do it, I see this error: If I go to the suggested path, http://cheeseshop.python.org/pypi/lxml/, and I ...
2
votes
1answer
45 views

Can't connect to FTP site because server actively refused it but WinSCP works

I have a RedHat 7 server that a friend of mine setup, and he is no longer working here with us, so I have taken over. I can connect to the server and transfer files via WinSCP but I cannot connect to ...
0
votes
0answers
16 views

FFmpeg doesn't work on spyder but works on command prompt

I am trying to add a watermark on a video using ffmpeg in python. The command works perfectly on command prompt but doesn't work on spyder and I get a 'invalid syntax' error. How do I resolve this? ...
1
vote
1answer
18 views

Start process in realtime priority

This is a follow-up on this question I need to start a process with the realtime priority. start "my_script.py" /realtime "Z:\location\of\python\script" doesn't result in realtime priority. It sets ...
2
votes
0answers
21 views

Is there a way to programatically read the contents of a subtitle text stream embedded in an mkv file without extracting the track altogether?

Extracting a subtitle track from an mkv would take a bit of a long time, well over a few minutes in the case of huge video filesizes (>10GB), and i think analyzing the text contents of a subtitle ...
1
vote
0answers
16 views

3D plot with matplotlib from imported data

I am looking to plot a 3D surface. The data is generated in mathematica and exported in a file with three columns separated by spaces (I can switch it to comma or other delimiter). The problem I have ...
0
votes
0answers
34 views

How do you delete multiple messages using discord.py?

I have looked around for an answer, but I cannot seem to find one. Using Python, I am trying to create a delete command for a discord moderation bot, which I guess starts like this.. @bot.command(...
0
votes
1answer
30 views

Install customplot on python 3.5

Faced the below error when I import customplot on pycharm (python 3.5) Tried import sipdistutils as well on command prompt but no distribution is found. Collecting qcustomplot Using cached https://...
0
votes
3answers
44 views

Unable to plot using igraph, with cairo and py3cairo

So I removed Xcode some time back, finding it more complicated than the intuitive GUI of PyCharm and Eclipse. In my effort to use igraph library for Python 3 however, it requires cairo for plots. ...
2
votes
0answers
43 views

Can't save from some programs to non-Ubuntu drive

I have a MacBook Pro dual booting Ubuntu 16.04 and Mac. When running some programs in Ubuntu, I can only save files to my Ubuntu partition. This includes IDLE3. I want to save files to a different ...
1
vote
0answers
48 views

Issue with vim setup python ide

Found ale lint on git about vim but the display after clone from git is still shown as classic instead of the one shown on: The syntax suggestion is not on as well Do I need to run ale toggle to turn ...

15 30 50 per page