16.04 - How do I let Ubuntu find the install path for tcl? - Ask Ubuntu
i running ubuntu 16.04. trying install r package tcltk
. when run install.packages('tcltk')
, following error:
installing package ‘/home/esander/r/x86_64-pc-linux-gnu-library/3.3’ (as ‘lib’ unspecified) --- please select cran mirror use in session --- error: .onload failed in loadnamespace() 'tcltk', details: call: fun(libname, pkgname) error: can't find usable init.tcl in following directories: /opt/anaconda1anaconda2anaconda3/lib/tcl8.5 ./lib/tcl8.5 ./lib/tcl8.5 ./library ./library ./tcl8.5.18/library ./tcl8.5.18/library
my first thought uninstall , reinstall tcl
. did so, , if run sudo apt-get install tcl
, says @ newest version (8.6.0+9). ok, seems r looking tcl in strange places (and looking tcl 8.5), want find path , somehow link r it. when run whereis tcl
, get:
tcl:
apparently ubuntu can't find install path. tried find brute-force way, running find / -name tcl 2> /dev/null
, , got:
/usr/share/ruby-rouge/demos/tcl /usr/share/doc/tcl /home/esander/anaconda3/lib/python3.5/site-packages/notebook/static/components/codemirror/mode/tcl /home/esander/anaconda3/pkgs/notebook-4.2.1-py35_0/lib/python3.5/site-packages/notebook/static/components/codemirror/mode/tcl /home/esander/.conda/envs/my_root/lib/python3.5/site-packages/notebook/static/components/codemirror/mode/tcl
these locations either seem documentation, or things specific ipython notebooks. don't understand this, there linking/installation problems of kind. how find tcl
or install normal install path appears?
i breaking head on same issue. apparently set ~/anaconda3
working directory , worked! because ./lib/tcl8.5/init.tcl
on path now.
Comments
Post a Comment