You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/06/14 23:36:02 UTC

[GitHub] [tvm] mehrdadh opened a new issue #8258: [CI QEMU][Docker] pip access to tvm-env

mehrdadh opened a new issue #8258:
URL: https://github.com/apache/tvm/issues/8258


   Some people are using the CI docker image for development purposes and we need to install extra packages to test something. I'm using `tlcpack/ci-qemu:v0.04` and I'm trying to install some packages for a specific model that I'm testing. My understanding is that the image is built in a way that any user that login has similar access to the user who built the image. However when I login to ci_qemu and try `pip3 install` or even `sudo pip3 install` I get this error:
    
   ```
   ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/opt/tvm-venv/lib/python3.6/site-packages/configparser.py'
   Consider using the `--user` option or check the permissions.
   ```
   
   The workaround that works for me is this:
   ```
   sudo su
   source /opt/tvm-venv/bin/activate
   pip3 install package
   exit
   ```
   
   I was wondering if anyone knows the issue with our build or docker/bash.sh that I use for login.
   cc @leandron 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org