Problem on installing metview package on Anaconda - python

I am trying to install Metview package through its installation page:
https://anaconda.org/conda-forge/metview
using the code: conda install -c conda-forge metview
I encounter this problem:
(base) C:\Users\Saeed>conda install -c conda-forge metview
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- metview
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
- https://conda.anaconda.org/conda-canary/win-64
- https://conda.anaconda.org/conda-canary/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
I am using Anaconda and tried to use the Anaconda prompt.
Thank you in advance for your help.

The metview package at conda-forge is only built for osx-64 and linux-64. Looks like you're on win-64 system. Try installing with pip install metview. If unsuccessful you'll have to build from source.

I just did and got this:
(base) C:\Users\Saeed>pip install metview
Collecting metview
Using cached metview-1.4.2-py2.py3-none-any.whl (19 kB)
Requirement already satisfied: pandas in c:\programdata\anaconda3\lib\site-packages (from metview) (1.0.3)
Requirement already satisfied: cffi in c:\programdata\anaconda3\lib\site-packages (from metview) (1.14.0)
Requirement already satisfied: numpy in c:\programdata\anaconda3\lib\site-packages (from metview) (1.18.1)
Requirement already satisfied: pytz>=2017.2 in c:\programdata\anaconda3\lib\site-packages (from pandas->metview) (2020.1)
Requirement already satisfied: python-dateutil>=2.6.1 in c:\programdata\anaconda3\lib\site-packages (from pandas->metview) (2.8.1)
Requirement already satisfied: pycparser in c:\programdata\anaconda3\lib\site-packages (from cffi->metview) (2.20)
Requirement already satisfied: six>=1.5 in c:\programdata\anaconda3\lib\site-packages (from python-dateutil>=2.6.1->pandas->metview) (1.14.0)
Installing collected packages: metview
Successfully installed metview-1.4.2
The thing is it is not the right and appropriate package! it is installing a wrong version, or at least sth not right!
I ran this in jupyter and got this:
import metview as mv
--------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-1-6bf5b378b3e8> in <module>
----> 1 import metview as mv
C:\ProgramData\Anaconda3\lib\site-packages\metview\__init__.py in <module>
24 if len(sys.argv) != 2 or sys.argv[0] != "-m" or sys.argv[1] != "selfcheck":
25
---> 26 from . import bindings as _bindings
27
28 _bindings.bind_functions(globals(), module_name=__name__)
C:\ProgramData\Anaconda3\lib\site-packages\metview\bindings.py in <module>
168
169
--> 170 mi = MetviewInvoker()
171
172 try:
C:\ProgramData\Anaconda3\lib\site-packages\metview\bindings.py in __init__(self)
64 pid = os.getpid()
65 # print('PYTHON:', pid, ' ', env_file.name, ' ', repr(signal.SIGUSR1))
---> 66 signal.signal(signal.SIGUSR1, self.signal_from_metview)
67 # p = subprocess.Popen(['metview', '-edbg', 'tv8 -a', '-slog', '-python-serve',
68 # env_file.name, str(pid)], stdout=subprocess.PIPE)
AttributeError: module 'signal' has no attribute 'SIGUSR1'

Related

How to only install (or import) a specific version of discord.py?

