You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we try to override a system package i.e. pip3 install --user pysam --force-reinstall and import it, current structure of sys.path doesn't allow us to import the new package directly because the system folder is higher in rank than the user folder:
As a use case, you can just try to upgrade pysam package which is already installed in the default runtime and import the updated version to reproduce the issue.
The text was updated successfully, but these errors were encountered:
When we try to override a system package i.e.
pip3 install --user pysam --force-reinstall
and import it, current structure of sys.path doesn't allow us to import the new package directly because the system folder is higher in rank than the user folder:Therefore we have to prepend user site-packages folder to sys.path in order to import the new package:
which leads to
Would it make sense to add the following line to the base image Dockerfile:
to make it easier to override system packages?
As a use case, you can just try to upgrade pysam package which is already installed in the default runtime and import the updated version to reproduce the issue.
The text was updated successfully, but these errors were encountered: