When I install Julia 4.1 on windows and try to install IJulia via conda.jl 
by
Pkg.install("Conda")
Pkg.install("IJulia")

It seems that the IJulia can not be built,how to fix it?
julia> Pkg.build("IJulia")
INFO: Building WinRPM
INFO: Downloading https:
//cache.e.ip.saba.us/http://download.opensuse.org/reposi
tories/windows:/mingw:/win32/openSUSE_13.2/repodata/repomd.xml
INFO: Downloading 
https://cache.e.ip.saba.us/http://download.opensuse.org/reposi
tories/windows:/mingw:/win64/openSUSE_13.2/repodata/repomd.xml
INFO: Building Nettle
INFO: Updating WinRPM package list
INFO: Downloading 
https://cache.e.ip.saba.us/http://download.opensuse.org/reposi
tories/windows:/mingw:/win32/openSUSE_13.2/repodata/repomd.xml
INFO: Downloading 
https://cache.e.ip.saba.us/http://download.opensuse.org/reposi
tories/windows:/mingw:/win64/openSUSE_13.2/repodata/repomd.xml
INFO: Building ZMQ
INFO: Building IJulia
INFO: Found Jupyter version 4.0.6: jupyter
Writing IJulia kernelspec to 
C:\Users\Roger\AppData\Roaming\SPB_Data\.julia\v0.
4\IJulia\deps\julia-0.4\kernel.json ...
Installing julia kernelspec julia-0.4
Install a kernel specification directory.

Given a SOURCE DIRECTORY containing a kernel spec, jupyter will copy that
directory into one of the Jupyter kernel directories. The default is to 
install
kernelspecs for all users. `--user` can be specified to install a kernel 
only
for the current user.

Options
-------

Arguments that take values are actually convenience aliases to full
Configurables, whose aliases are listed on the help line. For more 
information
on full configurables, see '--help-all'.

--debug
   set log level to logging.DEBUG (maximize logging output)
--user
   Install to the per-user kernel registry
--replace
   Replace any existing kernel spec with this name.
--prefix=<Unicode> (InstallKernelSpec.prefix)
   Default: ''
   Specify a prefix to install to, e.g. an env. The kernelspec will be
   installed in PREFIX/share/jupyter/kernels/
--config=<Unicode> (JupyterApp.config_file)
   Default: u''
   Full path of a config file.
--name=<Unicode> (InstallKernelSpec.kernel_name)
   Default: ''
   Install the kernel spec with this name
--log-level=<Enum> (Application.log_level)
   Default: 30
   Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 
'CRITICAL
')
   Set the log level by value or name.

To see all available configurables, use `--help-all`

Examples
--------

    jupyter kernelspec install /path/to/my_kernel --user

[InstallKernelSpec] CRITICAL | Bad config encountered during initialization:
[InstallKernelSpec] CRITICAL | Could not decode 
'C:\\Users\\\xc5\xa3\xc4\xcc\xd5
\xdc\\AppData\\Roaming\\SPB_Data\\.jupyter' for unicode trait 'config_dir' of 
an
InstallKernelSpec instance.
===============================[ ERROR: IJulia 
]================================


LoadError: UnicodeError: invalid character index
while loading C:\Users\Roger\AppData\Roaming\SPB_Data\.julia\v0.4\IJulia\
deps\b
uild.jl, in expression starting on line 129

================================================================================


================================[ BUILD ERRORS 
]================================


WARNING: IJulia had build errors.

 - packages with build errors remain installed in C:\Users\Roger\AppData\
Roamin
g\SPB_Data\.julia\v0.4
- build the package(s) and all dependencies with `Pkg.build("IJulia")`
- build a single package by running its `deps/build.jl` script

================================================================================
在此输入代码...

julia> Pkg.build("IJulia")
INFO: Building WinRPM
INFO: Downloading 
https://cache.e.ip.saba.us/http://download.opensuse.org/reposi
tories/windows:/mingw:/win32/openSUSE_13.2/repodata/repomd.xml
INFO: Downloading 
https://cache.e.ip.saba.us/http://download.opensuse.org/reposi
tories/windows:/mingw:/win64/openSUSE_13.2/repodata/repomd.xml
INFO: Building Nettle
INFO: Updating WinRPM package list
INFO: Downloading 
https://cache.e.ip.saba.us/http://download.opensuse.org/reposi
tories/windows:/mingw:/win32/openSUSE_13.2/repodata/repomd.xml
INFO: Downloading 
https://cache.e.ip.saba.us/http://download.opensuse.org/reposi
tories/windows:/mingw:/win64/openSUSE_13.2/repodata/repomd.xml
INFO: Building ZMQ
INFO: Building IJulia
INFO: Found Jupyter version 4.0.6: jupyter
Writing IJulia kernelspec to C:\Users\\AppData\Roaming\SPB_Data\.julia\v0.
4\IJulia\deps\julia-0.4\kernel.json ...
Installing julia kernelspec julia-0.4
Install a kernel specification directory.

Given a SOURCE DIRECTORY containing a kernel spec, jupyter will copy that
directory into one of the Jupyter kernel directories. The default is to 
install
kernelspecs for all users. `--user` can be specified to install a kernel 
only
for the current user.

Options
-------

Arguments that take values are actually convenience aliases to full
Configurables, whose aliases are listed on the help line. For more 
information
on full configurables, see '--help-all'.

--debug
    set log level to logging.DEBUG (maximize logging output)
--user
    Install to the per-user kernel registry
--replace
    Replace any existing kernel spec with this name.
--prefix=<Unicode> (InstallKernelSpec.prefix)
    Default: ''
    Specify a prefix to install to, e.g. an env. The kernelspec will be
    installed in PREFIX/share/jupyter/kernels/
--config=<Unicode> (JupyterApp.config_file)
    Default: u''
    Full path of a config file.
--name=<Unicode> (InstallKernelSpec.kernel_name)
    Default: ''
    Install the kernel spec with this name
--log-level=<Enum> (Application.log_level)
    Default: 30
    Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 
'CRITICAL
')
    Set the log level by value or name.

To see all available configurables, use `--help-all`

Examples
--------

    jupyter kernelspec install /path/to/my_kernel --user

[InstallKernelSpec] CRITICAL | Bad config encountered during initialization:
[InstallKernelSpec] CRITICAL | Could not decode 
'C:\\Users\\\xc5\xa3\xc4\xcc\xd5
\xdc\\AppData\\Roaming\\SPB_Data\\.jupyter' for unicode trait 'config_dir' 
of an
 InstallKernelSpec instance.
===============================[ ERROR: IJulia 
]================================


LoadError: UnicodeError: invalid character index
while loading 
C:\Users\Roger\AppData\Roaming\SPB_Data\.julia\v0.4\IJulia\deps\b
uild.jl, in expression starting on line 129

================================================================================


================================[ BUILD ERRORS 
]================================


WARNING: IJulia had build errors.

 - packages with build errors remain installed in 
C:\Users\Roger\AppData\Roamin
g\SPB_Data\.julia\v0.4
 - build the package(s) and all dependencies with `Pkg.build("IJulia")`
 - build a single package by running its `deps/build.jl` script

================================================================================


Reply via email to