i already installed pyplot, build pycall even conda. When i try to execute the following code:
ENV["PYTHON"]="" #i dunno if this line is required using PyPlot x = linspace(0,2*pi,1000); y = sin.(3 * x + 4 * cos.(2 * x)); plot(x, y, color="red", linewidth=2.0, linestyle="--") title("A sinusoidally modulated sinusoid") show()
i receive the following message: (almost a mom's letter hahahahaha)
INFO: Installing matplotlib via the Conda matplotlib package...
Traceback (most recent call last):
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/exceptions.py", line 724, in __call__
return func(*args, **kwargs)
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/cli/main.py", line 78, in _main
exit_code = do_call(args, p)
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/cli/conda_argparse.py", line 76, in do_call
exit_code = getattr(module, func_name)(args, parser)
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/cli/main_install.py", line 11, in execute
install(args, parser, 'install')
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/cli/install.py", line 255, in install
handle_txn(progressive_fetch_extract, unlink_link_transaction, prefix, args, newenv)
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/cli/install.py", line 285, in handle_txn
unlink_link_transaction.execute()
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/core/link.py", line 220, in execute
self.verify()
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/common/io.py", line 415, in decorated
return f(*args, **kwds)
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/core/link.py", line 207, in verify
exceptions = self._verify(self.prefix_setups, self.prefix_action_groups)
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/core/link.py", line 460, in _verify
cls._verify_transaction_level(prefix_setups),
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/core/link.py", line 455, in <genexpr>
exceptions = tuple(exc for exc in concatv(
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/core/link.py", line 323, in _verify_individual_level
error_result = axn.verify()
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/core/path_actions.py", line 312, in verify
source_sha256 = compute_sha256sum(self.source_full_path)
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/gateways/disk/read.py", line 75, in compute_sha256sum
return _digest_path('sha256', file_full_path)
File "/home/valdenir/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/conda/gateways/disk/read.py", line 65, in _digest_path
for chunk in iter(partial(fh.read, 8192), b''):
IOError: [Errno 5] Input/output error
Hi guys,
i already installed pyplot, build pycall even conda. When i try to execute the following code:
ENV["PYTHON"]="" #i dunno if this line is required using PyPlot x = linspace(0,2*pi,1000); y = sin.(3 * x + 4 * cos.(2 * x)); plot(x, y, color="red", linewidth=2.0, linestyle="--") title("A sinusoidally modulated sinusoid") show()
i receive the following message: (almost a mom's letter hahahahaha)
INFO: Installing matplotlib via the Conda matplotlib package...
Solving environment: done
Package Plan
environment location: /home/valdenir/.julia/v0.6/Conda/deps/usr
added / updated specs:
The following NEW packages will be INSTALLED:
Preparing transaction: done
Verifying transaction: failed
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
$ /home/valdenir/.julia/v0.6/Conda/deps/usr/bin/conda install -y matplotlib
environment variables:
populated config files : /home/valdenir/.julia/v0.6/Conda/deps/usr/condarc-julia.yml
An unexpected error has occurred. Conda has prepared the above report.
Upload successful.
ERROR: InitError: failed process: Process(setenv(
/home/valdenir/.julia/v0.6/Conda/deps/usr/bin/conda install -y matplotlib
,String["PATH=/home/valdenir/bin:/home/valdenir/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path", "QT_ACCESSIBILITY=1", "UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1965", "UPSTART_JOB=unity-settings-daemon", "DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-6zcOGeanqM", "XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0", "XDG_SESSION_DESKTOP=ubuntu", "XDG_SESSION_TYPE=x11", "USER=valdenir", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg", "QT_IM_MODULE=ibus", "LESSCLOSE=/usr/bin/lesspipe %s %s", "SESSIONTYPE=gnome-session", "INSTANCE=Unity", "GDMSESSION=ubuntu", "CLUTTER_IM_MODULE=xim", "XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop", "LESSOPEN=| /usr/bin/lesspipe %s", "SHELL=/bin/bash", "XDG_SEAT=seat0", "XAUTHORITY=/home/valdenir/.Xauthority", "CONDARC=/home/valdenir/.julia/v0.6/Conda/deps/usr/condarc-julia.yml", "GTK_MODULES=gail:atk-bridge:unity-gtk-module", "GNOME_KEYRING_PID=", "GTK_IM_MODULE=ibus", "QT_QPA_PLATFORMTHEME=appmenu-qt5", "XMODIFIERS=@im=ibus", "TERM=xterm-256color", "HOME=/home/valdenir", "VTE_VERSION=4205", "GTK2_MODULES=overlay-scrollbar", "IM_CONFIG_PHASE=1", "COMPIZ_CONFIG_PROFILE=ubuntu", "UPSTART_INSTANCE=", "XDG_CURRENT_DESKTOP=Unity", "LANG=pt_BR.UTF-8", "SHLVL=1", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "LOGNAME=valdenir", "XDG_RUNTIME_DIR=/run/user/1000", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "DESKTOP_SESSION=ubuntu", "GDM_LANG=ptBR", "OLDPWD=/home/valdenir", "=/usr/local/bin/julia", "CONDA_DEFAULT_ENV=/home/valdenir/.julia/v0.6/Conda/deps/usr", "GPG_AGENT_INFO=/home/valdenir/.gnupg/S.gpg-agent:0:1", "PWD=/home/valdenir/Documentos/programas/Julia", "DISPLAY=:0", "UPSTART_EVENTS=started starting", "LANGUAGE=pt_BR:pt:en", "XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/valdenir", "XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0", "XDG_VTNR=7", "WINDOWID=81788938", "MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path", "XDG_SESSION_ID=c2", "CONDA_PREFIX=/home/valdenir/.julia/v0.6/Conda/deps/usr", "QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1", "QT4_IM_MODULE=xim", "LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "GNOME_KEYRING_CONTROL=", "JOB=gnome-session", "OPENBLAS_MAIN_FREE=1"]), ProcessExited(1)) [1]Stacktrace:
[1] pipeline_error(::Base.Process) at ./process.jl:682
[2] run(::Cmd) at ./process.jl:651
[3] add(::String, ::String) at /home/valdenir/.julia/v0.6/Conda/src/Conda.jl:203
[4] pyimport_conda(::String, ::String, ::String) at /home/valdenir/.julia/v0.6/PyCall/src/PyCall.jl:586
[5] init() at /home/valdenir/.julia/v0.6/PyPlot/src/init.jl:172
[6] _include_from_serialized(::String) at ./loading.jl:157
[7] _require_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./loading.jl:200
[8] _require_search_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./loading.jl:236
[9] _require(::Symbol) at ./loading.jl:441
[10] require(::Symbol) at ./loading.jl:405
during initialization of module PyPlot
it seems that everything will be fine and...Verifying transaction failed...What can i do?
Thanks everyone