Installation Script did not work #515

Open
opened 2026-03-22 15:44:59 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Roldao-Neto on GitHub (Mar 4, 2026).

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.

  hint: While the active Python version is
  3.12, the resolution failed for other Python
  versions supported by your project. Consider
  limiting your project's supported Python
  versions using `requires-python`.

  hint: The `requires-python` value (>=3.8)
  includes Python versions that are not
  supported by your dependencies (e.g.,
  jupyter-book>=1.0.0,<=1.0.4.post1 only
  supports >=3.9). Consider using a more
  restrictive `requires-python` value (like
  >=3.9).

After changing the pyproject.toml file to require Python >= 3.9, it worked.

Originally created by @Roldao-Neto on GitHub (Mar 4, 2026). 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. hint: While the active Python version is 3.12, the resolution failed for other Python versions supported by your project. Consider limiting your project's supported Python versions using `requires-python`. hint: The `requires-python` value (>=3.8) includes Python versions that are not supported by your dependencies (e.g., jupyter-book>=1.0.0,<=1.0.4.post1 only supports >=3.9). Consider using a more restrictive `requires-python` value (like >=3.9). After changing the pyproject.toml file to require Python >= 3.9, it worked.
GiteaMirror added the type: bugarea: book labels 2026-03-22 15:44:59 -05:00
Author
Owner

@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 (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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#515