在 Python 中安装 SNAP? [英] SNAP installation in Python?

查看:72
本文介绍了在 Python 中安装 SNAP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试安装 SNAP (http://snap.stanford.edu/snappy/index.html) 在 Python 2.7.9 中.我按照 snap 网站上的说明进行安装,但无法导入 snap 包/模块.我的系统配置是:Windows 7 - 64 位我收到 DLL 加载失败 %1 不是有效的 Win32 应用程序的错误.抱歉,由于我是这个论坛的新手,由于 stackoverflow 政策,我无法上传命令提示符的屏幕截图.请帮我解决这个问题.我是 Python 的新手.问候,

I have been trying to install SNAP (http://snap.stanford.edu/snappy/index.html) in Python 2.7.9. I followed the instructions at snap website for installation but unable to import snap package/module. My system configuration is: Windows 7 - 64 bit I'm getting error that DLL load failed %1 is not a valid Win32 application. Sorry I couldn't upload screenshot of command prompt due stackoverflow policies as i'm new to this forum. Please help me to solve this issue. I'm new to Python. Regards,

推荐答案

您可能正在使用 python 32 位版本,它不适用于此处引用的 snap :Snapy 下载页面

You are probably using python 32 bit version which does not work with snap as it quoted here : Snapy Download page

(Windows 32 位软件包或 Python 32 位将不起作用).Python 2.7.x 可以从 Python 下载页面下载.确保您使用的是 64 位 Python 2.7.x 包.

(Windows 32-bit packages or Python 32-bit will not work). Python 2.7.x can be downloaded from the Python Download page. Make sure that you are using 64-bit Python 2.7.x packages.

要解决此问题,请尝试从此处安装 64 位版本:python 2.7 64bit 下载链接

To solve the issue, try installing a 64 bit version from here: Link to download python 2.7 64bit

这篇关于在 Python 中安装 SNAP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