简体   繁体   English

加载共享库 libpython3.7m.so.1.0 时出错:没有这样的文件或目录(/usr/local/bin/coverage 需要)

[英]Error loading shared library libpython3.7m.so.1.0: No such file or directory (needed by /usr/local/bin/coverage)

I seem to be having issues with my python interpreter.我的 python 解释器似乎有问题。 I am getting the following error on my terminal when trying to start the Django webserver:尝试启动 Django 网络服务器时,我的终端出现以下错误:

1) Error loading shared library libpython3.7m.so.1.0: No such file or directory (needed by /usr/local/bin/coverage) 2) Error relocating /usr/local/bin/coverage: _Py_UnixMain: symbol not found 1) 加载共享库 libpython3.7m.so.1.0 时出错:没有这样的文件或目录(/usr/local/bin/coverage 需要) 2) 重新定位 /usr/local/bin/coverage 时出错:_Py_UnixMain:找不到符号

Any idea or clues on what I should be looking for in regards to the error above?关于上述错误我应该寻找什么的任何想法或线索? I am running ubuntu on my system.我在我的系统上运行 ubuntu。 This problem seems to occur after I started a new Django project.在我开始一个新的 Django 项目之后,似乎会出现这个问题。

Thank you.谢谢你。

This seems like a Path related issue.这似乎是与Path相关的问题。 You can see here for solutions on how you can alter the path.您可以在此处查看有关如何更改路径的解决方案。 Alternatively, you can simply fix the issue the following way:或者,您可以通过以下方式简单地解决问题:

sudo apt-get install libpython3.x-dev

This way you won't need to any changes to environment path manually.这样您就不需要手动对环境路径进行任何更改。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Python3.7:加载共享库时出错:libpython3.7m.so.1.0 - Python3.7: error while loading shared libraries: libpython3.7m.so.1.0 ImportError:libpython3.7m.so.1.0:无法打开共享 object 文件:没有这样的文件或目录 - ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory 问:python(在集群的bash脚本中使用cutadapt):libpython3.7m.so.1.0:无法打开共享对象文件:无此类文件或目录 - Q: python (using cutadapt in bash script on cluster): libpython3.7m.so.1.0: cannot open shared object file: No such file or directory docker-compose “/usr/local/bin/python: error while loading shared libraries: libpython3.8.so.1.0:”时出错 - Error when docker-compose “/usr/local/bin/python: error while loading shared libraries: libpython3.8.so.1.0: ” 错误加载 Python lib '/tmp/_MEIR5kRcn/libpython3.7m.so.1.0': dlopen: libcrypt.so.1 在运行期间 docker-compose - Error loading Python lib '/tmp/_MEIR5kRcn/libpython3.7m.so.1.0': dlopen: libcrypt.so.1 during running docker-compose 加载 Python lib '/tmp/_MEItueAuk/libpython3.7m.so.1.0' 时出错:dlopen: /lib/x86_64-linux-gnu/libc.so.6: 找不到版本 'GLIBC_2.28' - Error loading Python lib '/tmp/_MEItueAuk/libpython3.7m.so.1.0': dlopen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found python:加载共享库时出错:libpython3.4m.so.1.0:无法打开共享对象文件:没有这样的文件或目录 - python: error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file: No such file or directory 加载共享库时出现 Python 错误:libpython3.5m.so.1.0:无法打开共享对象文件:没有这样的文件或目录 - Python error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory Python3.5 导入错误:libpython3.5m.so.1.0:无法打开共享对象文件:没有这样的文件或目录 - Python3.5 ImportError: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory pyinstaller 错误:OSError:找不到 Python 库:libpython3.4mu.so.1.0、libpython3.4m.so.1.0、libpython3.4.so.1.0 - pyinstaller error: OSError: Python library not found: libpython3.4mu.so.1.0, libpython3.4m.so.1.0, libpython3.4.so.1.0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM