在安装Haskell时,我执行命令时看到“找不到命令”
ihaskell install --stack
所以我搜索了它,有人说我应该在主目录的.bash_profile中添加一些路径,然后执行
source .bash_profile
但是进行一些更改后,我遇到了一些问题。我无法使用类似命令的问题
jupyter notebook
仍然可以使用vi,ls,cd之类的命令。但是一些功能,例如 缺少目录和文件的不同颜色。
我已经删除了我的
.bash_profile
并应用
source .bash_profile
进行补救,但仍然无法正常工作...
当我键入“ jupyter笔记本”时
说
Traceback (most recent call last):
File "/usr/local/bin/jupyter-notebook", line 6, in <module>
from notebook.notebookapp import main
File "/Library/Python/2.7/site-packages/notebook/notebookapp.py", line 81, in <module>
from .services.kernels.kernelmanager import MappingKernelManager
File "/Library/Python/2.7/site-packages/notebook/services/kernels/kernelmanager.py", line 19, in <module>
from jupyter_client.session import Session
File "/Library/Python/2.7/site-packages/jupyter_client/session.py", line 51, in <module>
from dateutil.tz import tzutc
File "/Library/Python/2.7/site-packages/dateutil/tz/__init__.py", line 2, in <module>
from .tz import *
File "/Library/Python/2.7/site-packages/dateutil/tz/tz.py", line 21, in <module>
from six.moves import _thread
ImportError: cannot import name _thread