So a temporary workaround is: export PYTHONPATH=$HOME/Desktop/pyjulia:$PYTHONPATH
This just adds the pyjulia repo to my PYTHONPATH. On Friday, September 23, 2016 at 3:01:10 PM UTC-7, Tim Wheeler wrote: > > Another pyjulia call for help. > > I am using Julia 0.5 and Anaconda 2.3.0 with Python 2.7. I followed the > pycall > install instructions <https://github.com/JuliaPy/pyjulia>. Julia is on my > PATH. > When I run python in the cloned pyjulia repo everything is fine. > When I run python in a different directory I get the following error: > > >>> import julia > >>> j = julia.Julia(debug=True) > JULIA_HOME = /bin, libjulia_path = > /bin/../lib/x86_64-linux-gnu/libjulia.so.0.5 > calling jl_init(/bin) > seems to work... > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/home/tim/anaconda/lib/python2.7/site-packages/julia/core.py", > line 288, in __init__ > self.api.jl_bytestring_ptr.restype = char_p > File "/home/tim/anaconda/lib/python2.7/ctypes/__init__.py", line 375, in > __getattr__ > func = self.__getitem__(name) > File "/home/tim/anaconda/lib/python2.7/ctypes/__init__.py", line 380, in > __getitem__ > func = self._FuncPtr((name_or_ordinal, self)) > AttributeError: /bin/../lib/x86_64-linux-gnu/libjulia.so.0.5: undefined > symbol: jl_bytestring_ptr > > Is this a path issue? Do I need to add the cloned pyjulia repo to my path > or something? > > Thank you. > >
