First off, I've installed all of the packages I need for both Python and 
Julia and everything works so far except PyCall. It works when I use Julia 
interactively in terminal but won't work when I use it in Julia Studio or 
try to run a .jl script. 

Zachs-MacBook-Pro:~ zachbickel$ julia
>
>                *_*
>
>    *_       **_ **_**(_)**_**     |  A fresh approach to technical 
> computing*
>
>   *(_)**     | **(_)* *(_)**    |  Documentation: 
> http://docs.julialang.org*
>
> *   _ _   _| |_  __ _   |  Type "help()" to list help topics*
>
> *  | | | | | | |/ _` |  |*
>
> *  | | |_| | | | (_| |  |  Version 0.3.0-prerelease+1200 (2014-01-25 00:16 
> UTC)*
>
> * _/ |\__'_|_|_|\__'_|  |  Commit 40d8892 (0 days old master)*
>
> *|__/                   |  x86_64-apple-darwin13.0.0*
>
>
> *julia> **using PyCall*
>
>
> *julia> **@pyimport math*
>
>
> *julia> **math.sin(3)*
>
> *0.1411200080598672*
>
When I run it in julia studio or in a script, it will just sit there and do 
nothing. No errors or anything. I tried setting PYTHONPATH but that didn't 
change anything. 

Any ideas?

For reference, 

> *julia> **Pkg.status()*
>
> 13 required packages:
>
>  - Blocks                        0.0.1
>
>  - Calculus                      0.1.3
>
>  - Color                         0.2.8
>
>  - DataArrays                    0.1.1
>
>  - DataFrames                    0.5.1
>
>  - Distributions                 0.3.0
>
>  - DualNumbers                   0.0.0
>
>  - GZip                          0.2.7
>
>  - Optim                         0.2.0
>
>  - Options                       0.2.2
>
>  - PyPlot                        1.2.0
>
>  - SortingAlgorithms             0.0.1
>
>  - StatsBase                     0.3.5
>
> 3 additional packages:
>
>  - NumericExtensions             0.3.6
>
>  - PyCall                        0.4.1
>
>  - Stats                         0.0.0-             pinned.5113ce60.tmp 
> (unregistered)
>

Python 2.7.5 (default, Aug 25 2013, 00:04:04) 

[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin

Type "help", "copyright", "credits" or "license" for more information.
>>>  

>  
>

Reply via email to