[PYTHON] Try using Spyder included in Anaconda

Inspired by this article, I decided to install Spyder in my environment as well. I was wondering if it would be dropped from the official, but I found out that Spyder was installed as a module in Anaconda. (Reference: https://pythonhosted.org/spyder/installation.html)

Anaconda has already been installed, so I tried using it immediately.

$ spyder

moved. It's nice that Spyder started up, but if you leave it as it is, you will not be able to use the terminal while Spyder is running. So I decided to move it in the background.

$ spyder &

did it. By the way, I thought it would be convenient to set this to alias, so I set it to alias.

$ alias spy="spyder &"

no problem. From now on, let's actively use Spyder for Python development.


* Supplement

If you are using pyenv, you can only start spyder in a location where Anaconda is enabled. So, although it will be a little longer, I reconfigured alias so that ** starts Spyder directly using python in Anaconda under pyenv **.

$ alias spy="~/.pyenv/versions/anaconda3-2.3.0/bin/python3.4 ~/.pyenv/versions/anaconda3-2.3.0/lib/python3.4/site-packages/spyderlib/start_app.py &"

Now, wherever you hit the command, Spyder will launch in the same way. If you want to start each version managed by pyenv, just modify the alias name and versions and below to the one you want.

Recommended Posts

Try using Spyder included in Anaconda
Try using folium with anaconda
How to update Spyder in Anaconda
Try using LevelDB in Python (plyvel)
Try using Leap Motion in Python
Try using the Wunderlist API in Python
Try using the Kraken API in Python
Try using the HL band in order
Try using Tkinter
Python 3.3 in Anaconda
Try using docker-py
Try using cookiecutter
Try using PDFMiner
Try using geopandas
Try using Selenium
Try using scipy
Try using pandas.DataFrame
Try using django-swiftbrowser
Try using matplotlib
Try using tf.metrics
Try using PyODE
Try to separate Controllers using Blueprint in Flask
Try using the BitFlyer Ligntning API in Python
Try drawing contour plots using matplotlib in OpenFOAM
Try using an object-oriented class in R (R6 method)
Try using ChatWork API and Qiita API in Python
Try using the DropBox Core API in Python
[Unity (C #), Python] Try running Python code in Unity using IronPython
Try using virtualenv (virtualenvwrapper)
[Azure] Try using Azure Functions
Try using virtualenv now
R in Anaconda (in Ubuntu 14.04)
Try gRPC in Python
Try to delete tweets in bulk using Twitter API
Try using W & B
Try face detection in real time using a webcam
Try using Django templates.html
[Kaggle] Try using LGBM
Try using Python's feedparser.
Try using Python's Tkinter
Command line collection for using virtual environment in Anaconda
Try 9 slices in Python
Try using Tweepy [Python2.7]
Try using Pytorch's collate_fn
Generate technical indicators for system trading in Anaconda environment Try to create technical indicators for Bitcoin using TA-LIB
Try to make it using GUI and PyQt in Python
Try building a neural network in Python without using a library
Try running a function written in Python using Fn Project
Try using PythonTex with Texpad.
Use Anaconda in pyenv environment
[CentOS7] Install anaconda using pyenv
[Python] Try using Tkinter's canvas
Try using Jupyter's Docker image
Try using scikit-learn (1) --K-means clustering
Try function optimization using Hyperopt
Try using matplotlib with PyCharm
Try using Azure Logic Apps
Try using Kubernetes Client -Python-
Using verticalenv in shell scripts
[Kaggle] Try using xg boost
Try using the Twitter API