For the time being, if pyenv is not installed, it will not be talked about, so I will git clone it.
sudo git clone git://github.com/yyuu/pyenv.git ./pyenv
Great guidance was given to create directories that might be needed to run pyenv.
sudo mkdir -p ./pyenv/versions ./pyenv/shims
I'm not sure how to set the path no matter how far I go
For the time being, I added this and it worked!
** This was added to .bash_profile **
if [ -f ~/.bashrc ]; then ~/.bashrc fi
For the time being, all you have to do is clear the path settings and use the pyenv command! Easy! I thought Is there an error (´ ・ ω ・ `)?
I wrote that I do not have the authority to create a directory to read the error, so I forcibly changed the ownership of the directory where pyenv is written with root authority to the working user.
Then reboot
pyenv install 3.4.3
When I executed it, I was able to install it! !! !! (* ´∀ ` *)! !! !!
The rest is just applied to the whole
pyenv global 3.4.3
You can use Python3 with!
I haven't made anything decent except NodeJS other than Ruby, so I'll have fun learning the basics of Python grammar.
Recommended Posts