Unable to install scipy package in anaconda - python

My problem is that I want to use the package scipy in Spyder IDE(in Anaconda Navigator).
I tried to install this package with this code but this gives me an error.
conda install -c anaconda scipy
Anyone can help me?

I believe you are using version 3, try this option..
conda install -c scipy

Related

How install kmapper?

I have installed kmapper since command prompt, but when I import kmapper in jupyter notebook
is visualized a error: No module named kmapper.
What can I do?
I should install kmapper, please help me.
I don't see a Conda version for this in a major Anaconda Cloud channel. Install with pip.
conda create -n my_kmapper_env python pip numpy matplotlib scikit-learn bokeh pillow
conda activate my_kmapper_env
pip install kmapper

ImportError: cannot import name 'has_pattern' from 'gensim.utils'

I trying to import gensim.
But I got this error.
ImportError: cannot import name 'has_pattern' from 'gensim.utils' (C:\Users\admin\anaconda3\envs\tf-gpu\lib\site-packages\gensim\utils.py)
I will be grateful for any help.
Installing Version 3.4.0 solved the problem. Try the following :-
pip install gensim==3.4.0
First make sure you have gensim installed in your development environment along with its dependencies i.e. numpy, scipy and pattern:
conda install -c conda-forge gensim
conda install numpy
conda install -c anaconda scipy
conda install -c conda-forge pattern
If it's still not fixed then try updating conda:
conda update --all
also
conda update gensim
Maybe this would fix your issue!

I am trying to install packages (Numpy) in Pycharm get pip error

I am new to python and trying to install Numpy package in pycharm but I get an error in return please help me solve this problem I have uploaded a picture of this error.
I attempted to install pip within pycharm interpreter still no luck!
Failed to install NumPy Package
This is because of a mismatch between your version of pip and numpy. See answer. Thus, first you must upgrade your pip:
On Linux or macOS:
pip install -U pip
On Windows:
python -m pip install -U pip
Once pip is updated, you may install numpy.

How do I install the "sparse_dot_topn" Package in Anaconda Installer?

I am trying to install the "sparse_dot_topn" package in Alibaba Cloud ECS instance. Firstly I tried to install it through the Anaconda installer.
conda install sparse_dot_topn
It throws like there is no package available
So I tried to install via pip
Pip install spare_dot_topn
But it throws me the following error
What am I missing? Please leave your suggestions
sparse_dot_topn requires Cython, try installing it this way:
pip install cython
pip install git+https://github.com/ing-bank/sparse_dot_topn.git
I have tried it first with pip install and failed. Then I tried within Anaconda terminal with the following comment and it was succesfull.
conda install -c conda-forge sparse_dot_topn

How can I use conda to install pydotplus

I execute the code following on my machine( Win10, python 2.7, Anaconda&Spyder) and meet ImportError: No module named pydotplus .
import networkx as nx
from networkx.drawing.nx_pydot import write_dot
G = nx.DiGraph([(1,2),(2,3),(3,2)])
write_dot(G,'file.dot')
It clearly that I should install pydotplus package. I try to conda install pydotplus directly but says Error: Package missing in current win-64 channels. Then, I google it but find there is no information about how to install it on conda. By the way, I have install pydot on conda before.
Thanks for you help in advance!
Using conda install command below worked for me (globally installed):
conda install -c conda-forge pydotplus
Using Anaconda environments (per environment instance) you can install pydotplus using pip:
pip install pydotplus
I would personally recommend using the Anaconda environments to install your packages for a given solution as its a more modular and cleaner way of building solutions with Anaconda.
Installing via Anaconda environments referenced from answer on Quora, see:
https://www.quora.com/How-do-I-install-Python-packages-in-Anaconda
I tried conda install pydotplus, but it failed.
Then tried python -m pip install pydotplus and it worked.
Try
pip install pydotplus
if it isn't part of the conda universe.
Open Anaconda prompt:
pip install pydotplus

Categories

Resources