BTNC / distro-win

Torch installation in a self-contained folder for windows with msvc, and most changes have already been merged to torch/distro. However since torch is decommissioned in favor of pytorch, this repository is no longer maintained.
BSD 3-Clause "New" or "Revised" License
24 stars 4 forks source link

Installation error (rockspecs\luafilesystems) #16

Open bk-00 opened 7 years ago

bk-00 commented 7 years ago

I have the following error when installing Torch 7 and try to solve it for a few days, but still cant get the solution. For your information, I run the installation in x64 Native Tools Command Prompt 2017 (Administrator Mode). I have followed the guide from https://github.com/BTNC/distro-win/blob/master/win-files/README.md to do my installation. I also have installed cmake, git and vs2017.

12

Any suggestion to fix the problem ?

BTNC commented 6 years ago

Hi, it seems you downloaded the distro-win.zip. If so, please try to git clone the distro-win repository and reinstall. If not, please check if luafilesystem is properly git cloned under extra/luafilesystem directory.

bk-00 commented 6 years ago

Hi, the same problem still occurs even though I have git cloned the distro-win and re-installed. Besides, the luafilesystem directory is also properly git cloned and installed as shown below. error2

For your more detailed information, I used Anaconda 4.3 with python 2.7.13, cmake 3.9 and VS2017. I have also added the path linked to luafilesystem directory into system environment. Any suggestion to fix the problem ?

BTNC commented 6 years ago

You can try to edit install.bat to see current status during installation, for example, add ' && cd && dir && dir rockspecs' etc after the 'cd luafilesystem' command. ps1, I can install it with no problem with a fresh git cloned distro-win, maybe you can try to git clone into a new directory and reinstall a fresh one. ps2, Run install.bat for the first time for the git cloned distro should show submodules information during 'Updating submodules' phase, however your screenshot does not show such information. I guess you tried install for several times?

dingyiwei commented 6 years ago

Hi @BTNC , I met the same problem exactly and I do have these files. I also tried to run %LUAROCKS_CMD% make rockspecs\luafilesystem-1.6.3-1.rockspec in command line directly, but it still failed. image

BTNC commented 6 years ago

Hi @dingyiwei , sorry for late response, I can not figure out what is wrong in your case.