我希望使用java2python能够很好地将一堆文件转换为python。我安装的第一件事是按照规定安装antlr3.1.3。然后我安装了java2python0.5.0。在这一步中一切顺利:C:\Users\Patrick>pip install java2python
Downloading/unpacking java2python
Running setup.py (path:c:\users\patrick\appdata\local\temp\pip_build_Patrick\j
ava2python\setup.py) egg_info for package java2python
Requirement already satisfied (use --upgrade to upgrade): antlr-python-runtime==
3.1.3 in c:\users\patrick\anaconda\lib\site-packages\antlr_python_runtime-3.1.3-
py2.7.egg (from java2python)
Installing collected packages: java2python
Running setup.py install for java2python
Successfully installed java2python
Cleaning up..
但是,当我尝试使用命令时:
^{pr2}$
我得到以下错误:The program or feature "\??\C:\Users\Patrick\Anaconda\Scripts\j2py.exe" cannot start or run due to incompatibility with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available.
在这个链接中,似乎有某种windows 64位的下载,但它需要ActivePython。。?不管怎样,如果有人能够得到这项工作或知道另一个工具,我可以用来做同样的事情,请让我知道。我使用的是python2.7.6,我的系统实际上是64位的windows7。在