Reason: it should be that there are too many installation files, too many versions and chaotic installation of PIP and python in the system, so those unnecessary files need to be deleted
Solution: clean up the PIP installation location (operation in docker environment)
apt-get install python-pip
find/-name pip
Delete all folders output by the command, then uninstall PIP and reinstall it
apt-get remove python-pip
apt-get install python-pip
Check it again
find/-name pip
The correct should be as follows
The first folder should not matter. The following two folders must not be too many. Then install mxnet, and there will be no error when importing
Read More:
- [Solved] import mxnet Error: OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory
- ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.23‘ not found
- Win10 ImportError: cannot import name NUMPY_MKL
- How to Solve ImportError: cannot import name gof
- Solution: from. Import ft2font importerror: DLL load failed: the specified module cannot be found
- [Solved] import cv2 Error: ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- [Solved] Jupyter Kernel error: kernel Cannot Connect—-import win32api; ImportError: DLL load failed…
- ValueError: Input 0 of node import/save/Assign was passed float from import/beta1_power:0 incompatib
- [Solved] Vite Bulk Import import.meta.glob Error: ERR_ABORTED 403 (Forbidden)
- Keras-nightly Import package Error: cannot import name ‘Adam‘ from ‘keras.optimizers‘
- [Solved] Tensorflow Win10: ImportError: DLL load failed
- [Solved] configure: error: C++ preprocessor “/lib/cpp” fails sanity check
- How to Solve Error: Cannot find module ‘webpack/lib/RequestShortener’
- ImportError: No module named google.protobuf.internal
- [Solved] Eslint error: /xxx/components/xxx import should occur after import of /xxx/utils/xxx
- Python Importerror: DLL load failed: the page file is too small to complete the operation.
- [Solved] Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), v
- Vue require Error: node_modules/babel-loader/lib
- Mvn dependency:copy-dependencies -DoutputDirectory=lib package Error
- LINK : fatal error LNK1104: Cannot Open the File “mfc90ud.lib”