Neural-style: Trouble shooting for luarocks images lib

Created on 29 Feb 2016  Â·  7Comments  Â·  Source: jcjohnson/neural-style

I didn't see this particular error in any open/closed issue.

If the follow error message is received, then image must be installed via luarocks

/torch/install/share/lua/5.1/trepl/init.lua:384: module 'libjpeg' not found:No LuaRocks module found for libjpeg
    no field package.preload['libjpeg']

Most helpful comment

try
brew install jpeg
then
luarocks install image

worked for me

All 7 comments

Same problem (Mac OS X)

exact same.

Did the solution work for y'all? That is the important thing.

On Tuesday, March 8, 2016, thunderdork [email protected] wrote:

exact same.

—
Reply to this email directly or view it on GitHub
https://github.com/jcjohnson/neural-style/issues/140#issuecomment-194084373
.

Steve Bussey • SalesLoft
• Software Engineer
| e. steve.[email protected] | w. http://salesloft.com
http://salesloft.com/?v=1&utm_expid=76406993-1.E5ncJhwyTAW9uGaR1WdBTA.1?utm_source=email-signature
| s. 3405 Piedmont Rd NE, Atlanta, GA 30305
https://www.facebook.com/SalesLoft https://twitter.com/SalesLoft
https://www.linkedin.com/company/salesloft
http://salesloft.com/prospector/#video http://blog.salesloft.com/blog/

Worked for me

on ubuntu installing this packages (png is probably not needed, but i've installed it anyway, that's why it's listed below)
$ sudo apt-get install libjpeg-dev libpng12-dev
and reinstalling image package
$ luarocks install image
worked for me

@vrockai
thanks any way ,it's work for me either,it was such a problem

try
brew install jpeg
then
luarocks install image

worked for me

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Faiz7412 picture Faiz7412  Â·  11Comments

Henry-Yan-HS picture Henry-Yan-HS  Â·  3Comments

JeffCrusey picture JeffCrusey  Â·  10Comments

wmco picture wmco  Â·  4Comments

kurtby picture kurtby  Â·  10Comments