I am trying to install Pandas-Profiling package for Jupyter Notebook but no luck!!!
Tried installing the package from the Anaconda Navigator (Home) -> Environment -> base(root) -> Search packages -> Pandas-profiling
A dialog box appears to show as "Solving Package modifications" but after some time, the dialog box appears blank!!!
Tried "Conda prompt" option also but it shows deprecated
Sometimes, it's a version issue.
Try this
!pip install -U pandas-profiling
Reference
Try
pip install https://github.com/pandas-profiling/pandas-profiling/archive/master.zip
Good luck!
Reference
Related
i've been trying to install Kite in JupyterLab v2.2.6. I have dowloaded and installed Kite, have node.js 15.0.1 and i've run the console commands:
pip install jupyter-kite
jupyter labextension install "#kiteco/jupyterlab-kite"
i have no problems with either and when i check in jupyter extension manager it tells me that it is installed
Kite missing some dependencies error message in jupyterlab
Update for macOS Catalina users, try upgrading JupyterLab > 2.2.9:
Open Terminal:
$ conda install -c conda-forge jupyterlab=3.0.3
Open Kite copilot:
-->
Home
-->
Redo Setup
Open Terminal:
$ pip install "jupyterlab-kite>=2.0.2"
As of this post, Kite works with:
jupyterlab 3.2.7
jupyterlab-kite 2.0.2
JupyterLab:
conda install -c conda-forge jupyterlab=3.2.7
or
pip install jupyterlab==3.2.7
Kite:
pip install jupyterlab-kite>=2.0.2 (only PyPI)
jupyter labextension install "#kiteco/jupyterlab-kite"
Note also that as of this post, there is no Kite extension for VS Code that is compatible with .ipynb. The VS Code Kite extension is compatible with .py .go .js .jsx .vue only.
In addition, you can no longer download the Kite engine from the Kite website.
Adam has posted the installers here.
macOS
Windows
Linux
I had the same problem and for me the following worked:
Reinstalled Anaconda and then I updated the provided JupyterLab version in the (base) terminal. (You would like to update your JupyterLab in the respective virtual environment you are using Anaconda with.)
conda install -c conda-forge jupyterlab==2.2.9
The JupyterLab version in your Anaconda should show 2.2.9 after you restart Anaconda. After this, download node.js and install it on you computer. Then follow the instructions in your Kite desktop app to install the Jupyter Kite extension via the (base) terminal:
pip install jupyter-kite
jupyter labextension install "#kiteco/jupyterlab-kite"
Open your Kite desktop app and click on Redo Setup under the Home section.
In your JupyterLab Kite: Initializing should appear down in the left corner.
Plotly is not working in Jupyterlab. I assume that there is a conflict in required extensions but I'm not sure.
On checking troubleshooting on Plotly https://plotly.com/python/troubleshooting/ , they advise to remove extensions and install them again.
But I found that there is additional extension that came with Jupyterlab update called 'jupyterlab-plotly-extension'
which is not mentioned by Plotly in their instructions to make it working in JupyterLab https://plotly.com/python/getting-started/#jupyterlab-support-python-35
My question is: which extensions should be installed to make Plotly working in JupyterLab?
jupyterlab-plotly as mentioned in Plotly support
jupyterlab-plotly-extension that came with JupyterLab
You can install plotly using pip or conda:
pip install "plotly>=5" "ipywidgets>=7.6"
# or if using conda
# conda install -c plotly "plotly>=5"
# conda install "ipywidgets>=7.6"
Plotly comes with support for both the Jupyter Notebook and JupyterLab. There is no need to install anything else for JupyterLab 3.0 and newer. The widget package and the renderer package are both included in plotly starting from v5.
For older versions of JupyterLab (1.x and 2.x) you will need a recent Node.js installed and install additional packages; do not run these commands if using newer version of JupyterLab:
pip install "ipywidgets>=7.5"
# renderer support
jupyter labextension install jupyterlab-plotly
# OPTIONAL: Jupyter widgets extension
jupyter labextension install #jupyter-widgets/jupyterlab-manager plotlywidget
Enter 'jupyter labextension list' in a terminal or command to run the environment status. The example below shows my environment information with 'jupyter lab' running successfully.
xxxxx-no-iMac:~ xxxxx$ jupyter labextension list
JupyterLab v2.1.5
Known labextensions:
app dir: /Library/Frameworks/Python.framework/Versions/3.6/share/jupyter/lab
#jupyter-widgets/jupyterlab-manager v2.0.0 enabled OK
#jupyterlab/git v0.20.0 enabled OK
#lckr/jupyterlab_variableinspector v0.5.0 enabled OK
jupyterlab-plotly v1.5.4 enabled OK
nbdime-jupyterlab v2.0.0 enabled OK
plotlywidget v1.5.4 enabled OK
Assuming that you have installed all the libraries correctly (make sure you have ipywidgets and nodejs installed) and assuming one is using conda, access conda prompt for the environment one is working (the "Server" environment).
Then, you will need to install the extension(s) jupyterlab-plotly (the library nodejs will be required now)
jupyter labextension install jupyterlab-plotly#4.14.3
and plotlywidget [optional] - this one requires nodejs >=10.0.0
jupyter labextension install #jupyter-widgets/jupyterlab-manager plotlywidget#4.14.1
For a more detailed explanation, you may want to read my answer here.
upyterLab Support (Python 3.5+)
For use in JupyterLab, install the jupyterlab and ipywidgets packages using pip...
$ pip install jupyterlab "ipywidgets>=7.5"
or conda.
$ conda install jupyterlab "ipywidgets=7.5"
Then run the following commands to install the required JupyterLab extensions (note that this will require node to be installed):
JupyterLab renderer support
jupyter labextension install jupyterlab-plotly#4.12.0
OPTIONAL: Jupyter widgets extension
jupyter labextension install #jupyter-widgets/jupyterlab-manager plotlywidget#4.12.0
Refer:
https://plotly.com/python/getting-started/#jupyterlab-support-python-35
I want to import tensorflow_docs in a PyCharm python file. The I've installed it by
pip install git+https://github.com/tensorflow/docs
In PyCharm, the interpreter's install window does not contain tensorflow_docs as a package. I tried
conda install git+https://github.com/tensorflow/docs
At first, attempting to install tensorflow_docs gave the readout:
"Requirement already installed in anaconda/..."
I uninstalled with pip and reinstalled from github, but it still won't show up in PyCharm.
This may not be the exact solution and just an idea, but try creating a new environment so there is a fresh state to build on top.
I am trying to install wordcloud in my python program. I am doing the following steps. Please tell me where i am doing wrong-
I downloaded the wordcloud package from here https://github.com/amueller/word_cloud
Copy and paste it in the Anaconda3 folder.
Open Anaconda command prompt and give the following command "pip install wordcloud".
The following error is showing -
Please let me know what to do.
You can simply use conda package manager to install wordcloud, just run:
conda install -c https://conda.anaconda.org/conda-forge wordcloud
There is a new version available now but this one worked for me
With Anaconda python 3.6
download from this link.
wordcloud 1.3.2‑cp36‑cp36m‑win_amd64.whl
Then don't extract the file, copy and paste the dir in cmd.
Use this command pip install wordcloud-1.3.2-cp36-cp36m-win_amd64.whl
Open JupyterLab from Anaconda dashboard, in terminal 1, run:
conda install -c conda-forge wordcloud
Source: link
It is trying to build Word Cloud using Visual Studio. If you don't have it you can get a subset called "Microsoft Build Tools 2015" here: https://www.microsoft.com/en-us/download/details.aspx?id=48159
Even having a full version of Visual Studio 2015 and my path set up properly I still had trouble installing using pip. I also had no luck with the conda installer. The following worked for me:
Go to http://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud and download the wheel for the version of Word Cloud you need.
From the command prompt install using pip. For example, pip install wordcloud-1.2.1-cp27-cp27m-win_amd64.whl
Using Anaconda Python 3.6 version For Windows you can do it as:
Installation of wordcloud package
download wordcloud‑1.3.2‑cp36‑cp36m‑win_amd64.whl from
http://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud
Copy the file to your current working directory
Open command prompt
python -m pip install wordcloud-1.3.2-cp36-cp36m-win_amd64.whl
I have python 3.6.3 installed on my windows system. I installed wordcloud package in python but faced the "wordcloud No Module Found" error on Anaconda Jupyter Notebook.
I tried most of the solutions posted here but nothing worked for me.
Finally I installed wordcloud package in the Scripts directory under Anacond3 directory in the command prompt using:
pip install wordcloud
This worked and I am able to import wordcloud on Jupyter now.
I've got the similar error but related to certification, if the error is:
Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'ssl3_get_server_certificate\', \'certificate verify
failed\')])",),))',),)
This other SO question helped me. It basically said to do:
conda config --set ssl_verify false
After a long try:
1) Download the latest version of WordCloud from this link.
2) Copy it into the Script directory under Anaconda3.
3) Open the command prompt and do pip install wordcloud. (If a win[5] authorization error occurs, try doing pip from the admin command prompt or sudo pip install wordcloud.)
You should have a virtual environment for each project or group of projects that use a particular set of packages. I use Anaconda. Jupyter should be installed in each of your virtual environments. Let's assume you've already created the environment foo. Then:
conda activate foo
conda install jupyter
conda install -c conda-forge wordcloud
Now when you do the import it should work. My import:
from wordcloud import WordCloud, STOPWORDS
I'm working through How to Generate a Word Cloud of Any Shape in Python
Installing wordcloud using Anaconda
Latest version of wordcloud : 1.8.1
Python version supporting wordcloud=1.8.1 : 2.7, 3.4, 3.5, 3.6 and 3.7
Installation of wordcloud using Anaconda, you can install from the conda-forge channel:
conda install -c conda-forge wordcloud
Wordcloud installation problem :
Note: If you are facing issues installing wordcloud on Windows10. The follow the below procedure.
Go to: https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud
Click on the matching whl file to download.
Naming: wordcloud-[version]-cp [python-version]-cp [python-version]-win [32bit-or-64bit].whl
Then below command in command prompt
pip install <location_of_wordcloud_whl_file>
Example:
pip install "C:\Users\Testuser\Desktop\wordcloud-1.6.0-cp38-cp38-win32.whl"
I want to install pyperclip from GitHub using pip install but unfortunately it's only installed to pip and not Anaconda. I'm using PyCharm and my interpreter is Anaconda. (Linux)
I want Anaconda to install the package 'pyperclip' as well so I can use it in PyCharm. I've try Googling but can't find any result.
From Anaconda's website, run the following in Terminal/cmd:
conda install -c conda-forge pyperclip
You need to make sure the following command uses the pip in your CONDA_FOLDER/Scripts/pip or CONDA_FOLDER/envs/ENVIRONMENT_NAME/Scripts/pip:
pip install git+https://github.com/asweigart/pyperclip.git
or if a specific branch (instead of the default one is needed) then use:
pip install git+https://github.com/asweigart/pyperclip.git#BRANCHNAME
However you need to make sure your PyCharm actually uses the environment in which you install the package! Otherwise there is no sense in installing it in the wrong one.
I am not sure because I am not running linux and I never tried it but according to the official website
run anaconda prompt
and then type: conda install -c auto pyperclip=1.3
for more info: https://anaconda.org/auto/pyperclip
To install pyperclip from conda run following command.
conda install -c bryanwweber pyperclip
I was having a hard time installing pyperclip on Anaconda Jupyter notebook. I installed pip and also upgraded it to the latest version. I followed your answers but didn't have luck.
If you're a Windows user, here's how I resolved:
1) Open Anaconda terminal (it's your Windows terminal inside Anaconda)
2)It will open showing the C drive and your username like: C:\Users\joe.jacob
3)C:\Users\joe.jacob\ dir (this will show you where you have Jupyter Notebook. Mine was at .jupyter, so I navigated to it using: cd .jupyter
C:\Users\joe.jacob\cd .jupyter
4)Now install pyperclip at your jupyter notebook like this:
C:\Users\joe.jacob\.jupyter>pip install pyperclip
5) It installs pyperclip package. Installing other pip packages is similar.
I hope this helps.
search for anaconda prompt on your computer and type one of the following
conda install -c conda-forge pyperclip
conda install -c "conda-forge/label/gcc7" pyperclip
conda install -c "conda-forge/label/cf201901" pyperclip
conda install -c "conda-forge/label/cf202003" pyperclip
then click enter and wait for it to download you can repeat it again to confirm whether its installed