Solving environment: failed
UnsatisfiableError: The following specifications were found to be in
conflict:
- wordcloud
- xlsxwriter Use "conda info " to see the dependencies for each package
.
Initially i get conflict with python 3.4 and python 3.6 so update python to 3.6 but still getting above erroe. Pls help
You can try:
pip install wordcloud
or
conda install -c conda-forge wordcloud
I have tried those options answered above. I think there was some problem with with Anaconda python 3.x versions. I used 2.7 and it worked fine there for me
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
You can use according to your python version. Don't need to migrate into another python version.
In console :
conda install -c conda-forge wordcloud
First activate your python environment !
Related
I am new to Linux and trying to install Python 3.6 using Anaconda, given the instructions here.
When I run conda install python==3.6, I get the following:
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- jupyter_contrib_nbextensions -> jupyter_nbextensions_configurator[version='>=0.2.8'] -> python=3.5
- python==3.6
Use "conda info <package>" to see the dependencies for each package.
How do I fix this error? I already have Python 3.5 and I'd like to upgrade to 3.6 .
This seems similar to another question (if you are trying to update an already installed version of anaconda)
One option is to update anaconda using
conda update --all
For more on this look to: How do I update Anaconda?
Also, if you are entering
conda install python==$pythonversion$
It should be
conda install python==3.6
If you are going to Python 3.6 (just checking)
The pymatgen module is supposed to work for Python 2.7.x or 3. Files for both are available (https://anaconda.org/matsci/pymatgen/files). My Python (sys.version) is 2.7.11.
I tried installing with standard: "conda install -c mastic pymatgen", but it returns an error:
"Fetching package metadata ...........
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- pymatgen -> python 3.6*
- python 3.5*
Use "conda info <package>" to see the dependencies for each package."
It looks like it is trying to install the pymatgen module for Python 3 and I am a version short.
I want to install the 2.7.x compatible version, but can't find instructions on how to force the conda install to do that.
I can't upgrade to 3.6 for other reasons.
Have you tried pip ?
But first install NumPy as they mentioned Here
then use : pip install pymatgen
Restarted from running Miniconda3-latest-MacOSX-x86_64.sh, instead of Miniconda2-latest-MacOSX-x86_64.sh.
Whatever conda you installed, you can create a specific Python 2.7 environment using
conda create --name py27 python=2.7
You should then be able to follow all the steps for Python 2.7 install.
I want to install Tensorflow 1.o for python on windows.
This is information for my system.
D:\>python --version
Python 3.5.2 :: Anaconda 4.2.0 (32-bit)
D:\>pip3 --version
pip 9.0.1 from d:\web\anaconda\lib\site-packages (python 3.5)'
But, when I execute below command,
D:\>pip3 install tensorflow
Collecting tensorflow
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow
I don't understand what the problem is...
And I tried another way...
This is case when I use Conda
(tensorflow) D:\>pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.0-cp35-cp35m-win_x86_64.whl
tensorflow-1.0.0-cp35-cp35m-win_x86_64.whl is not a supported wheel on this platform.
What is the problem?
I was in same problem.
Below command solved my problem
pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py3-none-any.whl
to find the list of all the urls based on the python version and CPU or GPU only refer to:
https://www.tensorflow.org/install/pip
Tensorflow requires a 64-bit version of Python.
Additionally, it only supports Python 3.5.x through Python 3.8.x.
If you're using a 32-bit version of Python or a version that's too old or new, then you'll get that error message.
To fix it, you can install the 64-bit version of Python 3.8.6 via Python's website.
Tensorflow on windows needs python 3.5. You can follow following steps to activate python 3.5 in anaconda:
See which version of python you have: conda search python
If you already have python 3.5 then go to step 3
otherwise use conda create -n py35 python=3.5 anaconda to create python 3.5
Activate python 3.5 using activate py35
Now install tensorflow using conda install tensorflow
If step4 is not working i.e, something like "tensorflow: no package found " then follow this tutorial to forge conda-forge channel and then try installing tensorflow using step4. It worked for me.
Try this
Installing with Anaconda
conda create --name tensorflow python=3.5
activate tensorflow
conda install jupyter
conda install scipy
pip install tensorflow
or
pip install tensorflow-gpu
It is important to add python=3.5 at the end of the first line, because it will install Python 3.5.
I was getting the same error
Get Python 3.5
Upgrade pip version to 9
Install tensorflow
It worked for me
I did it with:
python3 -m pip install --upgrade tensorflow
From your python version output, looks like that you are using Anaconda python, in that case, there is a simple way to install tensorflow.
conda install -c conda-forge tensorflow
This command will take care of all dependencies like upgrade/downgrade etc.
upgrading pip worked for me
python -m pip install --upgrade pip
i had python 3.8.5 ..but it will not work with tenserflow..
so i installed python 3.7.9 and it worked.
The solution for me was sooo dumb!!
I was using Python 3.8 in my environment. I made a new environment using Python 3.7, and the install worked fine.
source
The TensorFlow package couldn't be found by the latest version of the "pip".
To be honest, I really don't know why this is...
but, the quick fix that worked out for me was:
[In case you are using a virtual environment]
downgrade the virtual environment to python-3.8.x and pip-20.2.x
In case of anaconda, try:
conda install python=3.8
This should install the latest version of python-3.8 and pip-20.2.x for you.
And then, try
pip install tensorflow
Again, this worked fine for me, not sure if it'll work the same for you.
The Reason is that TensorFlow is only available upto python versions <= 3.6. You can't download tensorflow for python versions > 3.6 as there is no tensorflow.
If you don't want to downgrade your entire python version for a single package, do this:
create a new virtual environment for that project (using anaconda)
conda create -n <env_name> python=3.6.8
activate the created environment using conda activate <env_name>
Now install pip install tensorflow
note: If tensorflow dosen't install : try install keras module first and then try installing tensorflow
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've been trying to install Quantopian zipline (http://www.zipline.io/) python package through Anaconda, but have not been able to. When I run either of the lines below
conda install -c Quantopian zipline
conda install --channel https://conda.anaconda.org/Quantopian zipline
in the Anaconda prompt, I get a short pause and the message
Fetching package metadata...
Solving package specification..
Error: package missing in current win-64 channels:
-zipline
However, if I run the search command "anaconda search -t conda zipline" I can see that Quantopian/zipline has a win-64 compatible package.
I have a 64-bit Windows 8.1 with conda ver 4.0.5.
Please check if the latest zipline has been build in their channel.
the same error happened to one of my colleagues with the last version of zipline (1.1.0) and mac OsX.
We figured out that the guys at Quantopian didn't publish a build for that OS.
Workaround:
1 - try to install zipline via pip (as they say in the guidelines)
or
2 - Download the source code ad build it by yourself :-)
These are the Requirements/ Steps to Make Zipline Work:
Install Microsoft Visual C++ 2010 Express
Download and install python 3.4
Download zipline from github and Extract in C:/
Set Anaconda as project interpreter
Since zipline is compatible with Python 3.4, you need to create an environment with Python 3.4
Run this command in console of IDE:
$conda create -n python34 python=3.4 anaconda(replace py34 with the location of python34 folder)
Now run this command in console:
$activate python34 #Activates the python 3.4 environment
$pip install -e C:\GitHub\zipline (Directory where you extracted zipline)
Ingest data from quandl with below command
$zipline ingest
Hope this helps.
The latest Zipline-Trader version was released. For stable version pip install zipline-trader For more info follow docs for installation.