Problem recurrence
//install swig
sudo apt-get install swig
swig -c++ -python polyiou.i
python setup.py build_ext --inplace
//report error
ModuleNotFoundError: No module named '_polyiou'
Solution:
Swig is not installed correctly. Because there are python2 and python3 in the environment, the command to install swig is modified as follows
sudo apt-get install swig
swig -c++ -python polyiou.i
python3 setup.py build_ext --inplace
Read More:
- ModuleNotFoundError: No module named ‘requests‘ [How to Solve]
- [Solved] ModuleNotFoundError: No module named ‘requests‘
- [Solved] ByteTrack Error: ModuleNotFoundError: No module named ‘yolox’
- [Solved] ModuleNotFoundError: No module named ‘xxx’; ‘xxx’ is not a package
- ModuleNotFoundError: No module named ‘tensorflow.python’ And the pits encountered after installation
- ModuleNotFoundError: no module named ‘pip‘ [How to Solve]
- [Solved] ModuleNotFoundError: No module named ‘pip‘
- [Solved] Pytest Error: E ModuleNotFoundError: No module named ‘common
- [Solved] Pychar error: modulenotfounderror: no module named ‘requests_ HTML ‘solution
- How to Solve PyInstaller Package Error: ModuleNotFoundError: No module named ‘xxxx‘
- [Solved] scikit-learn Error: ModuleNotFoundError: No module named ‘sklearn.utils.linear_assignment_’
- [Solved] modulenotfounderror: no module named ‘torchtext.legacy.data.datasets_ utils‘
- [Solved] jupyter notebook Error: ModuleNotFoundError: No module named jupyter_nbextensions_configurator
- [Solved] Jupyter notebook use pyLDAvis Error: modulenotfounderror: no module named ‘pyLDAvis’‘
- [Mac M1] How to Solve import wordcloud Error: ModuleNotFoundError: No module named ‘wordcloud‘
- Module notfounderror when installing suds: no module named ‘client’ solution
- Module not found error: no module named ‘filefolder’ appears when learning engineering knowledge
- [How to Solve] ImportError: No module named typing
- bandersnatch Error: No module Named [How to Solve]
- [Solved] Pytorch-geometric Error: No module named torch_sparse