workshop-template icon indicating copy to clipboard operation
workshop-template copied to clipboard

WIP: Replace anaconda installation with vanilla Python and pip

Open n2ygk opened this issue 1 year ago • 3 comments

Per discussion in this Slack #general thread this is a first crack at replacing Anaconda as the Python & Jupyter Lab installer. It instructs the student to:

  1. Download and install Python from python.org
  2. Use a virtual env
  3. Use pip to install Jupyter Lab, Pandas and Matplotlib.

Documentation is given for Windows, macOS and Linux, however the Youtube videos will need to be re-recorded as well.

n2ygk avatar Aug 09 '24 19:08 n2ygk

Deploy Preview for workshop-template-previews ready!

Name Link
Latest commit e23544c4aff725ab9355a54328613460ef140f4c
Latest deploy log https://app.netlify.com/sites/workshop-template-previews/deploys/66b66fd154389f00082050b9
Deploy Preview https://deploy-preview-837--workshop-template-previews.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Aug 09 '24 19:08 netlify[bot]

Hi. @n2ygk 's proposal looks fine to me.

I just wanted to add that I also wrote new Python setup instructions for the SWC lesson "Plotting and programming with Python" https://swcarpentry.github.io/python-novice-gapminder/. These are not superior, but maybe worth a look for comparing. We used three setups for students to choose from: browser-based (Google Colab) and local setups (vanilla Python plus JupyterLab or VSCode).

The added value of this setup, in my experience, is to offer Google Colab as fallback. I always had it that some students could not make the local setup work whatsoever, and setting up with Google Colab instead was always quick and easy.

  • Course website - Setup. https://irratzo.github.io/2025-03-27-hida-kickstart-python-online/#setup
  • Course website - Setup - Source. https://github.com/Irratzo/2025-03-27-hida-kickstart-python-online/blob/gh-pages/_includes/install_instructions/python.html
  • Course setup Part 2 (done during the course together) - https://pad.carpentries.org/2025-03-27-hida-kickstart-python-online-setup
  • Google Colab instructor notebook (not for students), with introductions to the different editor interfaces https://colab.research.google.com/drive/1rpD6tbDrOJFyeWWk2TJHR7NppLb56Y2k?usp=sharing
  • Expect the Setup Part 2 to take longer than expected It took us nearly an hours the first time with 20 students, mostly on Windows. A few people will have unsolvable issues. For those, ask them to switch to Google Colab. That worked for us.

Update. Ah, I see that by now, the miniforge solution was chosen instead as the official solution, in #839 👍 .

Irratzo avatar Mar 13 '25 10:03 Irratzo

@tobyhodges - should we close this one based on https://github.com/carpentries/workshop-template/pull/839?

ErinBecker avatar May 27 '25 18:05 ErinBecker