Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nimble installation fails #18

Open
HugoP707 opened this issue Dec 15, 2019 · 6 comments
Open

Nimble installation fails #18

HugoP707 opened this issue Dec 15, 2019 · 6 comments

Comments

@HugoP707
Copy link

Its been a while since the last commit, pls dont tell me nimtorch is dead, its wonderful, and i want to start using it, and libraries like this would pump up nim's popularity, are you leaving it for a while but planning on taking it back or just completely abandoned?

@sinkingsugar
Copy link
Owner

Well, I've stopped using it internally for now.
Nevertheless PRs are welcome but I cannot really give it any precious time for now without a reason basically.

@HugoP707
Copy link
Author

HugoP707 commented Dec 15, 2019

i am having problems trying to install it with
Nimble install torch
Reading official package list
Downloading https://github.com/fragcolor-xyz/nimtorch using git
Cloning latest tagged version: v0.2.3
Error: Could not read package info file in C:\Users\porra\AppData\Local\Temp\nimble_8956\githubcom_fragcolorxyznimtorch\torch.nimble;
... Reading as ini file failed with:
... Invalid section: .
... Evaluating as NimScript file failed with:
... C:\Users\porra\AppData\Local\Temp\nimble_8956\githubcom_fragcolorxyznimtorch\config.nims(1, 17) Error: cannot open file: fragments/buildandrun
... printPkgInfo() failed.

@HugoP707 HugoP707 changed the title Project maintenance Nimble installation fails Dec 15, 2019
@mratsim
Copy link

mratsim commented Dec 15, 2019

That's nimble not nimtorch.

  1. Nimble had a change with configuration last summer and from the error you may be using an old nimble which conflicts with the new one and gives similar errors: Invalid section: . nim-lang/nimble#665
  2. The new nimble can still error but after the package is installed:
    fails to evaluate .nimble file nim-lang/nimble#696

@HugoP707
Copy link
Author

Hello, sorry for the slow response,
i have nimble up to date (v: 0.11.0) and nothing changes, do i have to download another branch?
Pls help

@sinkingsugar
Copy link
Owner

Please try https://github.com/fragcolor-xyz/nimtorch#semi-manual-way or https://github.com/fragcolor-xyz/nimtorch#semi-manual-way, nimble is not supported as won't include pytorch required binaries.

@pkphilip
Copy link

I had the same issue with a number of packages including nimx. However, I had Nim installed in my home directory on Linux Mint 1.9.2. (~/Tools/Nim)

I do have the nim binary in my path and I am able to run it directly. However, it seems like nimble does not use nim from the path.

I fixed this issue by symlinking nim binary to /usr/local/bin/
sudo ln -s ~/Tools/Nim/bin/nim /usr/local/bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants