[PYTHON] Apply conda's env to a specific directory with pyenv-vertualenv

There are times when you want to open a Jupyter notebook or open a conda in a specific directory. If you are based on conda installed with pyenv, you can conveniently support conda env with pyenv-vertualenv!

When there is such a setting

$ conda env list                                                                                                          ✭ ◼
# conda environments:
#
analysis              *  /Users/chezou/.pyenv/versions/anaconda3-2.1.0/envs/analysis
root                     /Users/chezou/.pyenv/versions/anaconda3-2.1.0

If you set it with this, you can go

$ pyenv local anaconda3-2.1.0/envs/env-name

Convenient

Recommended Posts

Apply conda's env to a specific directory with pyenv-vertualenv
Create a directory with python
How to extract other than a specific index with Numpy
Automatically enable virtualenv when cd to a directory with zsh
Enumerate files with a specific extension
Generate all files with a specific extension
Join CentOS 8.3 with SSSD to Active Directory
How to add a package with PyCharm
Get replies to specific tweets with tweepy
A command to specify a file with a specific name in a directory with find and mv, cp, or gzip it (linux)
How to apply updlock, rowlock, etc. with a combination of SQLAlchemy and SQLServer
How to get a list of files in the same directory with python
How to read a CSV file with Python 2/3
Send a message to LINE with Python (LINE Notify)
How to send a message to LINE with curl
A memorandum to make WebDAV only with nginx
How to draw a 2-axis graph with pyplot
Try to draw a life curve with python
How to make a dictionary with a hierarchical structure.
I want to make a game with Python
Try to make a "cryptanalysis" cipher with Python
Clone with a specific branch / tag in GitPython
Pretend to be a server with two PCs
I want to use Temporary Directory with Python2
Steps to create a Twitter bot with python
Save the object to a file with pickle
Sort dict in dict (dictionary in dictionary) with a specific key
Try to make a dihedral group with Python
How to create a multi-platform app with kivy
AWS Step Functions to learn with a sample
How to count numbers in a specific range
[Dedicated to Telewa! ] PC operation with a webcam
I want to write to a file with Python
How to read a file in a different directory
A layman wants to get started with Python
[Python] I want to add a static directory with Flask [I want to use something other than static]
I want to tell people who want to import from a higher directory with Python direnv
PhytoMine-How to efficiently acquire gene sequence data of a specific plant species with Python