Link to home
Start Free TrialLog in
Avatar of Tom Jayes
Tom Jayes

asked on

How to use pyenv

I had this question after viewing Downgrading from Python 3.4.5 to 3.4.3.

Thanks for your response. If I install pyenv, are there any basic commands I need to know to make it work? The irony is that I'm trying to download and use a "learning to code" programme for a university course, so I don't have any experience with using the commands in python at all. I just need to know how to select Python 3.4.3 for one directory on my hard drive so that I can work through the python notebooks in that environment.
Thanks again.
ASKER CERTIFIED SOLUTION
Avatar of gelonida
gelonida
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tom Jayes
Tom Jayes

ASKER

Very detailed and thorough explanation of how to use pyenv. I will have to choose a moment when I have lots of time and get to grips with it properly.

P.S. I'm using a new mac. I don't know what Bash is though! I think I might be using it, as I've seen something about a bash profile before!
if you have a open console window. just type
echo $SHELL

Open in new window


The output should show you whether you'te using bash or another shell.
Thanks. the output was /bin/bash, so I guess that's what I'm using. I managed to load the python notebooks I needed by selecting all of the code within them, creating a new txt file, inserting it in there and saving it, then renaming the file .ipynb and opening. I guess it's not the orthodox way, but it seems to have worked.
Thanks for your help!