2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

pyenvでinstallが見つからなかった

Posted at

pyenvでpythonをinstallしようとするがinstallのみが発見できない...めっちゃ悩んだ...

$ pyenv 
pyenv 1.2.3-45-g63c4b7f
Usage: pyenv <command> [<args>]

Some useful pyenv commands are:
   commands    List all available pyenv commands
   local       Set or show the local application-specific Python version
   global      Set or show the global Python version
   shell       Set or show the shell-specific Python version
   rehash      Rehash pyenv shims (run this after installing executables)
   version     Show the current Python version and its origin
   versions    List all Python versions available to pyenv
   which       Display the full path to an executable
   whence      List all Python versions that contain the given executable
$ pyenv install --list
pyenv: no such command `install'

解決法

cloneし直す。考え直してみると、あ、はいと言う感じ。

$ rm -rf ~/.pyenv
$ git clone https://github.com/pyenv/pyenv.git ~/.pyenv         
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?