2666 views|2 replies

14

Posts

0

Resources
The OP
 

Import problem in Ubuntu [Copy link]

I just got started with Ubuntu and want to run a piece of code on Ubuntu. The problem shown in the picture appears, saying that the log cannot be imported. I don't know how to solve it. I have tried the methods found on the Internet but it seems to be useless. Does anyone have a solution?























































































































































































0.PNG (30.45 KB, downloads: 0)

Ubuntu导入问题

Ubuntu导入问题

image.png (30.45 KB, downloads: 0)

image.png

image.png (30.45 KB, downloads: 0)

image.png

image.png (30.45 KB, downloads: 0)

image.png
This post is from Linux and Android

Latest reply

It may be that the Python development package of your system did not download the development package corresponding to the log. Or the development package is not installed. The corresponding module was not found.   Details Published on 2020-2-28 17:14

493

Posts

1

Resources
2
 

From the literal meaning, it seems that the Python environment does not contain the log package, and your code imports it.

This error is similar to the error "can not find XXXX.h" in C language.

This post is from Linux and Android
 
 

2

Posts

0

Resources
3
 

It may be that the Python development package of your system did not download the development package corresponding to the log.

Or the development package is not installed.

The corresponding module was not found.

This post is from Linux and Android
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list