简体   繁体   English

为什么执行代码后在 pipenv 环境中显示语法错误

[英]why Syntax errors shown in pipenv environment after executing the code

I was run this module via python3 pipenv and it works but after I closed the Jupiter and I try again to open the Jupiter and run the same code I got this error我是通过 python3 pipenv运行这个模块的,它可以工作,但是在我关闭 Jupiter 之后,我再次尝试打开 Jupiter 并运行相同的代码,我得到了这个错误

在此处输入图像描述

It should be single line.它应该是单行。

from keras.preprocessing import image

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 部分代码未执行(未显示错误) - Part of code not executing (no errors shown) pipenv 在 vs 代码中设置虚拟环境的路径 - pipenv set path of virtual environment in vs code 在PyQT中显示QDialog之后执行代码的惯用方式是什么? - What is an idiomatic way of executing code AFTER the QDialog is shown in PyQT? 更新 python 版本后使用 pipenv 的错误 - Errors to use pipenv after updating python version 为什么 VSC 会抛出此代码的语法错误? - Why does VSC throw syntax errors with this code? 创建环境时如何读取和修复 pipenv 错误? - How to read and fix pipenv errors when creating an environment? 为什么代码在收到响应后没有执行 - Why is code not executing after response received 在 `pipenv install` 之后使用 `pipenv shell` 会产生“UNKNOWN_VIRTUAL_ENVIRONMENT 的 Shell 已经激活。” - Using `pipenv shell` after `pipenv install` yields "Shell for UNKNOWN_VIRTUAL_ENVIRONMENT already activated." Pipenv:git 克隆后在新计算机上激活虚拟环境 - Pipenv: Activate virtual environment on new computer after git clone 如果环境目录不为空,为什么命令 'pipenv --rm' 不起作用? (视窗) - Why does the command 'pipenv --rm' not work if the environment directory is not empty? (Windows)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM