Can't install numpy using Pycall in Ubuntu

I can’t seem to understand the problem here can someone please help

The solution is in the error message. Run Pkg.build("PyCall"). This needs to be done after you add the package but does not need to be repeated until you add a new version.

1 Like

Pkg.bulid(β€œPyCall”)
ERROR: UndefVarError: bulid not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at ./sysimg.jl:13
[2] top-level scope at none:0
I am getting this error after build

You wrote Pkg.bulid when it should be Pkg.build.

1 Like

Building Conda ─→ ~/.julia/packages/Conda/3rPhK/deps/build.log
Building PyCall β†’ ~/.julia/packages/PyCall/zqDXB/deps/build.log
β”Œ Error: Error building PyCall:
β”‚ % Total % Received % Xferd Average Speed Time Time Time Current
β”‚ Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 62.6M 100 62.6M 0 0 403k 0 0:02:39 0:02:39 --:–:-- 398k
β”‚ PREFIX=/home/riya/.julia/conda/3
β”‚ reinstalling: python-3.7.1-h0371630_7 …
β”‚ /home/riya/.julia/conda/3/installer.sh: 373: /home/riya/.julia/conda/3/installer.sh: /home/riya/.julia/conda/3/pkgs/python-3.7.1-h0371630_7/bin/python: not found
β”‚ β”Œ Info: No system-wide Python was found; got the following error:
β”‚ β”‚ ErrorException(β€œpython3 is 64-bit, but Julia is 32-bit”)
β”‚ β”” using the Python distribution in the Conda package
β”‚ [ Info: Downloading miniconda installer …
β”‚ [ Info: Installing miniconda …
β”‚ ERROR: LoadError: failed process: Process(/home/riya/.julia/conda/3/installer.sh -b -f -p /home/riya/.julia/conda/3, ProcessExited(1)) [1]
β”‚ Stacktrace:
β”‚ [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
β”‚ [2] pipeline_error at ./process.jl:705 [inlined]
β”‚ [3] #run#505(::Bool, ::Function, ::Cmd) at ./process.jl:663
β”‚ [4] run at ./process.jl:661 [inlined]
β”‚ [5] _install_conda(::String, ::Bool) at /home/riya/.julia/packages/Conda/3rPhK/src/Conda.jl:169
β”‚ [6] _install_conda(::String) at /home/riya/.julia/packages/Conda/3rPhK/src/Conda.jl:155
β”‚ [7] runconda(::Cmd, ::String) at /home/riya/.julia/packages/Conda/3rPhK/src/Conda.jl:112
β”‚ [8] #add#1(::String, ::Function, ::String, ::String) at /home/riya/.julia/packages/Conda/3rPhK/src/Conda.jl:188
β”‚ [9] add at /home/riya/.julia/packages/Conda/3rPhK/src/Conda.jl:187 [inlined] (repeats 2 times)
β”‚ [10] top-level scope at /home/riya/.julia/packages/PyCall/zqDXB/deps/build.jl:84
β”‚ [11] include at ./boot.jl:317 [inlined]
β”‚ [12] include_relative(::Module, ::String) at ./loading.jl:1044
β”‚ [13] include(::Module, ::String) at ./sysimg.jl:29
β”‚ [14] include(::String) at ./client.jl:392
β”‚ [15] top-level scope at none:0
β”‚ in expression starting at /home/riya/.julia/packages/PyCall/zqDXB/deps/build.jl:43
β”” @ Pkg.Operations /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1096

I think there is some problem with python packages