The numba Library Has Been Installed in a Notebook Instance and Error "import numba ModuleNotFoundError: No module named 'numba'" Is Reported
Symptom
After you install the numba library in a notebook instance by running the !pip install numba command, the library is running properly and is saved as a custom image. However, an error is reported indicating that the library does not exist when you run the script in DataArts Studio.
Possible Causes
Multiple virtual environments are created and the numba library is installed in python-3.7.10, as shown in Figure 1.
Solution
Run the conda deactivate command in Termina to exit the current virtual environment and enter the default base environment. Run the pip list command to query the installed packages. Install and save the required dependencies, switch to the specified virtual environment, and run the script.
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