Tôi đang cố gắng biên dịch tệp Python sử dụng trình duyệt web urllib.request, BeautifulSoup và .Không thể biên dịch Python bằng Nuitka
$ nuitka python.py
Nuitka:WARNING:python.py:16: Cannot find 'urllib.request' as relative or absolute import.
Nuitka:WARNING:python.py:17: Cannot find 'bs4' as relative or absolute import.
$ ./python.exe
Traceback (most recent call last):
File "python.py", line 16, in <module>
from urllib.request import urlopen
ImportError: No module named request
Tôi không biết nuitka là gì, nhưng 'không có mô-đun được đặt tên theo yêu cầu' trông rất khủng khiếp như python2 v. Python3 không khớp. –