All Questions
33 questions
0
votes
1
answer
284
views
Cython Compiler Error When Running GymEnv Library in Python
The error happens on the last line of this code section:
import warnings
warnings.filterwarnings("ignore")
from torch import multiprocessing
from collections import defaultdict
import ...
0
votes
1
answer
108
views
How to print a text with an emoji together using Python in replit.com and I don't know why I am getting this error
This is what I am trying to do
[This is my try on it. I don't know why there is an error. I don't know how to print a text with an emoji.]
(https://i.sstatic.net/5Blv4.png)
print("""
...
0
votes
1
answer
116
views
I get an error when i try to import libraries
import time
import keyboard
import pyautogui
When i try to import keyboard and pyautogui i get these errors :
Import "keyboard" could not be resolved from source reportMissingModuleSource
...
0
votes
1
answer
46
views
I think I have problem in dimension in plt.plot
enter image description here
My plt.plot looks like this.
I want to plot liner line in the plt like this.
enter image description here
My code is like
import numpy as np
import pandas as pd
import ...
-1
votes
1
answer
10k
views
TypeError: Client.__init__() missing 1 required keyword-only argument: 'intents' [duplicate]
Can somebody assist me here with the error I'm getting?
The code:
import discord
import os
from dotenv import load_dotenv
from neuralintents import GenericAssistant
chatbot = GenericAssistant('intents....
1
vote
0
answers
32
views
Error tracking when opening multiple files with exec(open(files,'rb').read())
I'm using the following code to run multiple .py files at once.
The files are all very specific and prone to change very often. So it's easier for me to individualise them so I can change them ...
-1
votes
2
answers
68
views
Why is there an "index out of range" here?
I'm currently working on a homework assignment, and the topic is to derive a Fibonacci sequence from a Pascal triangle. It sounds simple, but I came upon a lot of trouble when trying to use my method.
...
0
votes
1
answer
202
views
Error from _plotly_utils.importers import relative_import Vscode, what is wrong?
I have the following libraries installed in Vscode, I checked them using pip show "library" and see requirement fulfilled for all of them, but I still get the error:
import plotly
import ...
0
votes
0
answers
2k
views
What is wrong with this inkscape extension?
I am not a programmer. I used to use an inkscape extension that was designed to change the path in inkscape to Gcode. Recently this extension stopped working giving the following error massage. The ...
1
vote
2
answers
302
views
Error in generating a set of decimal point numbers with a particular common difference in python
I am trying to get series of numbers starting from zero by increasing it by 0.001 by coding it in python. It is giving results correctly till 0.008. In the next iteration, the value must be exactly 0....
0
votes
1
answer
127
views
Kivy error - Unable to find any valuable Window provider
This is my code
'''
import kivy
from kivy.app import App
from kivy.uix.label import Label
from kivy.uix.button import Button
class Audibuddy(App):
def build(self):
return Label(text = &...
0
votes
0
answers
506
views
Error: '>' not supported between instances of 'NoneType' and 'int'
I'm trying to run this code, however I got TypeError: '>' not supported between instances of 'NoneType' and 'int'. What can I do to remove this error? I'm still a beginner at using python. Hope ...
0
votes
1
answer
43
views
Re-running a python code with a while loop
How could I write a piece of code that recognizes if the any type of error has occurred and if it does the code just runs on a loop. What would be a function that I would place in <some error ...
-2
votes
2
answers
242
views
Why does it give the " 'int' object is not callable" with my custom class [duplicate]
I am making this very simple genetic algorithm in python. I made a custom class which is going to be the "creatures" evolving. I made instances of the class, and when I tried to call a ...
0
votes
0
answers
784
views
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xfc in position 38: invalid start byte
I get the error
print("blablablablabla ", str(mode), " am string ende in blablabla für das symbol ", str(sym)," existiert nicht.")
...