Skip to content

What Python installation/platform? #26

Closed

Description

@SJaffa

Last time we used a VM with Python already installed but this might not be an option in the future?

Decisions to make:

  • Do we (a) get everyone to install it on their own machines or (b) provide a platform with it preinstalled?
  • If (a), what installation method, works for all OSs, need extra pre-workshop setup session, extra helpers to start
  • If (b), what service, who/how hosting, who pays?

Activity

  1. changed the title [-]What Python installation/PaaS?[/-] [+]What Python installation/platform?[/+] on Dec 12, 2024
  2. pinned this issue on Jan 9, 2025
  3. SJaffa commented on Feb 25, 2025

    @SJaffa
    ContributorAuthor

    @douglowe what solution did we use on the course in the end and was it suitable? Is that what we want to go with long term?

  4. douglowe commented on Feb 27, 2025

    @douglowe
    Member

    We used the VM that we have used for the last 3-4 years.

    We should investigate the jupyter lab servers more over the next 2 months, and see if they are suitable though. It might be nice for us to use a central solution instead.

  5. SJaffa commented on May 7, 2025

    @SJaffa
    ContributorAuthor

    Current solution: ITS-owned Jupyter Hub located at https://jupyter.its.manchester.ac.uk/

    We requested an increase in memory allocation per user which should allow people to run the conda installations, it might be slow if they all do it at once but we will see on the day.

    We need to give them get them to download the data and upload it to the jupyter hub, adn test if we can create and use environments in the jupyter notebook.

  6. SJaffa commented on May 7, 2025

    @SJaffa
    ContributorAuthor

    In the terminal in Jupyter hub:

    listing and creating conda environments works, but before acivating you need to do conda init bash. This advises you to close the terminal and open it which loses the bashrc, so instead you can keep the terminal open and run source ~/.bashrc to initialise conda, then activate it

    • How do we get the notebook to use the environment?
  7. SJaffa commented on May 7, 2025

    @SJaffa
    ContributorAuthor

    Could run scripts form the terminal with conda run -n py38 python my_script.py (source)

  8. SJaffa commented on May 7, 2025

    @SJaffa
    ContributorAuthor

    All the libraries we use in the course are preinstalled in the Jupyter Hub (I did Ctrl-f "import" and checked they all run), so we don't need to get the environment working for the notebook, it just seems a bit disjointed to teach them and then never use it...

  9. douglowe commented on May 7, 2025

    @douglowe
    Member

    I agree it is now disjointed - the central team were a bit too helpful in installing all the libraries we needed for this course.

    Ideally we'll split out the packaging episode into a dedicated packaging lesson at some point. For now perhaps you could simply move this lesson to the end of the day, so that it doesn't disrupt the flow of the rest of the episodes.

  10. andrewgait commented on Apr 16, 2026

    @andrewgait
    Collaborator

    I agree with @douglowe that the temporary solution here should be to move the conda chapter to the end of the day.

  11. andrewgait commented on May 1, 2026

    @andrewgait
    Collaborator

    We used the central Jupyter instance with no issues yesterday (as far as I could see, the biggest issue was it took a while to load up initially for some people). I would probably argue that this issue can be closed, and if we need to reconsider what we use in the future then a new issue for that should be made. @Scottan any thoughts?

  12. Scottan commented on May 1, 2026

    @Scottan
    Collaborator

    Yeah, I think this can be closed. The Jupyter server worked well, the main problem was that it seemed to struggle with lots of people logging on at the same time at the start of the course, but that was largely solved by waiting a bit then refreshing.

    If we need to revisit this we can open a new issue. There might need be an action in the main training repo to ask for more resource for the server from infra to see if that helps with its performance? (it might just need a clean-out as it has been used for a number of course already)

  13. unpinned this issue on May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions