My issue is that same as the OPs, but I'm trying to install NLopt.jl rather
than Gadfly. I perennially have this issue with Python files, but it seems
that I've had better luck getting stuff to work manually with Python than
Julia.
Pkg.init() doesn't work for me.
I first looked in the require file for NLopt. It has BinDeps and
MathProgBase 0.3.0 0.4.0-. BinDeps requires URIParser and SHA. So my .julia
folder contains each of those .zip files and the unzipped folders that
include the directories. However, when I try to start with the ones without
dependencies, I run
require("MathProgBase")
then I get an error about it not being found. I tried a bunch of variations
on this (and following the first answer on
http://stackoverflow.com/questions/14092316/simplest-ways-to-make-a-julia-package-available-to-others)
without much luck.
On Tuesday, November 26, 2013 at 1:07:30 PM UTC-5, Connor Johnson wrote:
>
> Aha! I am on the trail. I called Pkg.init() from the Julia command line
> interpreter, is that what you meant? At any rate, it gave me an error about
> a failed process, which I think is due to the firewall. I went ahead and
> made a .julia directroy in the directory output by `homedir()` as you
> suggested, and I got a dependency error instead of a process error, so
> that's good news.
>
> Thanks for your help!
>
> On Tuesday, November 26, 2013 11:28:58 AM UTC-6, Connor Johnson wrote:
>>
>> I saw on stackoverflow
>> <http://www.google.com/url?q=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F14092316%2Fsimplest-ways-to-make-a-julia-package-available-to-others&sa=D&sntz=1&usg=AFQjCNGf-64GBqjIckQilbXbAUq-Ns7dBA>
>>
>> that I could `require` a package that was placed in `.julia/`, so I
>> downloaded the Gadfly zip file from GitHub manually, and then started
>> putting it different places in my C:\julia directory, and tried to
>> `require` it from the command line, but to no avail. Is there a way to
>> install packages manually like you do in Python with `python setup.py
>> install`?
>>
>> I am using Windows 7 (because I'm at work), and Pkg.add("Gadfly") won't
>> work because of a firewall or something. (I can use Invoke-WebRequest via
>> Windows PowerShell, but I can't use pip, the Python installer for some
>> reason.)
>>
>> Thanks!
>>
>