I'm trying to install the discord-1.7.3 package. pip installs discord-1.7.3 and discord.py-2.0.1. My program is incompatible with version 2.x.x so I need only version 1.7.3 to install. The answers to this question suggest telling pip what version to install, but this doesn't work:
$ python3 --version
Python 3.9.2
$ pip install 'discord==1.7.3'
Collecting discord==1.7.3
Using cached discord-1.7.3-py3-none-any.whl (1.1 kB)
Collecting discord.py>=1.7.3
Using cached discord.py-2.0.1-py3-none-any.whl (1.1 MB)
Requirement already satisfied: aiohttp<4,>=3.7.4 in /home/username/.local/lib/python3.9/site-packages (from discord.py>=1.7.3->discord==1.7.3) (3.8.1)
Requirement already satisfied: multidict<7.0,>=4.5 in /home/username/.local/lib/python3.9/site-packages (from aiohttp<4,>=3.7.4->discord.py>=1.7.3->discord==1.7.3) (6.0.2)
Requirement already satisfied: attrs>=17.3.0 in /home/username/.local/lib/python3.9/site-packages (from aiohttp<4,>=3.7.4->discord.py>=1.7.3->discord==1.7.3) (22.1.0)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /home/username/.local/lib/python3.9/site-packages (from aiohttp<4,>=3.7.4->discord.py>=1.7.3->discord==1.7.3) (4.0.2)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in /home/username/.local/lib/python3.9/site-packages (from aiohttp<4,>=3.7.4->discord.py>=1.7.3->discord==1.7.3) (2.1.1)
Requirement already satisfied: aiosignal>=1.1.2 in /home/username/.local/lib/python3.9/site-packages (from aiohttp<4,>=3.7.4->discord.py>=1.7.3->discord==1.7.3) (1.2.0)
Requirement already satisfied: yarl<2.0,>=1.0 in /home/username/.local/lib/python3.9/site-packages (from aiohttp<4,>=3.7.4->discord.py>=1.7.3->discord==1.7.3) (1.8.1)
Requirement already satisfied: frozenlist>=1.1.1 in /home/username/.local/lib/python3.9/site-packages (from aiohttp<4,>=3.7.4->discord.py>=1.7.3->discord==1.7.3) (1.3.1)
Requirement already satisfied: idna>=2.0 in /home/username/.local/lib/python3.9/site-packages (from yarl<2.0,>=1.0->aiohttp<4,>=3.7.4->discord.py>=1.7.3->discord==1.7.3) (3.3)
Installing collected packages: discord.py, discord
Successfully installed discord-1.7.3 discord.py-2.0.1
... you see discord.py-2.0.1 was installed anyway.
This answer suggests using pkg_resources to control what version is imported, but that doesn't work either:
$ cat test.py
import pkg_resources
pkg_resources.require("discord==1.7.3")
import discord
print(discord.version_info)
$ python3 test.py
VersionInfo(major=2, minor=0, micro=1, releaselevel='final', serial=0)
"How to only install (or import) a specific package version?" is the wrong question in this case.
You don't want to install the discord package at all, since it's just a mirror/placeholder.
This is a mirror package!
It is recommended to install discord.py instead.
If you want version 1.7.3 of Discord.py, then install the correct package:
pip install discord.py==1.7.3
In fact, the discord placeholder package doesn't even contain any code:
$ unzip -l discord-2.0.0-py3-none-any.whl
Archive: discord-2.0.0-py3-none-any.whl
Length Date Time Name
--------- ---------- ----- ----
381 08-20-2022 23:51 discord-2.0.0.dist-info/METADATA
92 08-20-2022 23:51 discord-2.0.0.dist-info/WHEEL
1 08-20-2022 23:51 discord-2.0.0.dist-info/top_level.txt
296 08-20-2022 23:51 discord-2.0.0.dist-info/RECORD
All it does is require discord.py>=2.0.0:
$ unzip -p discord-2.0.0-py3-none-any.whl discord-2.0.0.dist-info/METADATA
Metadata-Version: 2.1
Name: discord
Version: 2.0.0
Summary: A mirror package for discord.py. Please install that instead.
Home-page: https://github.com/Rapptz/discord.py
Author: Rapptz
License: UNKNOWN
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: discord.py (>=2.0.0)

Python: install investpy in pycharm on anaconda 3 (python 3.6) interpreter

