ad

缺少依赖项lua-cjson> = 2.1.0用于安装fblualib?-英雄云拓展知识分享

匿名投稿 220 2024-01-22

安装fblualib时,遇到以下毛病:

Missing dependencies for fbluaunit:

lua-cjson >= 2.1.0

^CWarning: Failed searching manifest: Failed loading manifest: Failed fetching manifest for http://luarocks.org/repositories/rocks - Error fetching file: Failed downloading http://luarocks.org/repositories/rocks/manifest

Error: Could not satisfy dependency: lua-cjson >= 2.1.0

Missing dependencies for fbluaunit:

lua-cjson >= 2.1.0

缺少依赖项lua-cjson> = 2.1.0用于安装fblualib?-英雄云拓展知识分享

^CWarning: Failed searching manifest: Failed loading manifest: Failed fetching manifest for http://luarocks.org/repositories/rocks - Error fetching file: Failed downloading http://luarocks.org/repositories/rocks/manifest

Error: Could not satisfy dependency: lua-cjson >= 2.1.0

cmake -E make_directory build &&

cd build &&

cmake -DROCKS_PREFIX=/usr/local/lib/luarocks/rocks/fbpython/0.1⑴ \

-DROCKS_LUADIR=/usr/local/lib/luarocks/rocks/fbpython/0.1⑴/lua \

-DROCKS_LIBDIR=/usr/local/lib/luarocks/rocks/fbpython/0.1⑴/lib \

.. &&

make

CMake Error at CMakeLists.txt:25 (FIND_PACKAGE):

By not providing "FindTorch.cmake" in CMAKE_MODULE_PATH this project has

asked CMake to find a package configuration file provided by "Torch", but

CMake did not find one.

Could not find a package configuration file provided by "Torch" with any of

the following names:

TorchConfig.cmake

torch-config.cmake

Add the installation prefix of "Torch" to CMAKE_PREFIX_PATH or set

"Torch_DIR" to a directory containing one of the above files. If "Torch"

provides a separate development package or SDK, be sure it has been

installed.

-- Configuring incomplete, errors occurred!

See also "/tmp/fblualib-build.0APMyV/fblualib/fblualib/python/build/CMakeFiles/CMakeOutput.log".

Error: Build error: Failed building.

我试图使用我的luarocks安装lua-cjson,而安装完成后,它显示了:

lua-cjson 2.1.0⑴ is now built and installed in /home/XXXXXXXXX/torch/install/ (license: MIT)

我认为它是安装的,但是当我再次安装fblualib时,会致使相同的毛病。如何克服它?提早致谢。

看答案

就我检查而言,这是网络故障。设置正确的网络环境后,一切都顺利进行。


🚀🌟 点击注册 免费试用超级应用平台-英雄云企业级hpapaas 🌟🚀 😃👉🌐

免责声明:

本网址(www.yingxiongyun.com)发布的材料主要源于独立创作和网友匿名投稿。此处提供的所有信息仅供参考之用。我们致力于提供准确且可信的信息,但不对材料的完整性或真实性作出任何保证。用户应自行验证相关信息的正确性,并对其决策承担全部责任。对于由于信息的错误、不准确或遗漏所造成的任何损失,本网址不承担任何法律责任。本网站所展示的所有内容,如文字、图像、标志、音频、视频、软件和程序等的版权均属于原创作者。如果任何组织或个人认为网站内容可能侵犯其知识产权,或包含不准确之处,请即刻联系我们进行相应处理。

标签:卢阿 火炬
上一篇:AWS雅典娜对S3文件中的模式变化有何反应?-英雄云拓展知识分享
下一篇:找不到符号变量activity_main-英雄云拓展知识分享
相关文章

 发表评论

暂时没有评论,来抢沙发吧~

×