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

Added requirements.txt #23

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

numberformat
Copy link

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.

@jmshea
Copy link
Owner

jmshea commented Sep 21, 2023

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).

@numberformat
Copy link
Author

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

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

Successfully merging this pull request may close these issues.

2 participants