Based on my question here I want to install the package investpy into pycharm with interpreter anaconda (python 3.6). For some reason the installation itself is not possible and pycharm itself shows me the error:
error:
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- investpy
Current channels:
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
with the recommended way through anaconda website I installed it via pip command. But the package already exists:
pip install -i https://pypi.anaconda.org/alvarob96/simple investpy
Installation message:
Looking in indexes: https://pypi.anaconda.org/alvarob96/simple
Requirement already satisfied: investpy in ./Downloads/yes/lib/python3.8/site-packages (1.0.7)
Requirement already satisfied: pandas>=0.25.1 in ./Downloads/yes/lib/python3.8/site-packages (from investpy) (1.2.4)
Requirement already satisfied: lxml>=4.4.1 in ./Downloads/yes/lib/python3.8/site-packages (from investpy) (4.6.3)
Requirement already satisfied: pytz>=2019.3 in ./Downloads/yes/lib/python3.8/site-packages (from investpy) (2021.1)
Requirement already satisfied: numpy>=1.21.2 in ./Downloads/yes/lib/python3.8/site-packages (from investpy) (1.21.4)
Requirement already satisfied: Unidecode>=1.1.1 in ./Downloads/yes/lib/python3.8/site-packages (from investpy) (1.3.2)
Requirement already satisfied: setuptools>=41.2.0 in ./Downloads/yes/lib/python3.8/site-packages (from investpy) (52.0.0.post20210125)
Requirement already satisfied: requests>=2.22.0 in ./Downloads/yes/lib/python3.8/site-packages (from investpy) (2.25.1)
Requirement already satisfied: python-dateutil>=2.7.3 in ./Downloads/yes/lib/python3.8/site-packages (from pandas>=0.25.1->investpy) (2.8.1)
Requirement already satisfied: idna<3,>=2.5 in ./Downloads/yes/lib/python3.8/site-packages (from requests>=2.22.0->investpy) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./Downloads/yes/lib/python3.8/site-packages (from requests>=2.22.0->investpy) (1.26.4)
Requirement already satisfied: certifi>=2017.4.17 in ./Downloads/yes/lib/python3.8/site-packages (from requests>=2.22.0->investpy) (2020.12.5)
Requirement already satisfied: chardet<5,>=3.0.2 in ./Downloads/yes/lib/python3.8/site-packages (from requests>=2.22.0->investpy) (4.0.0)
Requirement already satisfied: six>=1.5 in ./Downloads/yes/lib/python3.8/site-packages (from python-dateutil>=2.7.3->pandas>=0.25.1->investpy) (1.15.0)
In the anaconda interpreter it still isn't available:
Is there a way to install the package with pycharm?
I resolved this for me doing this:
pip uninstall investpy
Then install it using PyCharm:

flask installed but ... not installed

I´m trying to install flask (PC, Windows, VS Code). Even when pip runs ok, and apparently the package is installed, I get the "module not found" message from Python.
This is what I have done so far:
First, uninstall for safety:
PS H:\Mi unidad\Projects\Webserver-raspi-V2> pip3 uninstall flask
Found existing installation: Flask 2.0.2
Uninstalling Flask-2.0.2:
Would remove:
c:\users\gp\appdata\local\programs\python\python37-32\lib\site-packages\flask-2.0.2.dist-info\*
c:\users\gp\appdata\local\programs\python\python37-32\lib\site-packages\flask\*
Then, reinstall:
PS H:\Mi unidad\Projects\Webserver-raspi-V2> pip3 install flask
Collecting flask
Using cached Flask-2.0.2-py3-none-any.whl (95 kB)
Requirement already satisfied: Werkzeug>=2.0 in c:\users\gp\appdata\local\programs\python\python37-32\lib\site-packages (from flask) (2.0.2)
Requirement already satisfied: click>=7.1.2 in c:\users\gp\appdata\local\programs\python\python37-32\lib\site-packages (from flask) (8.0.3)
Requirement already satisfied: itsdangerous>=2.0 in c:\users\gp\appdata\local\programs\python\python37-32\lib\site-packages (from flask) (2.0.1)
Requirement already satisfied: Jinja2>=3.0 in c:\users\gp\appdata\local\programs\python\python37-32\lib\site-packages (from flask) (3.0.3)
Requirement already satisfied: importlib-metadata in c:\users\gp\appdata\local\programs\python\python37-32\lib\site-packages (from click>=7.1.2->flask) (4.6.4)
Requirement already satisfied: colorama in c:\users\gp\appdata\local\programs\python\python37-32\lib\site-packages (from click>=7.1.2->flask) (0.4.4)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users\gp\appdata\local\programs\python\python37-32\lib\site-packages (from Jinja2>=3.0->flask) (2.0.1)
Requirement already satisfied: zipp>=0.5 in c:\users\gp\appdata\local\programs\python\python37-32\lib\site-packages (from importlib-metadata->click>=7.1.2->flask) (3.5.0)
Requirement already satisfied: typing-extensions>=3.6.4 in c:\users\gp\appdata\local\programs\python\python37-32\lib\site-packages (from importlib-metadata->click>=7.1.2->flask) (3.10.0.0)
Installing collected packages: flask
Successfully installed flask-2.0.2
After that, check install status:
PS H:\Mi unidad\Projects\Webserver-raspi-V2> pip3 show flask
Name: Flask
Version: 2.0.2
Summary: A simple framework for building complex web applications.
Home-page: https://palletsprojects.com/p/flask
Author: Armin Ronacher
Author-email: armin.ronacher#active-4.com
License: BSD-3-Clause
Location: c:\users\gp\appdata\local\programs\python\python37-32\lib\site-packages
Requires: click, itsdangerous, Jinja2, Werkzeug
Required-by:
and, then, when trying to use it from Python (same error when running from VS Code):
PS H:\Mi unidad\Projects\Webserver-raspi-V2> python3 -c "import flask"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'flask'
Any ideas?
I guess that if you have installed the packages in the global environment, you should have no problem, but I had my python packages installed as a user.
You can solve this by adding my user's python dir to myapp.wsgi file.
As an example:
sys.path.append('/home/deployer/anaconda3/lib/python3.5/site-packages')

