cloudmesh-book / book-latex-2018

Handbook of Cloud and Big Data: Theory and Practice
https://tinyurl.com/vonLaszewski-handbook
4 stars 27 forks source link

Changed 3.6.2 to 3.6.4 for consistency #92

Closed bsobolik closed 6 years ago

bsobolik commented 6 years ago

Python version was changed to 3.6.4 in some parts but not everywhere.

bsobolik commented 6 years ago

I'm running pyenv 1.2.1 on my mac. pyenv install -l | grep 3.6 shows 3.6.0 through 3.6.4 plus a dev version. I'm using 3.6.4 via pyenv.

laszewsk commented 6 years ago

great to know, liiks like i need to update

laszewsk commented 6 years ago

I have checked this again and pyenv on osx supports only to 3.6.2 Is ther anything i need to do to get 3.6.4 on pyenv?

bsobolik commented 6 years ago

I didn't do anything special. Just installed pyenv and 3.6.4 was one of the available versions. I'm using homebrew.

I tried looking into exactly what is going on with pyenv. "pyenv install -l" runs a script called "python-build" (by way of another script called "pyenv-install". There are lots of symlinks and it is pretty convoluted.) That gets a list of available versions. Maybe you have an environment variable set up somewhere that is creating that list from an older git repo or something?

What happens when you run "pyenv install 3.6.4"?

laszewsk commented 6 years ago

you are also running osx right? I did pyenv install -l and 3.6.4 was not listed

laszewsk commented 6 years ago

ok i figured it out. pyenv caches the list and actually does not go to pyenv .... I think its a bug, but maybe there is some option to update. However I can do this with

cd ~/.pyenv/plugins/python-build/../.. && git pull && cd - pyenv install -l

now 3.6.4 appears

laszewsk commented 6 years ago

this is now resolved.