Cannot install tensorflow: - python

trying to install tensorflow with conda but this error shows up when i try to pip install it:
Unable to create process using 'C:\Users\myusername\.conda\envs\tf\python.exe "C:\Users\myusername\.conda\envs\tf\Scripts\pip-script.py" install tensorflow'
can anyone help?

Related

Installing geffnet with pip

I used a google colab notebook to run a certain model. It required me to install geffnet like this.
!pip -q install geffnet
How can I install geffnet locally?
I tried the line below but I get an error when trying to get efficientnet_b7. "RuntimeError: Unknown model (efficientnet_b7)
pip3 install geffnet
Were your other python installing commands work properly?
Try with a version likethis,
pip install geffnet==0.9.0
Still not working,try to use Pytorch instead of Colab, sometimes issue may be fixed

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

Cannot install tflearn in python 3

I have tensorflow 1.11.9 for python 3 and am trying to install tflearn.
I tried installation using:
"pip3 install git+https://github.com/tflearn/tflearn.git"
"pip3 install tflearn"
"pip install git+https://github.com/tflearn/tflearn.git"
"pip install git+https://github.com/tflearn/tflearn.git"
Nothing seems to work. pip install is installing a tflearn version for python 2 (I have python2.7 and 3.4 on Ubuntu 14.04), whereas pip3 is claiming that installation is successful, but I get an error saying
"No module named 'tensorflow.contrib.rnn.python.ops.core_rnn'".
Can anyone suggest what am I doing wrong? I would be happy to provide any further information that might be required. Thanks in advance.
I think your tensorflow version is probably a bit low. Current one is 1.4
I figured out that I was installing tensorflow using
sudo pip3 install --upgrade tfBinaryURL,
where, tfBinaryURL identifies the proper URL of the TensorFlow Python package. Doing the tensorflow installation using
pip3 install tensorflow
and then installling tflearn using
pip3 install git+github.com/tflearn/tflearn.git
solves my problem.

"cannot import name bayesflow" error for Tensorflow 1.2.1 version

I installed latest tensorflow version as:
sudo pip2 install tensorflow
But while import layers as
from tensorflow.contrib import layers
I get an error:
cannot import name bayesflow
What am I missing?
I am using Ubuntu 14.
Was in the similar position as you: tf.contrib.data.TFRecordDataset(filenames) was generating the same error. After a lot of searching and trying I found that I should update dask. So
pip install --upgrade dask
solved the problem for me.
For those who still experience this problem, the best is to upgrade tensorflow with sudo pip install --upgrade tensorflow or even uninstall it sudo pip uninstall tensorflow and reinstall it sudo pip install tensorflow.
When it's done you have to close the ipython or any shell you are using (this is important)

Categories

Resources