Problems installing ASReview
See original GitHub issueInstalled ASreview as follows:
conda create -n veni_sysrev python=3.7.3
conda activate veni_sysrev
pip install git+https://github.com/asreview/asreview.git
Trying to run ASReview gave many errors about tensorflow. I ran this tensorflow selfcheck (https://gist.github.com/mrry/ee5dbcfdd045fa48a27d56664411d41c) and concluded that I needed to install CUDA, which I did. After that, I still get these errors:
>>> import tensorflow
Traceback (most recent call last):
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\imp.py", line 342, in load_dynamic
return _load(spec)
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 "<stdin>", line 1, in <module>
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\site-packages\tensorflow\__init__.py", line 101, in <module>
from tensorflow_core import *
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\site-packages\tensorflow_core\__init__.py", line 40, in <module>
from tensorflow.python.tools import module_util as _module_util
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\site-packages\tensorflow\__init__.py", line 50, in __getattr__
module = self._load()
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\site-packages\tensorflow\__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\site-packages\tensorflow_core\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\lissa102\AppData\Local\Continuum\miniconda3\envs\veni_sysrev\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
>>>
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Troubleshooting — ASReview LAB documentation
This error typically happens when the version of your Python installation has been released very recently. Because of this, the dependencies of ASReview...
Read more >Download - ASReview
Easy instructions how to install ASReview LAB. Follow the instructions below and you will be ready to start your systematic review with ASReview....
Read more >asreview · PyPI
asreview 1.1 · Project description · ASReview: Active learning for Systematic Reviews · Installation · How it works · Getting started · Citation...
Read more >Install ASReview via Python - Stack Overflow
Python 3.9.0 does not have wheel for numpy. If there is no reason to why you would need 3.9.0 I would remove python...
Read more >1 Title: Open Source Software for Efficient and Transparent ...
ASReview does not replace the initial step of collecting all potentially ... on installing the software and testing the performance on their own...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@J535D165 Yes, I’ll get it in for the next release.
@cjvanlissa Have you looked at: https://github.com/tensorflow/tensorflow/issues/22794? There seem to be a lot of people having the same problem. Perhaps the quickest fix you could try is to install an older version of tenosorflow:
pip install "tensorflow<2.1"
or
pip install "tensorflow<2.0"
or the cpu version of tensorflow:
pip install tensorflow-cpu
Might need to uninstall tensorflow in this case.
Tensorflow is no longer a required dependency because Windows users might run into problems. The reported issue is a problem with tensorflow itself.