tvm installation and usage with Tutor & Open edX

1 min read

Installation
pip install git+https://github.com/eduNEXT/tvm.git
If you get the following error after installation of tvm, you can use an alternative to fix it.
jayram@jayram:~$ tvm --version
Command 'tvm' not found, did you mean:
command 'gvm' from snap gvm (1.1.0)
command 'tcm' from deb tcm (2.20+TSQD-5build1)
command 'tm' from deb libtm-perl (1.56-10)
command 'pvm' from deb pvm (3.4.6-2build2)
command 'ttm' from deb ttm (4.12+ds-2)
command 'vm' from deb mgetty-voice (1.2.1-1)
command 'tfm' from deb emboss (6.6.0+dfsg-7ubuntu2)
command 'tv' from deb treeviewx (0.5.1+git20100823.7e4d0e9-2build1)
command 'kvm' from deb qemu-kvm (1:4.2-3ubuntu6.24)
command 'twm' from deb twm (1:1.0.10-1)
command 'lvm' from deb lvm2 (2.03.07-1ubuntu1)
command 'tvc' from deb tvc (5.0.3+git20151221.80e144e+dfsg-3)
See 'snap info <snapname>' for additional versions.
Alternative Installation:
# clone tvm repo
git clone https://github.com/eduNEXT/tvm.git
# Install manually
cd tvm
sudo python3 setup.py install
# Check tvm version
tvm --version
# Initialise your project
tvm project init my-lilac-project v13.3.1
# Go to your project directory
cd my-lilac-project
# Activate environment
source .tvm/bin/activate
# Quickstart your tutor
tutor dev quickstart
References
0
Subscribe to my newsletter
Read articles from JayRam Nai directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

JayRam Nai
JayRam Nai
Open edX expert and open-source enthusiast.