Skip to content

Instantly share code, notes, and snippets.

@Athospd
Created February 16, 2019 14:21
Show Gist options
  • Save Athospd/1b08ff4bb33b7df774c6dcd3b9849642 to your computer and use it in GitHub Desktop.
Save Athospd/1b08ff4bb33b7df774c6dcd3b9849642 to your computer and use it in GitHub Desktop.
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
~\Anaconda3\envs\athos\lib\site-packages\numpy\core\__init__.py in <module>
15 try:
---> 16 from . import multiarray
17 except ImportError as exc:
~\Anaconda3\envs\athos\lib\site-packages\numpy\core\multiarray.py in <module>
11
---> 12 from . import overrides
13 from . import _multiarray_umath
~\Anaconda3\envs\athos\lib\site-packages\numpy\core\overrides.py in <module>
5
----> 6 from numpy.core._multiarray_umath import (
7 add_docstring, implement_array_function, _get_implementing_args)
ImportError: DLL load failed: Não foi possível encontrar o módulo especificado.
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
<ipython-input-1-be583b7cdc0d> in <module>
----> 1 import tensorflow as tf
2 import keras
3 import numpy as np
4 import matplotlib.pyplot as plt
5
~\Anaconda3\envs\athos\lib\site-packages\tensorflow\__init__.py in <module>
22
23 # pylint: disable=g-bad-import-order
---> 24 from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
25
26 try:
~\Anaconda3\envs\athos\lib\site-packages\tensorflow\python\__init__.py in <module>
45 # pylint: disable=wildcard-import,g-bad-import-order,g-import-not-at-top
46
---> 47 import numpy as np
48
49 from tensorflow.python import pywrap_tensorflow
~\Anaconda3\envs\athos\lib\site-packages\numpy\__init__.py in <module>
140 from . import _distributor_init
141
--> 142 from . import core
143 from .core import *
144 from . import compat
~\Anaconda3\envs\athos\lib\site-packages\numpy\core\__init__.py in <module>
45 Original error was: %s
46 """ % (sys.executable, exc)
---> 47 raise ImportError(msg)
48 finally:
49 for envkey in env_added:
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:
1. Check that you are using the Python you expect (you're using C:\Users\ap_da\Anaconda3\envs\athos\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.
2. 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: Não foi possível encontrar o módulo especificado.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment