[英]Installation Error while installing portia
Followed instructions on the github page. 遵循github页面上的指示。 Of course, had to make minor changes since I was working with a windows 7 system.
当然,自从我使用Windows 7系统以来,必须进行一些小的更改。 I got to the point post creating the virtual environment for portia to run.
我到了为发布portia创建虚拟环境运行的地步。 And I was trying to install the required packages using pip.
我试图使用pip安装所需的软件包。
pip install -r requirements.txt
It failed with a log . 它失败并显示日志 。
Now in the shell I try to run twistd, it gives error saying command not found. 现在,在外壳中,我尝试扭曲运行,它显示错误消息,提示未找到命令。 I even tried as follows:
我什至尝试如下:
deostroll@DEOTOP /c/Portia/portia/slyd (master)
$ python ../../portia_env/Scripts/twistd.py -n slyd
Traceback (most recent call last):
File "../../portia_env/Scripts/twistd.py", line 13, in <module>
from twisted.scripts.twistd import run
File "c:\Portia\portia_env\lib\site-packages\twisted\__init__.py", line 53, in
<module>
_checkRequirements()
File "c:\Portia\portia_env\lib\site-packages\twisted\__init__.py", line 37, in
_checkRequirements
raise ImportError(required + ": no module named zope.interface.")
ImportError: Twisted requires zope.interface 3.6.0 or later: no module named zop
e.interface.
(portia_env)
deostroll@DEOTOP /c/Portia/portia/slyd (master)
$
Is there an alternate procedure to follow in order to make this work on windows? 要使此功能在Windows上运行,是否有其他步骤可循?
It looks like zope.interface
didn't install when you ran: 看起来
zope.interface
在您运行时未安装:
pip install -r requirements.txt
Could you try running the following and see if it works? 您可以尝试运行以下命令,看看是否可行吗?
pip install zope.interface
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.