[tvmc] Error when using tvmc in command line

Hi @leandron,

Thanks for the quick reply! I’m experimenting with pipenv myself a bit (right now it actually seems rather slow, i wouldn’t recommend it actually :smiley: ) , so i’m not sure what could have gone wrong. I’m not really sure what the entry_points clause does that you referenced, and i’m also not sure what the deal is with setup.py and pipenv. But I’ll just try to explain what I did and why i did.

Also apparently I just fixed it myself. :smiley:

So the way I see pipenv right now is that it’s just a replacement for pip but it will manage package dependencies in a better way (apparently :man_shrugging: ) and install them in a virtualenv automatically. So I followed the tutorial but every time I had to use python (for setup.py) i made sure that I first activated the virtual environment with pipenv shell (similar to conda activate and source .../activate I guess). And all packages i installed with pipenv install instead of pip. I think I mistakingly installed the tvm package as well (not apache-tvm) which might have caused the issue. After uninstalling it with pipenv uninstall tvm I’m now getting the expected behavior when calling tvmc. Thanks!

1 Like