nimlibxlsxwriter icon indicating copy to clipboard operation
nimlibxlsxwriter copied to clipboard

Installation issues

Open willcrutchley opened this issue 6 years ago • 3 comments

Not sure why, but I had to manually add nimgen and c2nim to my path after installing them with nimble in order to install nimlibxlsxwriter. Maybe this is a nimble issue? But I thought it could help to have this as a tip in the installation instructions in case anyone else has this problem too. Thanks.

willcrutchley avatar Jan 27 '19 14:01 willcrutchley

For me I just had to nimble install nimgen first.

bitnom avatar Oct 17 '19 10:10 bitnom

Hi, i am trying to install this package but any time i try i get

Resetting nimlibxlsxwriter
File doesn't exist: include/xlsxwriter.h
stack trace: (most recent call last)
/tmp/nimblecache-1860451227/nimscriptapi_860834137.nim(199, 29)
/home/cnerd/Public/nimlibxlsxwriter/nimlibxlsxwriter.nimble(22, 14) installBefore
/home/cnerd/Public/nimlibxlsxwriter/nimlibxlsxwriter.nimble(19, 10) setupTask
/home/cnerd/.choosenim/toolchains/nim-1.6.2/lib/system/nimscript.nim(273, 7) exec
/home/cnerd/.choosenim/toolchains/nim-1.6.2/lib/system/nimscript.nim(273, 7) Error: unhandled exception: FAILED: nimgen nimlibxlsxwriter.cfg [OSError]
       Tip: 1 messages have been suppressed, use --verbose to show them.
     Error: Exception raised during nimble script execution

I have installed nimgen and i have cloned and sudo make install libxlsxwriter the original project but i still get this error. Is there something i am missing ?

C-NERD avatar Dec 22 '21 15:12 C-NERD

Hi @C-NERD Maybe my fork will work for you: https://github.com/ThomasTJdev/nimlibxlsxwriter

  1. Ensure that you have latest version of nimgen: https://github.com/genotrance/nimgen
  2. Now use the current master of my fork (uses nimgen). or
  3. Use my PR https://github.com/ThomasTJdev/nimlibxlsxwriter/pull/5 which has compiled nim-files. It avoids the use of nimgen.

ThomasTJdev avatar Dec 22 '21 16:12 ThomasTJdev