我几乎没有编码经验,正试图在我的mac(osX Yosemite)上安装一些软件。该软件操作FSL软件包,以虚拟可视化的神经解剖学。安装说明可以在https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FslInstallation/MacOsX 每当我尝试安装它时,我都会得到代码
olegs-MacBook-Air-4:Downloads Sonya$ cd ~/Downloads
olegs-MacBook-Air-4:Downloads Sonya$ python fslinstaller.py
--- FSL Installer - Version 3.0.11 ---
[Warning] Some operations of the installer require administative rights,
for example installing into the default folder of /usr/local.
If your account is an 'Administrator' (you have 'sudo' rights)
then you will be prompted for your administrator password
when necessary.
When asked a question, the default answer is given in square brackets.
Hit the Enter key to accept this default answer.
[FAILED] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)
olegs-MacBook-Air-4:Downloads Sonya$
真的不知道该怎么办,任何帮助都将不胜感激
更新 我刚刚再次尝试了相同的命令,现在已经得到了代码
^{pr2}$
不确定您是否仍有问题,但我认为您的问题可能与this one相同
解决方案是将
python fslinstaller.py
更改为/usr/bin/python fslinstaller.py
。在如果这不起作用,可能是到python的完整路径是错误的。您可以使用}找到正确的一个。其中一个可能会有用
which python
、which python2
或{在我的例子中,我需要运行命令
sudo /usr/bin/python2.7 fslinstaller.py
,安装程序正常工作相关问题 更多 >
编程相关推荐