Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues when Installing Python #2

Open
RJP43 opened this issue May 14, 2019 · 2 comments
Open

Issues when Installing Python #2

RJP43 opened this issue May 14, 2019 · 2 comments

Comments

@RJP43
Copy link
Member

RJP43 commented May 14, 2019

@dhsouthbend/instructors There have been a couple of complications while installing Python. I am going to leave it up to @acavender to explain the issues seen when installing on a Mac. As for on Windows @echristie111, @sarahloleet, I all had a similar error after installing Python regarding "environment activation."

As we work through these issues please comment on this issue with the problem and process to resolve. Thanks! Also, I have added a link to this issue on the python installation instructions.

@RJP43
Copy link
Member Author

RJP43 commented May 14, 2019

Windows - Environment Activation

After Windows installation when you go to type the command provided in the instructions to test the installation some of us received an error saying our environment was not activated and were directed to the following site: https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#activating-an-environment

To resolve this issue:

  1. close and reopen bash/command line (so no longer within the call to activate Python)
  2. then type this command conda info --envs from here you will see your conda environments and on the far right there is a single word name for your python environment that needs to be activated. In the following example you can see that the environment is called base.

command line screenshot showing results of conda info command

  1. then type the command conda activate followed by the word assigned as the name for your python environment. So in the above case conda activate base activated the appropriate environment.

@RJP43
Copy link
Member Author

RJP43 commented May 16, 2019

For some reason even once I have activated Python via Windows Command Prompt I cannot seem to access it via Git Bash by simply typing python. @sarahloleet was able to get Python to run by typing python -i instead. So anytime I want to run python in git bash (versus in windows command prompt) I have to use python -i.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant