简体   繁体   English

使用cygwin版本python的pycharm解释器

[英]pycharm interpreter using cygwin version python

I am running django python2.7 using Pycharm in windows. 我正在Windows中使用Pycharm运行django python2.7。 Now I have some issue with redis queue not working in windows because of this 现在我有一些问题,因为这个原因,redis队列在Windows中不起作用

I am trying to do what this person did here . 我正在尝试做这个人在这里所做的事情 Use a cygwin version of python as pycharm interpreter. 使用cygwin版本的python作为pycharm解释器。

(not sure if I downloaded all the packages or did correct steps) I downloaded cygwin and install packages python2.7 + python-setuptools and then try to point my Pycharm interpreter to c:/cygwin/bin/python27.exe (不确定我是否下载了所有软件包或是否执行了正确的步骤)我下载了cygwin并安装了python2.7 + python-setuptools软件包,然后尝试将Pycharm解释器指向c:/cygwin/bin/python27.exe

see image 看图片

After that it seem ok and ask me to install packing tools pip, I clicked it and it give me this error: 之后,似乎还可以,请我安装打包工具pip,我单击了它,它给了我这个错误:

see image 看图片

"Cannot start process, the working directory '\\cygdrive\\c\\Users\\User1G~1.SIS\\AppData\\Local\\Temp\\1\\tmpYpudf2pycharm-management\\pip-7.1.0' does not exist" “无法启动进程,工作目录'\\ cygdrive \\ c \\ Users \\ User1G〜1.SIS \\ AppData \\ Local \\ Temp \\ 1 \\ tmpYpudf2pycharm-management \\ pip-7.1.0'不存在”

According to the error message it looks like pip can't be found... Are you sure you have installed pip? 根据错误消息,看来找不到pip ...确定要安装pip吗?

Take a look here, how you can install pip: Installing Pip-3.2 on Cygwin 在这里看看如何安装pip: 在Cygwin上安装Pip-3.2

You can open a cygwin command line window and try to manually install the packages you want to. 您可以打开cygwin命令行窗口,然后尝试手动安装所需的软件包。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM