Skip to content

Tag: spyder

Restarting kernel, ipython console in spyder

I am having this problem in spyder where, after I run my code and exit the gui.program, the kernel needs to manually be restarted after every time my code is ran, I sometimes even have to shut down spyder as kernel crashes. I am wondering if there is a way for the kernel to automatically be reset after closing the

Pickle data not loading

Here I the data I try to save as a “pickle file” import pandas as pd import pickle as pkl df_1 = pd.DataFrame({‘TIME’: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], ‘speed’: [2, 3, 7, 6, 13, 24, 31, 64, …

pipx-installed Spyder doesn’t recognize Poetry-installed pandas only when trying to view DataFrame in Variable Explorer

I’m using Python 3.8.5. My OS is Kubuntu 18.04. I installed Spyder and Poetry via pipx: Within my project folder, I installed pandas and spyder-kernels as dependencies: I can open Spyder just fine: In Spyder -> Preferences -> Python interpreter, I added the path to the Python interpreter for the project’s Poetry environment. I can import pandas in Spyder, like

Missing dependancies of rtree

I am currently using Spyder for Python, and I have this error message when I open the program: Error: You have missing dependencies! rtree>= 0.8.3: None (NOK) Please install them to avoid this message. Note: Spyder could work without some of these dependencies, however to have a smooth experience, we strongly recommend. I tried pip install rtree and got: Please

How to parse arguments in python (spyder)?

I am following this tutorial and trying to run the below part of the script. I am using python 3.7 and spyder 3.3.4. I have tried going to Run > Configuration per file and entering the arguments as advised by this post and and this post. command line options: path1, path2, path3, path4 I filled out the appropriate paths for