Import error on Google colab after pip install and restarting runtime

I want to use a package (resreg) on Google Colab. I install it in my first cell
!pip install resreg
I get the following output:
Collecting resreg
Downloading https://files.pythonhosted.org/packages/61/74/0b664a8507e15507da5031fd92877d57551a7d362edc8089aa369c340e84/resreg-0.1-py3-none-any.whl
Collecting scikit-learn==0.21.0
Downloading https://files.pythonhosted.org/packages/b7/6c/ec121123c671d980c6969dfc69d0f09e1d7f88d80d373f511e61d773b85c/scikit_learn-0.21.0-cp36-cp36m-manylinux1_x86_64.whl (6.6MB)
|████████████████████████████████| 6.6MB 3.8MB/s
Requirement already satisfied: scipy>=1.0.0 in /usr/local/lib/python3.6/dist-packages (from resreg) (1.4.1)
Requirement already satisfied: pandas>=0.24.0 in /usr/local/lib/python3.6/dist-packages (from resreg) (1.0.5)
Requirement already satisfied: numpy>=1.14.0 in /usr/local/lib/python3.6/dist-packages (from resreg) (1.18.5)
Requirement already satisfied: joblib>=0.11 in /usr/local/lib/python3.6/dist-packages (from scikit-learn==0.21.0->resreg) (0.15.1)
Requirement already satisfied: python-dateutil>=2.6.1 in /usr/local/lib/python3.6/dist-packages (from pandas>=0.24.0->resreg) (2.8.1)
Requirement already satisfied: pytz>=2017.2 in /usr/local/lib/python3.6/dist-packages (from pandas>=0.24.0->resreg) (2018.9)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.6/dist-packages (from python-dateutil>=2.6.1->pandas>=0.24.0->resreg) (1.12.0)
Installing collected packages: scikit-learn, resreg
Found existing installation: scikit-learn 0.22.2.post1
Uninstalling scikit-learn-0.22.2.post1:
Successfully uninstalled scikit-learn-0.22.2.post1
Successfully installed resreg-0.1 scikit-learn-0.21.0
Then I restart the runtime using
">Runtime >Restart Runtime"
When I try to import the package, I get the following error
from sklearn.linear_models import ElasticNet
import resreg
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-be63596e9fde> in <module>()
1 from sklearn.linear_model import ElasticNet
---> 2 import resreg
ModuleNotFoundError: No module named 'resreg'
What could be wrong?
Try the following in different code cells:
[1]
!git clone https://github.com/jafetgado/resreg.git
!cd resreg
[2]
!pip install -e resreg
[3]
import resreg
# ... Rest of your code goes here.
If it doesn't work on the first time try to restart the kernel (go to Runtime -> Restart runtime) before running [3].
One particular thing that's worth noticing when installing resreg is that as it is noted on the stacktrace it is dependent of scikit-learn-0.21.0, and therefore you won't be able to use the new features available on the newest stable release (currently 23.0) and it's new features.
Installing collected packages: scikit-learn, resreg
Found existing installation: scikit-learn 0.22.2.post1
Uninstalling scikit-learn-0.22.2.post1:
Successfully uninstalled scikit-learn-0.22.2.post1
Running setup.py develop for resreg
Successfully installed resreg scikit-learn-0.21.0

