Cannot import from pyc file in VS Code
Can anybody help me out how to fix this error please. Image is attached below
You are trying to import a .pyc
file into a .py
file. A .pyc
file includes compiled python code so I think you would have to first convert it into python code if you want to import it. This link might be helpful. (Download it and try to convert the .pyc
file.)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.