想让詹金斯和蟒蛇一起工作。我正在使用shining熊猫插件和python插件。
每当我试图将python安装设置为指向我的python2.7可执行文件/home/lminer/anaconda/bin/python2.7时,我就会得到这样的消息:它既不是目录也不是可执行文件。是否存在2.7兼容性问题?
编辑:这是我的python信息
# which python
/home/lminer/anaconda/bin/python2
# ls -l /home/lminer/anaconda/bin/python*
lrwxrwxrwx 1 root root 7 Oct 9 17:02 /home/lminer/anaconda/bin/python -> python2
lrwxrwxrwx 1 root root 9 Oct 9 17:02 /home/lminer/anaconda/bin/python2 -> python2.7
-rwxr-xr-x 1 root root 10038 Oct 9 17:02 /home/lminer/anaconda/bin/python2.7
-rwxr-xr-x 1 root root 1600 Oct 9 17:02 /home/lminer/anaconda/bin/python-argcomplete-check-easy-install-script
-rwxr-xr-x 1 root root 1678 Oct 9 17:02 /home/lminer/anaconda/bin/python-config不知道该如何证明这一错误。我去Jenkins > configuration > Python > Python Installations。在Home or executable下,我把/home/lminer/anaconda/bin/python2.7,/home/lminer/anaconda/bin/python,/home/lminer/anaconda/bin/。每一次,方框下面都有一条红色的信息:Neither a directory nor an executable
如果我指向/usr/bin/python2.6,我就不明白这个问题了
发布于 2014-10-14 21:55:46
结果发现我没有正确设置权限。一旦我让每个人从目录中执行,目录就会被识别出来。如果有更好的方法来做到这一点,也许可以将python移到不同的位置,请告诉我。
https://stackoverflow.com/questions/26347051
复制相似问题