JuliaPy / Conda.jl

Conda managing Julia binary dependencies
Other
174 stars 57 forks source link

When building Conda : syntax: incomplete: premature end of input #149

Closed Maestox closed 5 years ago

Maestox commented 5 years ago

Hi! I'm a beginner in Julia, so I hope that my message isn't useless. I'm on ArchLinux.

Building Conda →~/.julia/packages/Conda/CpuvI/deps/build.log ┌ Error: Error buildingConda: │ ERROR: LoadError: syntax: incomplete: premature end of input │ Stacktrace: │ [1] top-level scope at none:2 │ in expression starting at /home/louis/.julia/packages/Compat/HiX6E/src/Compat.jl:3 │ ERROR: LoadError: Failed to precompile Compat [34da2185-b29b-5c13-b0c7-acf172513d20] to /home/louis/.julia/compiled/v1.1/Compat/GSFWK.ji. │ Stacktrace: │ [1] include(::String) at ./client.jl:403 │ [2] top-level scope at none:0 │ in expression starting at /home/louis/.julia/packages/Conda/CpuvI/deps/build.jl:1 └ @ Pkg.Operations /build/julia/src/julia-1.1.0/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075

[I've tried to build Conda, because the adding of PyCall didn't work]

stevengj commented 5 years ago

Pkg.add("Conda") at the julia> prompt still works, but you have to import Pkg'. Or you can add Conda at the pkg> prompt. I've updated the README.

You definitely don't need to use add PyCall — it is not necessary to add PyCall to get Conda. Running add Conda automatically runs build Conda after it installs.

Regarding the error you are seeing, evidently this is a problem with Compat.jl and should be reported there.