Problem with tensorflow while running flask app from git bash

I have installed tensorflow in anaconda environment. It's working fine in spyder. But when I'm trying to start a flask server from git terminal it's showing this :
Admin#DESKTOP-SST22ME MINGW64 /d/doodle classifier
$ export FLASK_APP=app.py
Admin#DESKTOP-SST22ME MINGW64 /d/doodle classifier
$ flask run
* Serving Flask app "app.py"
* Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
* Debug mode: off
Using TensorFlow backend.
Usage: flask run [OPTIONS]
Error: While importing "app", an ImportError was raised:
Traceback (most recent call last):
File "d:\python\lib\site-packages\flask\cli.py", line 235, in locate_app
__import__(module_name)
File "D:\doodle classifier\app.py", line 5, in <module>
import keras
File "d:\python\lib\site-packages\keras\__init__.py", line 3, in <module>
from . import utils
File "d:\python\lib\site-packages\keras\utils\__init__.py", line 6, in <module>
from . import conv_utils
File "d:\python\lib\site-packages\keras\utils\conv_utils.py", line 9, in <module>
from .. import backend as K
File "d:\python\lib\site-packages\keras\backend\__init__.py", line 89, in <module>
from .tensorflow_backend import *
File "d:\python\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in <module>
import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'
I tried to install tensorflow from git terminal but it's showing this :
Admin#DESKTOP-SST22ME MINGW64 /d/doodle classifier
$ conda install tensorflow
Solving environment: ...working... done
## Package Plan ##
environment location: C:\Users\Admin\Anaconda3
added / updated specs:
- tensorflow
The following NEW packages will be INSTALLED:
_tflow_select: 2.2.0-eigen
absl-py: 0.7.0-py36_0
astor: 0.7.1-py36_0
gast: 0.2.2-py36_0
grpcio: 1.16.1-py36h351948d_1
icc_rt: 2019.0.0-h0cc432a_1
keras-applications: 1.0.6-py36_0
keras-preprocessing: 1.0.5-py36_0
libprotobuf: 3.6.1-h7bd577a_0
markdown: 3.0.1-py36_0
protobuf: 3.6.1-py36h33f27b4_0
pyreadline: 2.1-py36_1
pysocks: 1.6.8-py36_0
tensorboard: 1.12.2-py36h33f27b4_0
tensorflow: 1.12.0-eigen_py36h67ac661_0
tensorflow-base: 1.12.0-eigen_py36h45df0d8_0
termcolor: 1.1.0-py36_1
urllib3: 1.24.1-py36_0
win_inet_pton: 1.0.1-py36_1
The following packages will be UPDATED:
astropy: 1.3.2-np112py36_0 --> 2.0.11-py36h8c2d366_0
bottleneck: 1.2.1-np112py36_0 --> 1.2.1-py36h452e1ab_1
ca-certificates: 2018.11.29-ha4d7672_0 conda-forge --> 2018.12.5-0
conda: 4.5.12-py36_1000 conda-forge --> 4.6.2-py36_0
cryptography: 2.3.1-py36h74b6da3_1000 conda-forge --> 2.4.2-py36h7a1dbc1_0
h5py: 2.7.0-np112py36_0 --> 2.9.0-py36h5e291fa_0
hdf5: 1.8.15.1-vc14_4 --> 1.10.4-h7ebc959_0
llvmlite: 0.18.0-py36_0 --> 0.27.0-py36ha925a31_0
menuinst: 1.4.7-py36_0 --> 1.4.14-py36hfa6e2cd_0
numba: 0.33.0-np112py36_0 --> 0.42.0-py36hf9181ef_0
numexpr: 2.6.2-np112py36_0 --> 2.6.2-np113py36_0
numpy: 1.12.1-py36_0 --> 1.13.3-py36hb69e940_3
openssl: 1.0.2p-hfa6e2cd_1002 conda-forge --> 1.1.1a-he774522_0
pandas: 0.20.1-np112py36_0 --> 0.24.0-py36ha925a31_0
pyqt: 5.6.0-py36_2 --> 5.9.2-py36h6538335_2
pywavelets: 0.5.2-np112py36_0 --> 1.0.1-py36h8c2d366_0
qt: 5.6.2-h2639256_8 conda-forge --> 5.9.7-vc14h73c81de_0
requests: 2.14.2-py36_0 --> 2.21.0-py36_0
scikit-learn: 0.18.1-np112py36_1 --> 0.19.0-np113py36_0
scipy: 0.19.0-np112py36_0 --> 0.19.1-np113py36_0
sip: 4.18-py36_0 --> 4.19.8-py36h6538335_0
statsmodels: 0.8.0-np112py36_0 --> 0.9.0-py36h452e1ab_0
The following packages will be DOWNGRADED:
certifi: 2018.11.29-py36_1000 conda-forge --> 2018.11.29-py36_0
opencv: 3.4.4-py36hb76ac4c_1203 conda-forge --> 3.3.1-py36h20b85fd_1
Proceed ([y]/n)? y
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... failed
ERROR conda.core.link:_execute(507): An error occurred while installing package 'defaults::icc_ rt-2019.0.0-h0cc432a_1'.
PermissionError(13, 'Permission denied')
Attempting to roll back.
Rolling back transaction: ...working... done
PermissionError(13, 'Permission denied')
What should I do? Should I uninstall anaconda and then try to reinstall it?If there are other better ways to run flask app please mention them also.
Edit: I do want to mention that I installed tensorflow from anaconda prompt few months ago. If I type pip install tensorflow in anaconda prompt its showing :
(base) C:\Users\Admin>pip install tensorflow
Requirement already satisfied: tensorflow in c:\users\admin\anaconda3\lib\site-packages (1.12.0)
Requirement already satisfied: numpy>=1.13.3 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (1.15.1)
Requirement already satisfied: wheel>=0.26 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (0.32.3)
Requirement already satisfied: six>=1.10.0 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (1.11.0)
Requirement already satisfied: protobuf>=3.6.1 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (3.6.1)
Requirement already satisfied: tensorboard<1.13.0,>=1.12.0 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (1.12.1)
Requirement already satisfied: termcolor>=1.1.0 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (1.1.0)
Requirement already satisfied: keras-preprocessing>=1.0.5 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (1.0.5)
Requirement already satisfied: astor>=0.6.0 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (0.7.1)
Requirement already satisfied: keras-applications>=1.0.6 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (1.0.6)
Requirement already satisfied: absl-py>=0.1.6 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (0.6.1)
Requirement already satisfied: grpcio>=1.8.6 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (1.17.1)
Requirement already satisfied: gast>=0.2.0 in c:\users\admin\anaconda3\lib\site-packages (from tensorflow) (0.2.0)
Requirement already satisfied: setuptools in c:\users\admin\anaconda3\lib\site-packages (from protobuf>=3.6.1->tensorflow) (40.6.3)
Requirement already satisfied: markdown>=2.6.8 in c:\users\admin\anaconda3\lib\site-packages (from tensorboard<1.13.0,>=1.12.0->tensorflow) (3.0.1)
Requirement already satisfied: werkzeug>=0.11.10 in c:\users\admin\anaconda3\lib\site-packages (from tensorboard<1.13.0,>=1.12.0->tensorflow) (0.14.1)
Requirement already satisfied: h5py in c:\users\admin\anaconda3\lib\site-packages (from keras-applications>=1.0.6->tensorflow) (2.8.0)
Have you tried installing it like below:-
pip3.7 install tensorflow --user
or
pip3 install tensorflow --user

Categories