spyder

Cannot run Spyder because No module named 'PySide'

情到浓时终转凉″ 提交于 2019-12-04 05:51:52
问题 I wanted to try using Spyder IDE. I was reading this page on how to open and run Spyder: https://github.com/spyder-ide/spyder/releases I typed the following commands as specified in the page: conda update qt pyqt conda update spyder Both commands gave "# All requested packages already installed.". I then typed spyder into my terminal (Mac): Macs-MacBook:~ macuser$ spyder Traceback (most recent call last): File "/anaconda3/lib/python3.6/site-packages/qtpy/__init__.py", line 166, in <module>

Spyder Module Import

大城市里の小女人 提交于 2019-12-04 02:35:21
问题 I am trying to import cv2 module in Spyder.app but somehow it does not import. By the way I am able to import it in a terminal. Can anyone of you guys please help me? 回答1: This is what you need to do: Open a terminal and run python or ipython . In there execute these two commands: import sys sys.executable Copy the output of the last command Open Spyder and go to Spyder > Preferences > Console > Advanced settings > Python Executable Select the option Use the following Python interpreter and

How to update Spyder?

给你一囗甜甜゛ 提交于 2019-12-03 20:58:26
Everytime I start Spyder (with Anaconda) I get a massage saying that my version is outdated and I should update it, so I followed the instructions Spyder's own website gave me, which is running the following commands: conda update qt pyqt conda update spyder But Spyder tells me that syntax is invalid. What should I do? ( Spyder maintainer here ) Those commands are not meant to be run inside Spyder consoles, but in a system terminal ( cmd.exe on Windows, xterm on Linux or Terminal.app on macOS). And please don't forget to close Spyder before doing that. I updated the text in our Releases page

Spyder - UMD has deleted: module

廉价感情. 提交于 2019-12-03 16:11:04
问题 I have been fooling around for about a month with python now and something is bothering me. I use the python(x,y) toolkit, which comes with the neat Spyder IDE. My question concerns the UMD (User module deleter) of Spyder. I found this graphics module on the internet, which helps one to do some simple graphic stuff in a python script (as far as I understand). It is not like i'm stuck, but when I execute the folowing code: import pylab as p import graphics as g window = g.GraphWin("tryout",

Spyder default module import list

点点圈 提交于 2019-12-03 13:56:50
问题 I'm trying to set up a slightly customised version of Spyder. When Spyder starts, it automatically imports a long list of modules, including things from matplotlib, numpy, scipy etc. Is there a way to add my own modules to that list? In case it makes a difference, I'm using the Spyder configuration provided by the Python(X,Y) Windows installer. 回答1: First you have to create a Python file with the modules you want to import at startup. Suppose you call it my_imports.py and that it has this

how to get spyder's python recognize external packages on MacOS X?

淺唱寂寞╮ 提交于 2019-12-03 13:42:33
I have spyderlib installed on my MacOS X (10.6.8) using the official dmg file. In parallel, I have installed packages using both pip and homebrew from the terminal (i.e. opencv, gdal...). As Spyder is using its own python version, I cannot access my external packages within Spyder. When Homebrew install a package, it instals it in the /usr/local/lib... directory, which is not avalaible to add using the Python Path manager of Spyder.The entire directory /usr/... is hidden. The only relevant similar case I found online was the following: Adding a module (Specifically pymorph) to Spyder (Python

Open spyder in ubuntu

左心房为你撑大大i 提交于 2019-12-03 13:33:29
I want to open spyder(Python IDE) in ubuntu. Normally I would write "spyder" in the shell, and it would open the spyder IDE. Now when I write spyder in the shell, it just new lines, and nothing happens(similar to pressing 'enter'). --- How do I get my spyder back? EDIT - I get no errors, it just skips to the next line. If typing "spyder" doesn't work, you might want to try typing "spyder3" in case you installed the spyder3 version. Below is what worked for me in my Ubuntu system. To install spyder via pip (my python version is 3.6.2), I used: pip install spyder Then, I had to install another

No module named pandas_datareader

此生再无相见时 提交于 2019-12-03 13:25:24
I have just installed pandas_datareader using pip install pandas-datareader which ran successfully. Now I am trying to use it for a tutorial and I am getting this error when I try to import. import pandas_datareader as pdr ModuleNotFoundError: No module named 'pandas_datareader' This is the link to the tutorial. https://www.datacamp.com/community/tutorials/finance-python-trading#gs.DgsO1BY Any ideas? Type into Terminal: pip install pandas_datareader That's it M_M In your Anaconda Prompt, do this : pip install pandas_datareader All the other methods didn't work for me. In command prompt: conda

How to use tensorflow on spyder?

倾然丶 夕夏残阳落幕 提交于 2019-12-03 10:01:45
问题 I am a new users for Python and want to use tensorflow. I think I successfully installed tensorflow on my mac OSX via Anaconda. But I still can't figure out how to use tensorflow on Spyder. Could someone help me? Many thanks! 回答1: System default python maybe used on command line, first verify that you are using the python from anaconda distro. Set up the environment variables first. If you are not building tensorflow with GPU support. you can install tensorflow through conda in one command. $

Spyder Python Animation not working

匿名 (未验证) 提交于 2019-12-03 09:52:54
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm working on a python project using spyder from anaconda and I am trying to get the animation function working. I found a basic animation example here: http://matplotlib.org/1.4.1/examples/animation/basic_example.html and tried to make it work. However when I run it, nothing happens both in the Python and iPython console. I found this answer: Animation from matplotlib not working in spyder However, changing the preferences does not do anything and typing in %matplotlib qt returns: No module named qt4. Spyder Version: 3.1.0 Running on MacOS