As Julia user I  am below novice level which is due to the fact that I have 
not yet managed to complete the Installation of my Julia Environment 
successfully. My main Problem is to bring PyPlot to work from within a 
portable Julia "Installation" along with a portable "Python" Installation.

Basic stuff with Julia alone and Juno in combination with Julia work, but 
so far, I get the following command/error message Dialog when trying to 
plot with PyPlot:

julia> using PyPlot
Warning: error initializing module PyPlot:
ErrorException("could not load module python: The specified module could 
not be
found.
")

*Conditions:*

*Computer/OS:* 
Window7 Enterprise
Service pack 1
Intel(R) Core(TM) i5-3320M CPU @2.6 GHz, 4 GB RAM
64 bit OS

no ADMIN rights, thus, the need for portable use!

* JULIA*
Version 0.3.4 (2014-12-26 10:42 UTC)
 Official http://julialang.org/ release
 x86_64-w64-mingw32

installed as part of the JUNO-JULIA bundle as downloaded on 
10-Jan-2015 from 
https://junolab.s3.amazonaws.com/release/1.0.0/juno-windows-x64.zip 

Installation Directory: C:\Daten\portable\juno_julia_windows64

C:\Daten\portable\juno_julia_windows64>dir
 Volume in drive C has no label.
 Volume Serial Number is 3261-EC6B
 Directory of C:\Daten\portable\juno_julia_windows64
12.01.2015  20:53    <DIR>          .
12.01.2015  20:53    <DIR>          ..
30.12.2014  16:42            10,244 .DS_Store
22.12.2014  23:38           814,944 .ninja_deps
22.12.2014  23:38           188,141 .ninja_log
13.12.2014  21:42        56,639,488 chromiumcontent.dll
13.12.2014  21:42           215,705 content_resources_200_percent.pak
13.12.2014  21:42         8,682,170 content_shell.pak
13.12.2014  21:42         3,231,832 d3dcompiler_46.dll
13.12.2014  21:42         1,712,128 ffmpegsumo.dll
13.12.2014  21:42        10,490,576 icudtl.dat
22.12.2014  23:38         7,341,056 juno.exe
11.12.2014  17:40           370,070 juno.ico
13.12.2014  21:42            47,616 libEGL.dll
13.12.2014  21:42         1,324,032 libGLESv2.dll
12.01.2015  13:54    <DIR>          locales
13.12.2014  21:42           455,328 msvcp120.dll
13.12.2014  21:42           970,912 msvcr120.dll
12.01.2015  13:55    <DIR>          resources
13.12.2014  21:42           197,960 ui_resources_200_percent.pak
13.12.2014  21:42           247,984 vccorlib120.dll
13.12.2014  21:42            81,768 xinput1_3.dll
              18 File(s)     93,021,954 bytes
               4 Dir(s)  84,276,662,272 bytes free


julia> Pkg.status()
2 required packages:
 - Jewel                         1.0.4
 - PyPlot                        1.5.0
15 additional packages:
 - Color                         0.3.15
 - Compat                        0.2.9
 - Compose                       0.3.10
 - DataStructures                0.3.5
 - Dates                         0.3.2
 - FactCheck                     0.2.5
 - FixedPointNumbers             0.0.6
 - Iterators                     0.1.7
 - JSON                          0.4.0
 - JuliaParser                   0.6.1
 - LNR                           0.0.1
 - LaTeXStrings                  0.1.2
 - Lazy                          0.8.3
 - PyCall                        0.7.3
 - Requires                      0.1.1


*Python:*

*Winpython (portable)*
Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)] 
on win
32

downloaded from http://winpython.sourceforge.net/ 

"Installation Directory": C:\Daten\portable\WinPython-64bit-2.7.9.1

 Directory of C:\Daten\portable\WinPython-64bit-2.7.9.1
11.01.2015  12:47    <DIR>          .
11.01.2015  12:47    <DIR>          ..
13.12.2014  10:05            66,192 IDLE (Python GUI).exe
13.12.2014  10:05           148,128 IPython Notebook.exe
13.12.2014  10:05           148,133 IPython Qt Console.exe
11.01.2015  12:47    <DIR>          python-2.7.9.amd64
13.12.2014  10:05           157,822 Qt Assistant.exe
13.12.2014  10:05           147,107 Qt Demo.exe
13.12.2014  10:05           150,144 Qt Designer.exe
13.12.2014  10:05           155,775 Qt Linguist.exe
11.01.2015  12:47    <DIR>          scripts
11.01.2015  14:25    <DIR>          settings
13.12.2014  10:05           146,075 Spyder (light).exe
13.12.2014  10:05           147,094 Spyder.exe
11.01.2015  12:47    <DIR>          tools
13.12.2014  10:05            78,979 WinPython Command Prompt.exe
13.12.2014  10:05           134,789 WinPython Control Panel.exe
13.12.2014  10:05            66,171 WinPython Interpreter.exe
              12 File(s)      1,546,409 bytes
               6 Dir(s)  84,273,041,408 bytes free


In standalone mode and accessed via Spider, Basic Python functions work and 
I am able to do plotting with matplotlib. 

Clearly, the two portable installations do not know of each other so that I 
have experimented with setting the Julia Environment variables to all sorts 
of values, however, without success. Below only some examples:

ENV["PYTHONHOME"] 
="C:\\Daten\\portable\\WinPython-64bit-2.7.9.1\\python-2.7.9.amd64"
ENV["PYTHONPATH"]="C:\\Daten\\portable\\WinPython-64bit-2.7.9.1\\python-2.7.9.amd64\\libs"
ENV["PYTHONPATH"]="C:\\Daten\\portable\\WinPython-64bit-2.7.9.1\\python-2.7.9.amd64\\Lib"
.....

alternatively and concurrently, I have tried to set the according Windows 
Environment variables (each time re-starting "command-line Julia" 
thereafter ):
set PYTHONHOME=C:\Daten\portable\WinPython-64bit-2.7.9.1\python-2.7.9.amd64\
set 
PYTHONPATH=C:\Daten\portable\WinPython-64bit-2.7.9.1\python-2.7.9.amd64\libs
.....

Any hints?

I cordially apologize, if the answer is apparent and I am just too 
illiterate!

 

 

Reply via email to