I've sorted this out. The Windows filesystem is case insensitive, and there was a file called C:\users\User\nemo. Apparently the IJulia notebook was using C:\users\User as the starting directory and apparently Julia looks in the pwd for any files named Nemo before trying to load the module Nemo from the package Nemo.jl.
Unfortunately I still have other issues, related to it not being able to find libflint.dll from the IJulia notebook when it does find it from the console. I presume that IJulia also plays with LD_LOAD_PATH, or IPython notebook uses its own mingw or something like that. I guess I'll figure that out in the end. We do modify the LD_LOAD_PATH in Nemo, which we know is not the right way to do things. Bill. On Thursday, 25 September 2014 17:47:10 UTC+2, Bill Hart wrote: > > I have quite a number of difficulties with IJulia on Windows 7. > > It complained about WinRPM, LibCurl, Nettle. I managed to resolve them all > by following advice on various tickets. > > But the following issue still eludes me. I'm loading Nemo in the usual way: > > using Nemo.Rings > > inside IJulia. It complains: > > syntax: extra token "home" after end of expression > > while loading C:\Users\user\Nemo, in expression starting on line 3 > while loading In[1], in expression starting on line 1 > > in include at boot.jl:245 > in include_from_node1 at loading.jl:128 > > > That file "C:\Users\user\Nemo" doesn't exist. > > > Moreover, the word "home" does not appear anywhere in the Nemo repository (at > least not in Julia code). However, Nemo works absolutely fine from the Julia > console. > > > After a search, I found that other people had hit similar issues with other > packages, but they just said "do Pkg.update()" to fix this, without a hint as > to what causes it. > > > It looks like some pattern matching issue. But I can't even figure out where > to look for the source of the issue. Can anyone help? > > > Bill. > >
