- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Traceback (most recent call last):
File "ppDataAugmentation.py", line 1, in <module>
import tensorflow as tf
File "/home/u23686/.local/lib/python2.7/site-packages/tensorflow/__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/home/u23686/.local/lib/python2.7/site-packages/tensorflow/python/__init__.py", line 122, in <module>
from tensorflow.python.platform import test
File "/home/u23686/.local/lib/python2.7/site-packages/tensorflow/python/platform/test.py", line 47, in <module>
import mock # pylint: disable=g-import-not-at-top,unused-import
ImportError: No module named mock
Enlace copiado
11 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi Daniel,
Thanks for reaching us. We are able to import tensorflow.
Can you please check once and confirm. If you are not able to import yet, please write down the steps in detail.
u5653@s001-n105:~$ uname -a
Linux s001-n105 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
u5653@s001-n105:~$ python
Python 3.6.2 |Anaconda, Inc.| (default, Sep 22 2017, 02:03:08)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>>
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
we are still in the process of being ported to Ubuntu fully. When completed all the modules will be available on all nodes.
Please try multiple times so that it may work on any compute node where all the modules are installed.
Migration will be completed on or before 2nd April.
I am closing this thread as it is part of migration.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi,
Please let me know if it works for you when you try multiple times.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
No nothing working I'm afraid
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi,
Nothing to worry, we are facing these issues since migration is in progress.
Please try to create your own conda environment and try to import.
1) conda create -n <conda environment name> -c intel python=3
2) source activate <conda environment name>
3) conda install tensorflow -c intel
4) to see the channels of installed packages
a. conda list --show-channel-urls
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi,
Please let us know the results after creating conda environment.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Unsuccessful I'm afraid.
Started receiving numpy errors which hadn't occurred before. I tried uninstalling and reinstalling numpy, but no success.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi,
Please execute below 2 commands and create new conda environment.
cd ~/.local (the '.' before local is important)
rm -rf lib
This will clear the local pip environment. Then you can reinstall w
whatever packages needed.
If it fails then we will create new account for you as existing one is corrupted.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
If it fails then please let me know your user account ID.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I believe it is working now, thank you very much Rajeswari for your help.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I am closing this thread as it is working.
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla