pypfop 0.2.0和环境变量FOP_CMD [英] pypfop 0.2.0 and environment variable FOP_CMD

查看:53
本文介绍了pypfop 0.2.0和环境变量FOP_CMD的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用本教程来运行pypfop 0.2.0. .不幸的是,我无法通过步骤2.2:

I'm trying to get working pypfop 0.2.0 with this tutorial. Unfortunately I'm not able to pass through step 2.2:

在任意位置解压缩并将环境变量FOP_CMD设置为解压缩文件夹的bin/fop.

Decompress in wherever place you like and set environment variable FOP_CMD to the bin/fop of the decompressed folder.

链接似乎断开了,所以我从这里下载了二进制软件包 ,但假设它没有.没关系.但是,如果我解压缩该程序包,则不会预路径bin/fop.

Links seem broken so I downloaded binary package from here but suppose it doesn't matter. However, if I decompress the package no path bin/fop is presneted.

我当前的FOP_CMD设置(我已经将fop包解压缩为~/utils):

My current FOP_CMD setup (I've decompressed fop package into ~/utils):

$ echo $FOP_CMD
~/utils/fop-1.1

现在,如果我尝试从教程中运行示例,则会出现此异常:

Now I get this exception if I try to run example from the tutorial:

Exception: Unable to find the path to execute FOP.Check the environment variable "FOP_CMD"

问题是,应该为环境变量FOP_CMD设置什么?

The question is, what should be environment variable FOP_CMD set for?

推荐答案

好,我终于找到了答案,这很简单:正确的方法是fop-1.1/fop.

OK, I've finally found out the answer and it is very simple: the correct way is fop-1.1/fop.

这篇关于pypfop 0.2.0和环境变量FOP_CMD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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