-
-
Notifications
You must be signed in to change notification settings - Fork 783
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
Lesson Contribution: how to install numpy #832
Comments
Thank you, Talisha and the contributor! I think this is a nice issue to discuss as part of the instructor checkout procedure so I'll add corresponding labels. I'd like our community members to weigh in on the pros and cons of implementing proposed changes (adding instructions on how to install Python packages). Maxim |
I think it would be worth putting in a callout after the first |
In my opinion, in other chapters, too, if we are introducing a new library/package, it is good to share how to install them using pip/pip3 or conda. |
Thanks, @xintin, for joining the discussion. The points that you raised were, in fact, ... my concerns:
Why do these concern me?
As a possible solution, we can add pip and conda instructions to our Setup page and add a callout box saying that if Python shows a long error message that says something about |
I hope weighing in on this discussion is still useful, as it has been a while since the last contribution to the discussion. But here are my two cents: I mostly agree with the points that @maxim-belkin raises. I broadly see three options on how to implement this suggestion:
I think we can discard option 1 on the account that it is not the core goal of this lesson to teach this, and dedidicating an entire episode to it then is a bit overkill.
|
I'd like to offer a solution to Option C offered by @RoelBrouwer. These are the instructions that I give participants when I teach this lesson, modified to generalize from astronomy (here is my fork: https://ivastar.github.io/python-novice-astro/setup/): Install Python:You will need terminal access for this process. Contact the workshop instructor if you have no experience working in a terminal. Test if you already have Anaconda or Miniconda installed. In your terminal type the following commands:
{: .source} If this returns nothing, please proceed to the next step. If it produces a path such as /Users/yourname/anaconda/bin/conda (yours may be different), skip the next step and go straight to step 2.
{: .source} Replace
{.source}
|
I'm a member of The Carpentries staff and I'm submitting this issue on behalf of another member of the community. In most cases I won't be able to follow up or provide more details other that what I'm providing below.
As part of the checkout process, I am reading through the python class , in session 2 before introducing numpy module, I will suggest add some instruction to user that how to install numpy if they don't have it on their system . During the whole class , I don't see anywhere to teach user how to install additional modules they might need in coding. so this is a good example to show them.
pip install numpy
The text was updated successfully, but these errors were encountered: