Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyCall breaks due to lack of wstring() #295

Closed
iagobaapellaniz opened this issue Jul 13, 2016 · 2 comments
Closed

PyCall breaks due to lack of wstring() #295

iagobaapellaniz opened this issue Jul 13, 2016 · 2 comments

Comments

@iagobaapellaniz
Copy link

Installing LegacyString to be able to make use of wstring with using LegacyString doesn't work.

Error message:

ERROR: LoadError: LoadError: `wstring` has been moved to the package LegacyStrings.jl:
Run Pkg.add("LegacyStrings") to install LegacyStrings on Julia v0.5-;
Then do `using LegacyStrings` to get `wstring`.

 in include_from_node1(::String) at ./loading.jl:426 (repeats 2 times)
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:234
 in process_options(::Base.JLOptions) at ./client.jl:243
 in _start() at ./client.jl:322
while loading /home/iapellaniz/.julia/v0.5/PyCall/src/../deps/deps.jl, in expression starting on line 3
while loading /home/iapellaniz/.julia/v0.5/PyCall/src/PyCall.jl, in expression starting on line 38
ERROR: Failed to precompile PyCall to /home/iapellaniz/.julia/lib/v0.5/PyCall.ji
 in compilecache(::String) at ./loading.jl:505
 in require(::Symbol) at ./loading.jl:364
 in eval(::Module, ::Any) at ./boot.jl:234
 in macro expansion at ./REPL.jl:92 [inlined]
 in (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:46

Version info:

Julia Version 0.5.0-dev+5345
Commit adbd3ac (2016-07-12 07:29 UTC)
Platform Info:
  System: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.7.1 (ORCJIT, ivybridge)
@stevengj
Copy link
Member

stevengj commented Jul 13, 2016

Should work now after you run Pkg.checkout("PyCall"); Pkg.build("PyCall")

@iagobaapellaniz
Copy link
Author

Thanks for your rapid response. I have had to tweak the julia code to make it work. More details will come if necesary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants