Comments (10)
Hi,
Which version of luarocks do you have? Did you try with the luajit+luarocks provided in there:
https://github.com/torch/luajit-rocks
?
Cheers,
Ronan
from torch7.
Hello,
Yeah, should had mentioned! luarocks 2.0.12 (and luajit 2.0.2).
I might try that, didn't find it on the install-deps and according to the wiki: "only requires LuaJIT (>= 2.0) and Luarocks (>= 2.0.12)", but could be outdated.
(Might take some time to try, by making a clean gentoo ebuild)
from torch7.
Did as above, and is similar:
-- Install configuration: "Release"
CMake Error at cmake_install.cmake:48 (FILE):
file cannot create directory: /usr/local/share/cmake/torch. Maybe need
administrative privileges.
make: *** [install] Error 1
Error: Build error: Failed installing.
Without --local also fails, but should be a separate issue (appears to use hardcoded/non-$LUA_PATH dirs, which on other distros might coincide).
from torch7.
hey, how did you install torch? It looks like it installs the repos relative to the torch dir. Did you try using the ezinstall script as is, except for changing the apt-get calls to gentoo-equivalents?
from torch7.
Well the install-deps script has been replicated in Gentoo form as is, just replacing by gentoo equivalents.
As for the install-script, I also replicated it (see first post). It just sets CMAKE_LIBRARY_PATH, PREFIX and installs luajit-rocks.git before pulling torch etc. I ommited a couple of different PREFIX I tried, makes no difference.
I was just avoiding luajit-rocks and a system install, but now also tried those.
from torch7.
@koraykv @clementfarabet : do you remember some problems with --local?
from torch7.
I never use --local. I usually make a entirely local install, using PREFIX:
curl -s https://raw.github.com/torch/ezinstall/master/install-luajit+torch | PREFIX=~/local bash
There could be some problems with --local, I'd have to try that.
from torch7.
@clementfarabet It still asks for a password for sudo this way.
from torch7.
I have to try, we use --local all the time, but we have our own script :)
from torch7.
the https://github.com/torch/distro approach is completely local install. closing the task.
from torch7.
Related Issues (20)
- Unable to install torch7 on manjaro HOT 2
- tls_local_tensor_type_set can not find _C.pyd simplely?
- YOLO3 make error
- build failed on AArch64, Fedora 33
- た
- Cannot install. Error: Unknown command: cask HOT 2
- torch.load issue on different folder
- cpu Torch7 installation procedure???
- 'python-software-properties' has no installation candidate HOT 1
- Cannot install new package using luarocks install
- Trying to install torch7 on raspberry pi
- Trying to install Torch on MacbookPro with Apple M1 HOT 1
- module 'paths' not found:
- Hrhdh HOT 1
- connnect
- I'm facing difficulty in installing installing the torch7 platform on ubuntu 20.04 wsl(windows 64 bit) HOT 2
- RuntimeError: Tracer cannot infer type of Seq2SeqLMOutput
- nn.Identity() Impact model accuracy
- Nn.comv3d does not support MPS. How to handle it? Can it not be used on Mac M chips
- ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. torchvision 0.18.0 requires torch==2.3.0, but you have torch 2.2.1 which is incompatible.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torch7.