jupyterquiz
jupyterquiz copied to clipboard
Added requirements.txt
Initially it was not working for me but after creating a new conda environment and updating to python 3.9 or above it started working. I am not sure if others that have lower python versions will know when they get an error what to do. The versions in this file are not set in stone. The project will work with later versions too. The purpose of this file is to provide a path for whomever is having issues to get it working correctly.
I can't commit that as submitted.
Here are my imports:
dynamic.py:from IPython.display import display, Javascript, HTML dynamic.py:import string dynamic.py:import random dynamic.py:import importlib.resources dynamic.py:import urllib.request dynamic.py:import urllib dynamic.py:import json dynamic.py:import sys
Of these, string, random, importlib, json, and sys are bundled with Python and can't be specified. So, it seems to me that any requirements.txt should be 2 lines: one for IPython and one for urllib. If I am going to add one, I would want to specify appropriate minimum versions of these packages (>= spec) instead of arbitrary ones (== spec).
okay I simplified it.
This file may be used to create an environment using:
$ conda create --name --file
jupyter>=1.0.0=py311hca03da5_8 python>=3.11.5=hb885b13_0