Questions tagged [spyder]

Spyder (previously known as Pydee) is a powerful interactive development environment for the Python language with advanced editing, interactive testing, debugging and introspection features.

The name "Spyder" is for Scientific PYthon Development EnviRonment.

References

5119 questions
1
vote
0 answers

cannot install packages in spyder

I need to use statsmodels, but i already tried to install it by spyder, with !pip3 install statsmodels and i get this: Python path configuration: PYTHONHOME = '/Applications/Spyder.app/Contents/Resources' PYTHONPATH =…
Crysto
  • 21
  • 1
1
vote
1 answer

Spyder not working with Anaconda "An error ocurred while starting the kernel"

I'm trying to use a fresh installation of Anaconda with python 3.8.8 on Windows10 and (as the title says) I cannot get Spyder to start a kernel. Actually, when I initially installed anaconda and opened Spyder it could start. Then, I added an…
Aaron Bramson
  • 1,176
  • 3
  • 20
  • 34
1
vote
0 answers

How do I resolve a none type error within a package (ecco_v4_py)

I recently had to recreate an environment after updating to Mac OS Big Sur and running into a common issue with Spyder not opening. A key component of that environment is the ecco_v4_py package necessary for processing ECCO state estimate data. I…
Andrew
  • 41
  • 3
1
vote
1 answer

no module pip found Spyder

I'm desperate, I have installed Spyder on Windows 10, but pip won't work. Anytime I run pip install package I get no module pip found. If I try with conda then I get: The python kernel does not appear to be a conda environment. Please use %pip…
Davide Trono
  • 99
  • 1
  • 1
  • 8
1
vote
1 answer

Argparse syntax for video processing

I am writing a python script to process a video using OpenCV package. I am quite new to python, so I am facing the following issue. In the end of the code I want to add the code below. However, I do not know how to add the input and the output file…
Alice
  • 11
  • 3
1
vote
2 answers

Executing the same batch file (.bat) using python

I developed the following loop for running the model with different rainfall ensemble using a loop. The script is working properly except for the execution process of my .bat file. import os import glob import subprocess ws = (r'C:\Users\Wahid…
1
vote
0 answers

OSError: [WinError 193] when trying to import sklearn in spyder

I was previously using pyscripter for machine learning purposes and I recently switched to spyder. Unfortunately when I try to import the sklearn module, I'm getting this error traceback : File "F:\2. Private\Personnal…
1
vote
0 answers

Standalone Spyder installation pip environment no pip module

After the latency issues in Anaconda I installed the standalone version of Spyder. Trying to conda install the mysql package I get this error: ValueError: The python kernel does not appear to be a conda environment. Please use ``%pip install``…
Maja M
  • 11
  • 3
1
vote
0 answers

Spyder does not allow me to use PyQt-5.15, is there a way I can use PyQt-5.15 functions?

I'm writing a GUI with PyQt5; it's supposed to be a main window with multiple tabs. In a part of my code that hides/shows a given tab, I encounter the following error: AttributeError: 'QTabWidget' object has no attribute 'setTabVisible' According…
1
vote
2 answers

Importing modules from other folders: how to display function arguments in Spyder or PyCharm?

There are loads of answers on how to import modules from other folders. The answer always seems to be along the lines of: import sys sys.path.insert(0,"c://UserName//MyFolder//MyBeautifulCode") import myscript as ms after which you can run…
Pythonista anonymous
  • 8,140
  • 20
  • 70
  • 112
1
vote
1 answer

Searching numbers in file separated by many blank spaces

I need to build a python code to store the python numbers that are in a file. The lines where those numbers are starts with a word "Mark" and then I have blank spaces and three columns of numbers, like this: Mark 1 2 3 Mark 4 4 …
Paul Roberts
  • 119
  • 6
1
vote
0 answers

Compound Interest Calculator - Variable Frequency of Deposits, Deposit Amounts and Daily Variable Interest Rate

I am trying to build a calculator that computes compound interest but with a few quirks. Specifically: a) I want the deposited amount to vary within a normal distribution for every month until the end of the investment b) I want the rate of interest…
1
vote
0 answers

How do I get code from Github into Spyder without using copy & paste

Is there a way to copy code from github to spyder without using copy & paste?
Beginner Kruman
  • 23
  • 1
  • 1
  • 5
1
vote
1 answer

Missing Spyder dependecies qtconsole

After the latest Spyder update using conda update conda I have started getting an error message in a small window that pops up and says You have missing dependencies! # Mandatory: qtconsole >=5.0.1 : 4.7.7 (NOK) Please install them to avoid this…
1
vote
1 answer

Launching Spyder Produces Errors

From the last few days, my Spyder is not starting, I haven't updated anything in the conda base environment but I can't figure out the problem. Hope to find a solution. I am pasting the text of error I received: Traceback (most recent call…