- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在尝试安装 pyproj
,但我得到的是 Proj 可执行文件未找到。请设置 PROJ_DIR 变量
错误。
$ pipenv 安装 pyproj
我也试过 pipenv git+https://github.com/jswhit/pyproj.git#egg=pyproj
得到同样的结果。
$ pipenv 安装 pyproj
安装成功
锁定 [dev-packages] 依赖项
锁定 ['packages] 依赖项
成功!
从 Pipfile.lock 安装依赖项
[pipenv.exceptions.InstallError]: ['收集 pyproj==2.0.0(来自 -r/var/folders/g3/912
vtylj2hb71xf_d_8sxz480000gn/T/pipenv-qeun2uwi-requirements/pipenv-behbdii2-requirement.tx
t (line 1))', ' 使用缓存 https://files.pythonhosted.org/packages/53/4b/21643a93e7d33
941498087290636e34c6d534aa8baa1ada54cf0d096ffaa/pyproj-2.0.0.tar.gz', '正在安装构建
依赖项:开始',“正在安装构建依赖项:完成状态为'完成'”,
'获取构建轮子的要求:开始',“获取构建轮子的要求:
完成状态为 'error'", ' 命令/Users/darcyprice/.local/的完整输出
共享/virtualenvs/pure-dawn-52933-x98m1awW/bin/python3/Users/darcyprice/.local/share/vir
tualenvs/pure-dawn-52933-x98m1awW/lib/python3.6/site-packages/pip/_vendor/pep517/_in_proc
ess.py get_requires_for_build_wheel/var/folders/g3/912vtylj2hb71xf_d_8sxz480000gn/T/tmpw
q5vvpkd:', ' 未找到项目可执行文件。请设置 PROJ_DIR 变量。', ' ', ' ------
------------------------------']
[pipenv.exceptions.InstallError]: ['Command "/Users/darcyprice/.local/share/virtualenvs/p
ure-dawn-52933-x98m1awW/bin/python3/Users/darcyprice/.local/share/virtualenvs/pure-dawn-
52933-x98m1awW/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires
_for_build_wheel/var/folders/g3/912vtylj2hb71xf_d_8sxz480000gn/T/tmpwq5vvpkd"机智失败
/private/var/folders/g3/912vtylj2hb71xf_d_8sxz480000gn/T/pip-install-t_ 中的 h 错误代码 1
ap8o3w/pyproj']
最佳答案
pip install pyproj==1.9.6
同样的问题,上面用过。如果满足您的需要,请安装 2019 年 3 月 8 日之前的最新版本。
关于python - PyProj包安装PROJ_DIR变量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55084003/
IAR 中是否有可能添加额外的项目变量,如 $PROJ_DIR$指定我的项目环境? 我喜欢让我的项目保持便携性和适应性。 最佳答案 当然,根据手册,有: 变量/描述 $CONFIG_NAME$ 当前构
我是一名优秀的程序员,十分优秀!