麻烦安装venv python 2.7.12(Trouble installing venv python 2.7.12)
我目前正在学习Flask,为此我必须安装
virtualenv
。 它通常安装,但之后我必须激活环境。 在教程中它说我必须在CMD中输入这个:venv \ scripts \ activate它给了我错误:
"The system cannot find the path specified
”。我试图运行它,它也不起作用:
venv\Scripts\activate.bat
任何帮助将非常感激。
I am currently learning Flask and to do so I have to install
virtualenv
. It installs it normally but after that I have to activate the environment. In the tutorial it says that I have to type this into CMD: venv\scripts\activateIt gives me the error:
"The system cannot find the path specified
".I tried to run this and it doesn't work either:
venv\Scripts\activate.bat
Any help will be really appreciated.
原文:https://stackoverflow.com/questions/40693401
最满意答案
问题通过使用最新版本的org.springframework.context.support依赖关系解决。
problem solved by using latest version of org.springframework.context.support dependency.
相关问答
更多-
在上下文支持工件中发现邮件很奇怪, The mail stuff is found, rather bizarrely, in the context-support artifact.
-
问题通过使用最新版本的org.springframework.context.support依赖关系解决。 problem solved by using latest version of org.springframework.context.support dependency.
-
导入org.robolectric时,Android Studio无法找到包(Android Studio can't find package when import org.robolectric)[2022-06-25]
实际上,我发现这是因为我的测试是在androidTest文件夹下,而不是测试,这导致包不可用。 Actually, I found it's because my test is under androidTest folder, not test, which causes the package unavailable. -
我发现如何安装依赖项: 在这种情况下,我需要包装包和你的依赖关系: osgi:install -s wrap:mvn:org.apache.commons/commons-pool2/2.4.2 osgi:install -s wrap:mvn:org.apache.commons/commons-dbcp2/2.1.1 I found how install a dependency: In this case I need to Wrap the bundle and your dependencie ...
-
你是否在你的applicationContext.xml文件中包含了ConfMailSender.xml? Have you included ConfMailSender.xml inside you applicationContext.xml file as well?
-
OSGI未解决的要求:Import-Package:com.pi4j.io.gpio(OSGI Unresolved requirement: Import-Package: com.pi4j.io.gpio)[2022-12-02]
我发现了自己的错误: 我认为我可以将“com.pi4j.io.gpio”添加到清单文件中的包含,但我不想从其他OSGI包中导入它,我想从一个快速导入的JAR导入它。 所以我只需删除这一行,一切正常。 编辑: 我在这里找到了答案: https : //github.com/ECF/RaspberryPI/tree/master/bundles/com.pi4j 这是我的manifest.mf: Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Nam ... -
缺少约束:Import-Package:无法启动Activator(Missing Constraint: Import-Package: Not able to start Activator)[2022-05-20]
这不是一个“奇怪的问题”。 您已导入这些包但未提供导出它们的包。 所有导入的包必须与相应的导出匹配,可以是另一个包,也可以是基本框架/运行时(“系统包”)。 确保您的运行配置包括导出所需软件包的软件包。 This is not a "weird issue". You have imported these packages but not provided bundles that export them. All imported packages must be matched by a corres ... -
您可以调用Bundle.getSymbolicName 。 在您的示例代码中,您调用Bundle.toString 。 OSGi规范没有确切地定义这个方法应该返回什么,但我有点惊讶它返回“未知”。 I have solved this problem by removing /tmp/org.eclipse.osgi folder (on GNU/Linux machine). After that step my bundle started to work.
-
你创建了什么样的项目? 这是一个Maven项目吗? 如果是这样,你需要确保你至少导入了'spring-context'依赖关系
org.springframework spring-context 3.1.0.RELEASE runtime