Issue 1:
When am trying to run the tensorboard in anaconda prompt, I am getting below error. Can somebody help me to recover from it?

Reproducing code example:

tensorboard --logdir=logs/

Error message:

Traceback (most recent call last):

File "c:\users\aswk\appdata\local\continuum\anaconda3\lib\site-packages\numpy\core_init_.py", line 16, in

from . import multiarray

File "c:\users\aswk\appdata\local\continuum\anaconda3\lib\site-packages\numpy\core\multiarray.py", line 12, in

from . import overrides

File "c:\users\aswk\appdata\local\continuum\anaconda3\lib\site-packages\numpy\core\overrides.py", line 6, in

from numpy.core._multiarray_umath import (

ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "c:\users\aswk\appdata\local\continuum\anaconda3\lib\runpy.py", line 193, in run_module_as_main

"main", mod_spec)

File "c:\users\aswk\appdata\local\continuum\anaconda3\lib\runpy.py", line 85, in run_code

exec(code, run_globals)

File "C:\Users\aswk\AppData\Local\Continuum\anaconda3\Scripts\tensorboard.exe_main.py", line 5, in

File "c:\users\aswk\appdata\local\continuum\anaconda3\lib\site-packages\tensorboard\main.py", line 45, in

from tensorboard import default

File "c:\users\aswk\appdata\local\continuum\anaconda3\lib\site-packages\tensorboard\default.py", line 34, in

import tensorflow as tf

File "c:\users\aswk\appdata\local\continuum\anaconda3\lib\site-packages\tensorflow_init.py", line 24, in

from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import

File "c:\users\aswk\appdata\local\continuum\anaconda3\lib\site-packages\tensorflow\python_init_.py", line 47, in

import numpy as np

File "c:\users\aswk\appdata\local\continuum\anaconda3\lib\site-packages\numpy_init_.py", line 142, in

from . import core

File "c:\users\aswk\appdata\local\continuum\anaconda3\lib\site-packages\numpy\core_init_.py", line 47, in

raise ImportError(msg)

ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the multiarray numpy extension module failed. Most

likely you are trying to import a failed build of numpy.

Here is how to proceed:

If you're working with a numpy git repository, try git clean -xdf

(removes all files not under version control) and rebuild numpy.

If you are simply trying to use the numpy version that you have installed:

your installation is broken - please reinstall numpy.

If you have already reinstalled and that did not fix the problem, then:

Check that you are using the Python you expect (you're using c:\users\aswk\appdata\local\continuum\anaconda3\python.exe),

and that you have no directories in your PATH or PYTHONPATH that can

interfere with the Python and numpy versions you're trying to use.

If (1) looks fine, you can open a new issue at

https://github.com/numpy/numpy/issues. Please include details on:

how you installed Python

how you installed numpy

your operating system

whether or not you have multiple versions of Python installed

if you built from source, your compiler versions and ideally a build log

Note: this error has many possible causes, so please don't comment on

an existing issue about this - open a new one instead.

Original error was: DLL load failed: The specified module could not be found.

Numpy/Python version information:

(base) C:\Users\aswk.spyder-py3\python example files\Test_project>conda list numpy

packages in environment at C:\Users\aswk\AppData\Local\Continuum\anaconda3:

Name Version Build Channel

msgpack-numpy 0.4.3.2 pypi_0 pypi

numpy 1.16.1 pypi_0 pypi

numpydoc 0.8.0 py36_0

Issue 2:
Create fresh virtual env with Anaconda Navigator 1.9.6 under Windows 10, selecting Python 3.7, naming python37

In the console of VSCode:

activate python37

pip install numpy

(python37) D:\TfsProj\alphastone>pip install numpy
Collecting numpy
Using cached https://files.pythonhosted.org/packages/41/b8/3a6b07352c2542ca1c89be7583e7ca07bf513895b6ac59ae008054f326b1/numpy-1.16.1-cp37-cp37m-win_amd64.whl
Installing collected packages: numpy
Successfully installed numpy-1.16.1

(same with parameter --no-cache-dir)

python

import numpy

(python37) D:\TfsProj\alphastone>python
Python 3.7.2 (default, Feb 11 2019, 14:11:50) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\core\__init__.py", line 16, in <module>
from . import multiarray
File "C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\core\multiarray.py", line 12, in <module>
from . import overrides
File "C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\core\overrides.py", line 6, in <module>
from numpy.core._multiarray_umath import (
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\__init__.py", line 142, in <module>
from . import core
File "C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\core\__init__.py", line 47, in <module>
raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

All advices, reinstallations via pip and conda, or different numpy versions (e.g. 1.15.4) didn't solve this issue for me.

If I do multiple pip uninstall numpy until there is no numpy left, and then do a conda install numpy, importing numpy interestingly works (in 1.15.4).

A conda install numpy does the following:

The following NEW packages will be INSTALLED:

blas pkgs/main/win-64::blas-1.0-mkl
icc_rt pkgs/main/win-64::icc_rt-2019.0.0-h0cc432a_1
intel-openmp pkgs/main/win-64::intel-openmp-2019.1-144
mkl pkgs/main/win-64::mkl-2019.1-144
mkl_fft pkgs/main/win-64::mkl_fft-1.0.10-py37h14836fe_0
mkl_random pkgs/main/win-64::mkl_random-1.0.2-py37h343c172_0
numpy pkgs/main/win-64::numpy-1.15.4-py37h19fb1c0_0
numpy-base pkgs/main/win-64::numpy-base-1.15.4-py37hc3f5095_0

What's missing for the pip way?

Any ideas?