A memo that allows you to change Pineapple's Python environment with pyenv

IPython's latest version of Pineapple, the front-end app for Mac, Pineapple-0.8.0 (Python 3.5, Full version) (as of March 17, 2017) is now available on Pineapple Official Website I downloaded it from /), but for some reason the environment built with pyenv was not reflected, so make a note of the solution. I think there is a smarter way.

Check the path of the Python environment built with pyenv.

which python
スクリーンショット 2017-03-17 2.11.28.png

Change the link destination of the directory named Current under /Applications/Pineapple.app/Contents/Frameworks/Python.framework/Versions/ to the path of the Python environment you checked earlier.

cd /Applications/Pineapple.app/Contents/Frameworks/Python.framework/Versions/
ln -nfs /Users/***/.pyenv/shims Current

Restart Pineapple and select Kernel> Change> local Python. If you change the Python version with pyenv, the Python environment of Pineapple is also changed.

スクリーンショット 2017-03-17 2.20.18.png スクリーンショット 2017-03-17 2.20.05.png

Recommended Posts

A memo that allows you to change Pineapple's Python environment with pyenv
[Pyenv] Building a python environment with ubuntu 16.04
Build a python virtual environment with pyenv
[Python] A memo that I tried to get started with asyncio
A learning roadmap that allows you to develop and publish services from scratch with Python
[Memo] Build a virtual environment with Pyenv + anaconda
A memo when creating a python environment with miniconda
Introduction of "scikit-mobility", a library that allows you to easily analyze human flow data with Python (Part 1)
How to set up a Python environment using pyenv
[Python] A memo to write CSV vertically with Pandas
A memo that I touched the Datastore with python
[AWS] Development environment version that tried to build a Python environment with eb [Elastic Beanstalk]
How to develop in a virtual environment of Python [Memo]
Get a clean Python development environment with pyenv + pipx + Poetry
How to build a python2.7 series development environment with Vagrant
Build a python environment with pyenv (OS X El Capitan 10.11.3)
Build a Python environment with WSL + Pyenv + Jupyter + VS Code
Introducing the book "Creating a profitable AI with Python" that allows you to learn machine learning in the shortest course
Nice to meet you with python
Create a virtual environment with Python!
The shortest memo for building a python environment that takes less than 5 minutes to work.
Building a virtual environment with Python 3
Unable to install Python with pyenv
A Python script that allows you to check the status of the server from your browser
Create a Python (Django) learning environment with Docker so that you can debug with VS Code (almost your own procedure memo)
A note on what you did to use Flycheck with Python
I want to use a wildcard that I want to shell with Python remove
Try to create a python environment with Visual Studio Code & WSL
[Python] A memo to operate ROM created by GBDK with PyBoy
Created a service that allows you to search J League data
We have released an extension that allows you to define xarray data like a Python data class.
[Ubuntu 18.04] Python environment construction with pyenv + pipenv
Building a Python3 environment with Amazon Linux2
Convert memo at once with Python 2to3
Install Python as a Framework with pyenv
Use smbus with python3 under pyenv environment
Memo to ask for KPI with python
[Python] Create a virtual environment with Anaconda
A memo with Python2.7 and Python3 on CentOS
Building a Python 3.6 environment with Windows + PowerShell
I want to build a Python environment
A typed world that begins with Python
A memo packed with RADEX environment construction
Build a modern Python environment with Neovim
Add a Python virtual environment to VSCode
After buying a new Mac, use pyenv + poetry to build a Python environment.
I was addicted to creating a Python venv environment with VS Code
Steps to create a Python virtual environment with VS Code on Windows
A memo corresponding to Django's runserver moss in Python 2.7.11 entered with Homebrew
Create a Python3 environment with pyenv on Mac and display a NetworkX graph
I tried to build a Mac Python development environment with pythonz + direnv
Build a Python virtual environment that anyone can understand September 2016 (pyenv + virutalenv)
[AWS] Flask application deployment preparation edition that tried to build a Python environment with eb [Elastic Beanstalk]
A memo for making a figure that can be posted to a journal with matplotlib
How to read a CSV file with Python 2/3
Send a message to LINE with Python (LINE Notify)
How to create a Python virtual environment (venv)
A memo that I wrote a quicksort in Python
Notes from installing Homebrew to building an Anaconda environment for Python with pyenv
Build python environment with pyenv on EC2 (ubuntu)
How to write environment variables that you don't want to put on [GitHub] Python