I ran tito setup with Python version 3.9.6 but I got the following error.
(.venv) karthik@Karthiks-Mac-mini tinytorch % tito setup
Traceback (most recent call last):
File "/Users/karthik/tinytorch/.venv/bin/tito", line 3, in <module>
from tito.main import main
File "/Users/karthik/tinytorch/tito/main.py", line 42, in <module>
from .commands.update import UpdateCommand
File "/Users/karthik/tinytorch/tito/commands/update.py", line 17, in <module>
class UpdateCommand(BaseCommand):
File "/Users/karthik/tinytorch/tito/commands/update.py", line 50, in UpdateCommand
def _get_current_version(self) -> str | None:
TypeError: unsupported operand type(s)for|: 'type' and 'NoneType'
The install.sh requires 3.8+ but the Python pipe operator seems to have been introduced in 3.10, please update the script for checking version comptibility :)
I've been searching such a thing since years and now I have it. Consider me I love this initiative, thank you very much.
Best,
Karthik.
Originally created by @KarthikDani on GitHub (Dec 25, 2025).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1085
I ran `tito setup` with Python version `3.9.6` but I got the following error.
```bash
(.venv) karthik@Karthiks-Mac-mini tinytorch % tito setup
Traceback (most recent call last):
File "/Users/karthik/tinytorch/.venv/bin/tito", line 3, in <module>
from tito.main import main
File "/Users/karthik/tinytorch/tito/main.py", line 42, in <module>
from .commands.update import UpdateCommand
File "/Users/karthik/tinytorch/tito/commands/update.py", line 17, in <module>
class UpdateCommand(BaseCommand):
File "/Users/karthik/tinytorch/tito/commands/update.py", line 50, in UpdateCommand
def _get_current_version(self) -> str | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
```
The `install.sh` requires 3.8+ but the Python pipe operator seems to have been introduced in `3.10`, please update the script for checking version comptibility :)
I've been searching such a thing since years and now I have it. Consider me I love this initiative, thank you very much.
Best,
Karthik.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @KarthikDani on GitHub (Dec 25, 2025).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1085
I ran
tito setupwith Python version3.9.6but I got the following error.The
install.shrequires 3.8+ but the Python pipe operator seems to have been introduced in3.10, please update the script for checking version comptibility :)I've been searching such a thing since years and now I have it. Consider me I love this initiative, thank you very much.
Best,
Karthik.
@KarthikDani commented on GitHub (Dec 25, 2025):
Please check this PR. I've fixed
install.sh