mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-21 13:31:55 -05:00
[GH-ISSUE #1209] Installation Script did not work #10754
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Roldao-Neto on GitHub (Mar 4, 2026).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1209
I tried running the installation script in my Linux (Pop_OS Cosmic - currently in "beta"). It did not work.
I do have uv installed, so I suppose this was the reason a .venv was not created. Then I tried running uv sync, but the dependencies do not match:
rolds@pop-os:~/tinytorch$ uv sync
× No solution found when resolving dependencies
│ for split (markers: python_full_version ==
│ '3.8.*'):
╰─▶ Because the requested Python version
(>=3.8) does not satisfy Python>=3.9 and
jupyter-book>=1.0.0,<=1.0.4.post1 depends
on Python>=3.9, we can conclude that
jupyter-book>=1.0.0,<=1.0.4.post1 cannot
be used.
And because only the following versions of
jupyter-book are available:
jupyter-book<=1.0.0
jupyter-book==1.0.2
jupyter-book==1.0.3
jupyter-book==1.0.4
jupyter-book==1.0.4.post0
jupyter-book==1.0.4.post1
jupyter-book>=2.0.0
we can conclude that
jupyter-book>=1.0.0,<2.0.0 cannot be used.
And because tinytorch[docs] depends on
jupyter-book>=1.0.0,<2.0.0 and your project
requires tinytorch[docs], we can conclude
that your project's requirements are
unsatisfiable.
After changing the pyproject.toml file to require Python >= 3.9, it worked.
@profvjreddi commented on GitHub (Mar 4, 2026):
Hey @Roldao-Neto, thanks for posting this. Feel free to submit a PR if you'd like, or I can update it later too. Thanks for reporting this!
@profvjreddi commented on GitHub (Apr 3, 2026):
Hey @Roldao-Neto just checking back on this. Were you able to get things working? The Python version constraint has been tightened up since then. If you're still running into issues let me know, otherwise I'll close this one out in a couple weeks. Thanks for reporting it!
@Roldao-Neto commented on GitHub (Apr 3, 2026):
Hello @profvjreddi , it seems everything is working now, but if you want TinyTorch to be uv supported, last time I checked, there are some things that should be done. In my last PR, I did the minimum to get it working, but I did not follow some best practices.
If you are interested in making it uv compatible, just respond to this message and tell me if you want to try to make it work with the updated libraries or only with the current versions that are being used. I will create a PR on this later if you want to.
Best Regards.
@profvjreddi commented on GitHub (Apr 3, 2026):
Closing — @Roldao-Neto confirmed the install is working now. Thanks for the PR contributions to improve uv support!