unable to load modules specified on JULIA_LOAD_PATH environment variable
69 views
Skip to first unread message
Jack Crawford
unread,
Feb 2, 2015, 10:14:09 PM2/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to juli...@googlegroups.com
Setting the JULIA_LOAD_PATH with the location of new modules properly adds the paths to the LOAD_PATH var. However, I cannot use the modules via "using" unless i call include on the files directly. Is there a way to specify modules with the path variable without having to call include on everything?
Tim Holy
unread,
Feb 3, 2015, 5:21:39 AM2/3/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to juli...@googlegroups.com
That's not my experience at all. Just to check, your module files are named
something like `MyModule.jl` and you're using them as `using MyModule`, right?
(note the lack of the .jl extension in the `using` call)