I tried to see if I would have the same problem. I first tried 
Pkg.add("NetCDF") and I got same problem:






























*julia> Pkg.add("NetCDF")INFO: Updating cache of Conda...INFO: Cloning 
cache of Formatting from git://github.com/lindahua/Formatting.jl.gitINFO: 
Cloning cache of NetCDF from git://github.com/JuliaGeo/NetCDF.jl.gitINFO: 
Installing Conda v0.1.8INFO: Installing Formatting v0.1.4INFO: Installing 
NetCDF v0.3.0INFO: Building NetCDFINFO: Recompiling stale cache file 
/home/benjamin/.julia/lib/v0.4/URIParser.ji for module URIParser.INFO: 
Recompiling stale cache file /home/benjamin/.julia/lib/v0.4/SHA.ji for 
module SHA.INFO: Recompiling stale cache file 
/home/benjamin/.julia/lib/v0.4/Conda.ji for module Conda.WARNING: Module 
BinDeps uuid did not match cache file===============================[ 
ERROR: NetCDF ]================================LoadError: 
__precompile__(true) but require failed to create a precompiled cache 
filewhile loading /home/benjamin/.julia/v0.4/NetCDF/deps/build.jl, in 
expression starting on line 
6============================================================================================================================================================================================================[
 
BUILD ERRORS 
]============================================================================================================================WARNING:
 
NetCDF had build errors. - packages with build errors remain installed in 
/home/benjamin/.julia/v0.4 - build the package(s) and all dependencies with 
`Pkg.build("NetCDF")` - build a single package by running its 
`deps/build.jl` script*Then I did Pkg.update() followed by 
Pkg.build("NetCDF")

After that it seemed fine:







*julia> Pkg.test("NetCDF")INFO: Testing NetCDFINFO: NetCDF tests passed*

On Friday, November 20, 2015 at 8:02:33 AM UTC-6, J Luis wrote:
>
> Well, some variation of it yes. But I don't even have a deps.jl so test 
> for its existence in netcdf_c.jl always fails.
>
> sexta-feira, 20 de Novembro de 2015 às 11:11:48 UTC, Luthaf escreveu:
>>
>> Is this error the same as https://github.com/JuliaGeo/NetCDF.jl/issues/6
>>  ?
>>
>> -- 
>> Luthaf
>>
>> Le 19 novembre 2015 à 23:12:50, J Luis (jmf...@gmail.com) a écrit:
>>
>> Nope. The trouble is that after installing 295 MB of Condas (I mean a 
>> full python when I already had one and did not ask for another), there was 
>> some problem and libnetcdf was not installed.
>>
>>
>> quinta-feira, 19 de Novembro de 2015 às 21:12:15 UTC, Tony Kelman 
>> escreveu: 
>>>
>>> Looks like that's probably a dlopen failure? Or check the libnetcdf in 
>>> dependency walker? 
>>>
>>>
>>> On Thursday, November 19, 2015 at 12:35:10 PM UTC-8, J Luis wrote: 
>>>>
>>>> oops, I obviously meant 'cache' not 'cash'
>>>>
>>>> quinta-feira, 19 de Novembro de 2015 às 20:33:28 UTC, J Luis escreveu: 
>>>>>
>>>>> It's so annoying that Pkg.rm() does not rm. So I manually cleaned the 
>>>>> cash and .trash after Pkg.rm("Conda") but it still doesn't install netCDF.
>>>>> I wish I could use what I already have in my computer (netcdf and all 
>>>>> of its dependencies) and not duplicating them (if it worked).
>>>>>
>>>>> julia> Pkg.build("NetCDF")
>>>>> INFO: Building NetCDF
>>>>> Fetching package metadata: ....
>>>>> Solving package specifications: ................
>>>>> # All requested packages already installed.
>>>>> # packages in environment at C:\j\.julia\v0.4\Conda\deps\usr:
>>>>> #
>>>>> libnetcdf                 4.3.3.1                   vc9_4  [vc9]
>>>>> ===============================[ ERROR: NetCDF 
>>>>> ]================================
>>>>>
>>>>> LoadError: Provider BinDeps.PackageManager failed to satisfy 
>>>>> dependency libnetcdf
>>>>> while loading C:\j\.julia\v0.4\NetCDF\deps\build.jl, in expression 
>>>>> starting on line 12
>>>>>
>>>>>
>>>>> quinta-feira, 19 de Novembro de 2015 às 20:18:47 UTC, J Luis escreveu: 
>>>>>>
>>>>>> In fact I had. I always call julia from a bat file that I use to set 
>>>>>> paths of interest and calls my WinPython portable installation. Now 
>>>>>> changed 
>>>>>> that but I'm again in a broken state
>>>>>>
>>>>>> julia> Pkg.rm("NetCDF")
>>>>>> INFO: Installing Conda v0.1.8
>>>>>> INFO: Removing Formatting v0.1.4
>>>>>> INFO: Removing NetCDF v0.3.0
>>>>>> INFO: Package database updated
>>>>>>
>>>>>> julia> Pkg.add("NetCDF")
>>>>>> INFO: Installing Formatting v0.1.4
>>>>>> INFO: Installing NetCDF v0.3.0
>>>>>> INFO: Building NetCDF
>>>>>> Error: This installation of conda is not initialized. Use 'conda 
>>>>>> create -n
>>>>>> envname' to create a conda environment and 'source activate envname' 
>>>>>> to
>>>>>> activate it.
>>>>>>
>>>>>> # Note that pip installing conda is not the recommended way for 
>>>>>> setting up your
>>>>>> # system.  The recommended way for setting up a conda system is by 
>>>>>> installing
>>>>>> # Miniconda, see: http://repo.continuum.io/miniconda/index.html
>>>>>> ===============================[ ERROR: NetCDF ]==================
>>>>>>
>>>>>> quinta-feira, 19 de Novembro de 2015 às 19:53:39 UTC, Steven G. 
>>>>>> Johnson escreveu: 
>>>>>>>
>>>>>>> Have you set up some environment variables that could affect Python? 
>>>>>>>  e.g. is PYTHONPATH or similar set in your environment?  Maybe Conda 
>>>>>>> should 
>>>>>>> unset these before running the conda scripts.
>>>>>>>
>>>>>>

Reply via email to