ImportError: DLL load failed while importing _sqlite3: The specified procedure could not be found. jupyter notebook.
I have solved the problem by Coping the sqlite3.dll file from C:\Users\anaconda3\Library\bin and pasting in the C:\Users\anaconda3\DLLs
Related
What happened:
I have had Pip and Anaconda installed on my Mac. I tried to tidy up and decided to delete Anaconda since I assumed I only needed Pip for my Python programming.
My question:
I have been using jupyter notebook for my university project. Apparently, it had been installed by me using anaconda. Now that anaconda is gone, when I try running jupyter notebook, it is still looking in the deleted anaconda directory and throws the following error in the command line
/Users/username/anaconda3/bin/jupyter: No such file or directory
Furthermore, I now get this error when installing jupyter using pip3:
WARNING: The scripts jupyter, jupyter-migrate and jupyter-troubleshoot are installed in '/Users/username/Library/Python/3.8/bin' which is not on PATH.
Unfortunately, I barely have an idea of what I am doing when installing anything using the command line. Could you help me out in fixing the issue?
I am using anaconda and from the base environment of it, I can easily open jupyter notebook and jupyter lab. I have another environment named gpu_jupyter which was also running fine. But after installing nltk on base enviroment (using conda install), jupyter lab is not working on gpu_jupyter env. It is showing
Traceback (most recent call last):
File "C:\Users\emt\anaconda3\envs\gpu_jupyter\Scripts\jupyter-script.py", line 10, in <module>
sys.exit(main())
File "C:\Users\emt\anaconda3\envs\gpu_jupyter\lib\site-packages\jupyter_core\command.py", line 285, in main
command = _jupyter_abspath(subcommand)
File "C:\Users\emt\anaconda3\envs\gpu_jupyter\lib\site-packages\jupyter_core\command.py", line 124, in _jupyter_abspath
raise Exception(
Exception: Jupyter command `jupyter-lab` not found.
I tried with installing the nb_conda. The ipykernel is also installed and jupyter notebook is also working fine. Jupyter lab is also can be run using the base env
I also tried to add path but somehow my Continumm folder is missing. This link discuss that problem but the solution for that folder is not given.
Is there anything that I am missing here?
installing using pip solved my issue. My env is created via miniconda.
pip install jupyterlab
Then run it via miniconda command prompt by
jupyter lab
Hi I am running R on Ubuntu : Getting this error:
/home/user/anaconda3/lib/R/bin/exec/R: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
I have installed anaconda recently, I have tried
$echo $LD_LIBRARY_PATH
It shows nothing. I also tried
$sudo find / lib | grep libpcre.so.1
I want to run R on Ubuntu. It was running fine before; any hints?
I am trying to install Rgtk2 (dependency for rattle). I am using R thru Anaconda. I am getting the following error.
In file included from Rgtk.c:7:0:
/usr/include/gtk-2.0/gdk/gdkx.h:32:10: fatal error: X11/Xlib.h: No such file or directory
#include <X11/Xlib.h>
^~~~~~~~~~~~
I tried the following workarounds as found in StackOverflow and other blogs.
Installed libx11-dev, mesa-common-dev, libglu1-mesa-dev, libxrandr-dev, libxi-dev
Tried installing RGtk2_2.20.31 from source.
Every time I am getting the same error.
anaconda has its own environment, which by default usually lacks X11 headers(e.g libx11-dev, or whatever you call it). Try "conda install -c conda-forge xorg-libx11" . It worked for me when a certain R-package threw an error "X11/Xlib.h : No such file or directory".
I've been having trouble downloading the shinyapps package on my windows computer. I've updated my versions of R and studio, tried the devtools download devtools::install_github('rstudio/shinyapps') and I've also tried the manual download of the shinyapps-master.zip (github.com/rstudio/shinyapps/archive/master.zip) and using install_local() all to no avail.
Here is the error I get with each method:
Installing shinyapps
"C:/Program Files/R/R-3.1.1/bin/i386/R" --vanilla CMD INSTALL \
"C:\Users\MyName\AppData\Local\Temp\Rtmpma2fl1\devtools10cc1745fe7\shinyapps-master" \
--library="C:/Program Files/R/R-3.1.1/library" --install-tests
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Error: Command failed (1)
After doing the excellent tutorial for shiny I would love to be able to use shinyapps.io but can't so far due to this. Any ideas? Much appreciated!
The app does not like the fact that R is installed in a directory that includes a space. I recommend reinstalling R to a location without a space, e.g. c:/R/.
I got a similar problem. I deleted the shinyapp folder first and then the file with that name. All my packages are saved in ~/Documents/R/win-library/3.1 folder on Windows 7 PC as I have not specified the lib folder. Then I installed the shinyapps package again using devtools::install_github('rstudio/shinyapps') command in R. HTH