尝试通过大学系统远程访问jupyter笔记本时出现“找不到与平台无关的库”错误

2024-04-29 11:15:32 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在用我的uni计算机运行一个jupyter笔记本,使用这个技术-https://techtalktone.wordpress.com/2017/03/28/running-jupyter-notebooks-on-a-remote-server-via-ssh/ 我用

ssh -L 8000:localhost:8888 me@my_uni

当输入命令'jupyter notebook'时,通常会创建一个令牌,但我得到一个错误消息:

Could not find platform independent libraries

Could not find platform dependent libraries

Consider setting $PYTHONHOME to [:]

Fatal Python error: Py_Initialize: Unable to get the locale encoding

ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f11111f6740 (most recent call first):

Aborted (core dumped)

当我这么做的时候

jupyter notebooker -version

我收到了同样的错误信息。你知道吗

我在大学服务器上没有大量权限。我知道乞丐不能挑三拣四,但解决方案,避免需要这些权限将是伟大的。你知道吗

任何帮助都太好了,谢谢!你知道吗


Tags: tohttps权限libraries计算机not笔记本jupyter