I am trying to install fastparquet in order to write a csv into a parquet file. Using jupyter notebook, python 3,
the cell does not show any result after running the Following command:
pip install fastparquet
I run another simple command and it show the result. I installed another packages and it work perfectly but fastparquet does not installed without showing any error.
So,
How do I go about fixing this ?
Related
Summary
Installed R kernel in Anaconda environment
Works with Anaconda's browser Jupyter notebook, but not VS Code.
Details
I am trying to set up VS Code to recognize my R kernel for use with Jupyter Notebooks. The steps I have followed are as follows:
Create a new R environment (via the Anaconda interface... Rstudio works just fine).
Using the command line interface with the above environment activated, ensure Jupyter is installed: conda install jupyter
Install irkernel: conda install -c r r-irkernel
Run R from command line and initialize irkernel:
R
> IRkernel::installspec()
Open VS Code and create a new notebook. Select the R kernel that appears, and run a basic commannd in the first cell: file.path(getwd())
These follow the steps here, and in other Stackoverflow posts (here and here).
Unfortunately, I cannot get the kernel to work. The above code in item 5 results in the following error:
Failed to start the Kernel.
The kernel died. Error: ... View Jupyter log for further details.
There is a copy of the log available here (should be visible to everyone). The notebook is available here (but is literally just the one line of code mentioned above).
My hypothesis is that IRkernel::installspec() installs the kernel in a different location than the conda environment. The kernel is installed in C:\Users\aaron\AppData\Roaming\jupyter\kernels\ir, while in VS Code the kernel selected is in C:\Users\aaron\.conda\envs\rstudio\lib\R\bin\x64\R (the environment name is rstudio).
However, when I open Jupyter notebook via the Anaconda interface (not VS Code... i.e. the browser version), everything works just fine. The same code (file.path(getwd())) returns the appropriate 'C:/Users/aaron'.
I am sure I have done something silly wrong, and appreciate your help in advance!
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 wanted to ask how to repair kernel connection for R in jupyter notebook,
I am able to run R in Rstudio and python in jupyter notebook, I used to write R in jupyter notebook but after some updates(I dont know what updates) R stop working in jupyter notebook.
I would like to ask for some advices - I would like to run it without reinstalling it
I also folled some question on stackoverflow and on google but it was not helpfull.
I attached images of what errors it returns
I did try: $ conda install -c r r-irkernel
I installed Anaconda on an external drive inode/directory/0C707E95707E84EC. I opened Anaconda-Navigator to install r-aer in base(root). So far so good. Then I start Jupyter Notebook from inode/directory/0C707E95707E84EC and am unable to access the aer library.
This all started last week. when I was unable to install aerand after a circus of affairs I finally ended up updating Anaconda and then having to delete and reinstall it. All I want to do is access aeron Jupyter Notebook. The image below (last image) shows library(raer); I have tried many different command versions, e.g. library("Raer")and variations thereof.
I know that AER is installed in Anaconda . Could this be a path issue?
calling library in Jupyter Notebook
for any file on desktop (win 10) Jupyter Notebook can see that file without specifying the path, try putting that file on desktop.
see this it could help:
specifying R library path for RKernel in Anaconda Jupyter notebook_Stack OverFlow
So I want to avoid using anaconda. How can I download packages into an ipykernel I made? I have the location, I just don't know how to activate ipykernels. I see the option for making a new .ipynb file once I'm within the jupyter API but this doesn't help me add the libraries I want to keep isolated on my machine.
you can install packages inside jupyter note book by
!pip install pandas("Your package name")
in a cell and run it