Jupyter
跳到导航
跳到搜索
安装
- pip install --upgrade pip
- pip install jupyter
- 安装出错,需要
- /usr/lib/rpm/redhat/redhat-hardened-cc1 需要redhat-rpm-config
- Python.h:No such file or directory 需要python-devel
- pip install --upgrade jupyter
调用IDL
- 设置环境变量PYTHONPATH包含IDL和PYTHON的可执行命令文件夹 (保证python中能调用IDL,python bridge)
- 具体是包含/usr/local/exelis/idl85/bin/bin.linux.x86_64, /usr/local/exelis/idl85/lib/bridges
- 设置IDL的库文件在动态链接库文件的目录中
- 将<IDL_DIR>/lib/bridges/kernels/IDL/kernel.json 复制到 /usr/share/jupyter/kernels/IDL目录下
- 设置PATH包含IDL的可执行命令文件夹 (不确定是否一定需要)