Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeJS 安装后没有激活jupyter notebook配置 #6

Open
chenguoping76 opened this issue Nov 23, 2023 · 1 comment
Open

NodeJS 安装后没有激活jupyter notebook配置 #6

chenguoping76 opened this issue Nov 23, 2023 · 1 comment

Comments

@chenguoping76
Copy link

我使用您的https://zhutmost.com/Engineering/pynq-compile/#%E5%90%84%E7%A7%8D%E5%B8%B8%E8%A7%81%E5%92%8C%E4%B8%8D%E5%B8%B8%E8%A7%81%E7%9A%84-Bug
在ubuntu 18.04.06 lts
{XX)Y 9CJKJTVQCM`(O3_1W
使用pynq 2.7 环境编译Pynq-Z2
在stage 2编译过程中,下载安装完成nodejs后,没有激活(activate)jupyter 服务

nodejs_12.22.6-deb-1node 100%[==================================>] 15.17M 2.23MB/s in 6.9s

2023-11-23 12:19:56 (2.19 MB/s) - ‘nodejs_12.22.6-deb-1nodesource1_armhf.deb’ saved [15910418/15910418]

  • dpkg -i nodejs_12.22.6-deb-1nodesource1_armhf.deb
    Selecting previously unselected package nodejs.
    (Reading database ... 120752 files and directories currently installed.)
    Preparing to unpack nodejs_12.22.6-deb-1nodesource1_armhf.deb ...
    Unpacking nodejs (12.22.6-deb-1nodesource1) ...
    Setting up nodejs (12.22.6-deb-1nodesource1) ...
    Processing triggers for man-db (2.9.1-1) ...
  • rm -rf nodejs_12.22.6-deb-1nodesource1_armhf.deb
  • source /etc/profile.d/pynq_venv.sh
    ++ source /usr/local/share/pynq-venv/bin/activate
    +++ deactivate nondestructive
    +++ '[' -n '' ']'
    +++ '[' -n '' ']'
    +++ '[' -n /bin/bash -o -n '' ']'
    +++ hash -r
    +++ '[' -n '' ']'
    +++ unset VIRTUAL_ENV
    +++ '[' '!' nondestructive = nondestructive ']'
    +++ VIRTUAL_ENV=/usr/local/share/pynq-venv
    +++ export VIRTUAL_ENV
    +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
    +++ PATH=/usr/local/share/pynq-venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
    +++ export PATH
    +++ '[' -n '' ']'
    +++ '[' -z '' ']'
    +++ _OLD_VIRTUAL_PS1=
    +++ '[' 'x(pynq-venv) ' '!=' x ']'
    +++ PS1='(pynq-venv) '
    +++ export PS1
    +++ '[' -n /bin/bash -o -n '' ']'
    +++ hash -r
  • jupyter notebook --generate-config --allow-root
    qemu.sh: line 37: jupyter: command not found
  • unmount_special
  • for fs in $fss
  • sudo umount -l /home/ubuntu/workspace/PYNQ/sdbuild/build/focal.arm/proc
  • for fs in $fss
  • sudo umount -l /home/ubuntu/workspace/PYNQ/sdbuild/build/focal.arm/run
  • for fs in $fss
  • sudo umount -l /home/ubuntu/workspace/PYNQ/sdbuild/build/focal.arm/dev
  • sudo umount -l /home/ubuntu/workspace/PYNQ/sdbuild/build/focal.arm/ccache
  • rmdir /home/ubuntu/workspace/PYNQ/sdbuild/build/focal.arm/ccache
    Makefile:344: recipe for target '/home/ubuntu/workspace/PYNQ/sdbuild/build/focal.arm.stage2.tar.gz' failed
    make: *** [/home/ubuntu/workspace/PYNQ/sdbuild/build/focal.arm.stage2.tar.gz] Error 127

麻烦大神指导。谢谢

@zhutmost
Copy link
Owner

zhutmost commented Nov 24, 2023

@chenguoping76
你好。
你可以翻看更早的log,我觉得应该是Jupyter安装的时候就已经出错了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants