Hi. When you cross-post the same question to both the mailing list and as a 
new Github issue, it would help people keep track of things if you could 
post links from one to the other 
- https://github.com/JuliaLang/julia/issues/6687

As I wrote on the Github issue, this is due to the LibCURL.jl package 
(https://github.com/amitmurthy/LibCURL.jl, not forio/Curl.jl which is 
deprecated in lieu of Requests.jl) not handling its binary dependencies 
properly for Windows users. The Requests.jl package appears to have its 
dependencies in better order (and it even has tests! yay for tests) and 
could potentially be a replacement for LibCURL.jl and HTTPClient.jl, but 
that would require rewriting some of the Plotly code's HTTP posts. I gave 
that a quick try a few weeks ago when I was looking at trying to use 
Plotly.jl myself, but gave up for the time being since simple replacement 
wasn't working.

I think I just worked out how to get LibCURL.jl to automatically download 
the curl library for you on Windows, and opened a pull request 
here https://github.com/amitmurthy/LibCURL.jl/pull/10. If you're in a 
hurry, you should be able to try out my branch by doing

Pkg.rm("LibCURL")
Pkg.clone("https://github.com/tkelman/LibCURL.jl";)
Pkg.checkout("LibCURL", "winrpm")

Then restart Julia and see if using Plotly works any better. Remember to 
eventually switch back to the official version of LibCURL, once Windows 
support is working in the original repository.


On Tuesday, April 29, 2014 5:59:23 AM UTC-7, sam cooper wrote:
>
> When trying to run the Plotly.plot function in julia (running on windows 8 
> unfortunatley I can't change this having tried extensivley) I am 
> encountering the error message:
>
>  error compiling setup_easy_handle: could not load module libcurl
>
> This problem seems to be a recurrent problem in windows environments, 
> googling it brings up several threads where this is a problem though none 
> seem to have been properly resolved:
>
> https://github.com/forio/Curl.jl/issues/10
> https://www.mail-archive.com/julia-users@googlegroups.com/msg04638.html
> https://groups.google.com/forum/#!topic/julia-users/2XpGjLUC0ow
>
>
> I ran Pkg.update() as one thread suggested this had been resolved in a 
> recent update, no luck.
>
> Has anyone found a resolution to this? If not is there any possibility of 
> this problem being resolved in the near future or does anyone have any 
> advice on how I might set about resolving this problem myself?
>
> Thank you very much in advance for any help.
> Sam
>

Reply via email to