第一个问题,我对Python很陌生。使用Ubuntu 18.04,我已经设置为从实验室运行新程序。我很难让编译器(例如gcc)在安装中工作。我终于安装了所有东西,但是无法打开jupyter笔记本。我已经尝试了1.5天,以解决Google上的所有问题。第一个错误是:
/home/sarah/anaconda3/envs/celloracle_env/compiler_compat/ld: cannot find -lpthread
/home/sarah/anaconda3/envs/celloracle_env/compiler_compat/ld: cannot find -lc
collect2: error: ld returned 1 exit status
Traceback (most recent call last):
File "/home/sarah/anaconda3/envs/celloracle_env/bin/jupyter-notebook", line 5, in <module>
from notebook.notebookapp import main
File "/home/sarah/anaconda3/envs/celloracle_env/lib/python3.6/site-packages/notebook/notebookapp.py", line 49, in <module>
from zmq.eventloop import ioloop
File "/home/sarah/anaconda3/envs/celloracle_env/lib/python3.6/site-packages/zmq/__init__.py", line 47, in <module>
from zmq import backend
File "/home/sarah/anaconda3/envs/celloracle_env/lib/python3.6/site-packages/zmq/backend/__init__.py", line 40, in <module>
reraise(*exc_info)
File "/home/sarah/anaconda3/envs/celloracle_env/lib/python3.6/site-packages/zmq/utils/sixcerpt.py", line 34, in reraise
raise value
File "/home/sarah/anaconda3/envs/celloracle_env/lib/python3.6/site-packages/zmq/backend/__init__.py", line 27, in <module>
_ns = select_backend(first)
File "/home/sarah/anaconda3/envs/celloracle_env/lib/python3.6/site-packages/zmq/backend/select.py", line 28, in select_backend
mod = __import__(name, fromlist=public_api)
File "/home/sarah/anaconda3/envs/celloracle_env/lib/python3.6/site-packages/zmq/backend/cython/__init__.py", line 6, in <module>
from . import (constants, error, message, context,
ImportError: /home/sarah/anaconda3/envs/celloracle_env/lib/python3.6/site-packages/zmq/backend/cython/../../../../.././libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/sarah/anaconda3/envs/celloracle_env/lib/python3.6/site-packages/zmq/backend/cython/../../../../../libzmq.so.5)
我已确保安装了pthread和c,但无济于事。任何帮助将不胜感激。以下是完整错误的图片。谢谢! enter image description here