[英]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.