Some Extra Packages Are Found in the Conda Environment Built Using a Custom Image
Symptom
Some extra pip packages are found when a custom image is running in a notebook instance. As shown in the following figure, the part in the left pane shows the custom image running in the local environment, and the part in the right pane shows the custom image running in the notebook instance.
Possible Causes
Notebook provides functions such as MoXing and ModelArts SDKs, which are embedded in the Conda environment.
Solution
If you do not need to use functions such as MoXing and SDKs, delete the modelarts.pth file temporarily.
- Search for modelarts.pth in the Conda environment.
# /home/ma-user/anaconda3 indicates the user's Python environment. find /home/ma-user/anaconda3 -name modelarts.pth
- Run the following command to delete the modelarts.pth file from the Python environment:
# /xxx/modelarts.pth indicates the file path obtained in step 1. rm -rf /xxx/modelarts.pth
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot