• Wade
    2022-12-01 来自广东
    安装后输入代码print(“Hello Python !”),出现以下提示:-bash: syntax error near unexpected token `“'

    作者回复: bash 称作命令终端或终端, 它能解释的是 python cd ls 这些终端支持的命令。 而 print(“Hello Python !”) 是 Python的命令。所以你要在终端先执行python这样一条命令。会进入python解释器,它会提示你“>>>” 提示符, 接下来你输入的print() 函数才会被Python解释执行

    
    1
  • 三年二班邱小东
    2023-03-11 来自吉林
    jupyter不能debug,vscode不会配置debugger,pycharm不能用专业版的话debug远程项目也很麻烦。老师有什么好的debug方案吗?

    作者回复: debug 还是pycharm 专业, 其他两个没得比的。

    
    
  • Annie
    2023-02-25 来自湖南
    在下载jupyterlab的时候一直显示 'pip3.8.5' 不是内部或外部命令,也不是可运行的程序或批处理文件。 但是我前面检验的时候显示已经安装了3.8.5的版本了

    作者回复: 极有可能你的系统安装了多个版本的python ,就会造成pip搜索版本的时候错误了。 试着卸载旧的版本重启系统即可

    
    
  • 井中月
    2023-02-09 来自上海
    老师,我的Jupyter页面没有运行按钮

    作者回复: jupyter 要找到 Python 的 命令搜索路径(windows的环境变量path, linux的 PATH环境变量) 才能显示运行按钮,先检查python解释器是否正确安装,另外本地可以使用vscode 等IDE,比jupyter 更便捷

    
    
  • Ehaier
    2023-01-30 来自四川
    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status =None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host=' pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/requests/ 请问安装jupyter出现警告信息是什么意思?

    作者回复: ReadTimeoutError 下载软件过程出现连接超时,重新执行安装命令即可,但是一直出现的话,可以设置代理服务解决

    
    
  • wxj
    2022-11-23 来自广东
    演示都是MacOS, 但是还是用WINDOWS的人更多些吧,没用过MACOS太不习惯了。演示能不能以windows为主?

    作者回复: 终端和文件目录方面有差异,其他操作是没有差别的。 选择macOS主要是windows录屏会有卡顿,观看的流畅性上要差一些

    
    
  • YUN
    2022-11-21 来自北京
    请问有讨论群吗。我执行jupyter lab ,提示-bash:jupyter:command not found

    编辑回复: 有,在课程详情页有链接呦~

    
    
  • 小位
    2022-11-21 来自广东
    老师:安装jupyterlab失败是什么原因,麻烦看一下,谢谢 # pip3.11 install jupyterlab WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/jupyterlab/ Could not fetch URL https://pypi.org/simple/jupyterlab/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/jupyterlab/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping ERROR: Could not find a version that satisfies the requirement jupyterlab (from versions: none) ERROR: No matching distribution found for jupyterlab WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping WARNING: There was an error checking the latest version of pip.
    展开

    作者回复: ERROR: Could not find a version that satisfies the requirement jupyterlab 注意看错误提示,Python版本太新,还没有对应的jupyter版本,等等开发者发布最新版本的jupyter或使用python3.10

    共 2 条评论
    
  • 宋丽强
    2022-11-16 来自广东
    WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available. You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m pip install --upgrade pip' command. 这个怎么弄

    作者回复: WARNING 只是警告,翻译过来就是你要注意一下,它有可能出问题,也有可能不出问题的意思, 不用担心。 下面提示给了你解决方案,在终端执行/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m pip install --upgrade pip 命令可以修复这个警告

    共 2 条评论
    
  • ☆destinydo☆
    2022-11-15 来自广东
    jupyter安装不上 提示验证版本报错 怎么处理呢

    作者回复: 应该安装了python3.11 吧 试试用python3.10 , jupyter还没支持那么高的版本

    共 2 条评论
    