Arh my bad. Looks like I just needed to set my PYTHONPATH.

Oliver

Den torsdag den 8. maj 2014 14.06.49 UTC+2 skrev Oliver Lylloff:
>
> Hello all,
>
> I have a basic .juliarc.jl script that adds various utility functions to 
> LOAD_PATH - as described in previous posts: 
> addpath<https://groups.google.com/forum/#!searchin/julia-users/addpath/julia-users/-zGh3imIUb4/BOyPsp190QEJ>
>  and search 
> path<https://groups.google.com/forum/#!searchin/julia-users/search$20path/julia-users/mxzztIZn-1Q/8lPKdwzXGI4J>
> This works fine with .jl files but now I want to add a python function to 
> LOAD_PATH such that @pyimport from PyCall can find it.
>
> I get an "ERROR: syntax: invalid character literal" due to a triple quote 
> (''') multiline comment in the python function. This error makes good sense.
>
> Any ideas on how I can do a 'require("file.py")' to make file.py part of 
> the julia search path? 
>
> Best,
> Oliver
>
>

Reply via email to