Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

227
Views
ImportError: ningún módulo llamado tensorflow

Por favor ayúdenme con este error

He instalado el módulo tensorflow en mi servidor y debajo está su información

 15IT60R19@cpusrv-gpu-109:~$ pip show tensorflow Name: tensorflow Version: 1.0.0 Summary: TensorFlow helps the tensors flow Home-page: http://tensorflow.org/ Author: Google Inc. Author-email: opensource@google.com License: Apache 2.0 Location: /home/other/15IT60R19/anaconda2/lib/python2.7/site-packages Requires: mock, numpy, protobuf, wheel, six

Pero cuando intento importar tensorflow, aparece el siguiente error

 >>> import tensorflow as tf Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named tensorflow

Mi versión de python es la siguiente

 Python 2.7.12 |Anaconda 2.5.0 (64-bit)| (default, Jul 2 2016, 17:42:40) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. Anaconda is brought to you by Continuum Analytics. Please check out: http://continuum.io/thanks and https://anaconda.org

He probado las soluciones dadas en sol1

Sol2

no tengo acceso sudo al servidor solo puedo usar pip para instalar cualquier modulo

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Intente instalar tensorflow nuevamente con la versión que desee y con la opción --ignore-installed como:

 pip install tensorflow==1.2.0 --ignore-installed

Resolví el mismo problema usando este comando.

over 4 years ago · Santiago Trujillo Report

0

Tuve un problema más básico cuando recibí este error.

Las instrucciones de "Valide su instalación" dicen que escriba: python

Sin embargo, tengo ambos 2.7 y 3.6 instalados. Debido a que usé pip3 para instalar tensorflow, necesitaba escribir: python3

Usando la versión correcta, podría importar el módulo "tensorflow".

over 4 years ago · Santiago Trujillo Report

0

Verifique si Tensorflow se instaló correctamente usando:

 pip3 show tensorflow

Si obtienes algo como

 Name: tensorflow Version: 1.2.1 Summary: TensorFlow helps the tensors flow Home-page: http://tensorflow.org/ Author: Google Inc. Author-email: opensource@google.com License: Apache 2.0 Location: /usr/local/lib/python3.5/dist-packages Requires: bleach, markdown, html5lib, backports.weakref, werkzeug, numpy, protobuf, wheel, six

Puede intentar agregar la ruta de su ubicación de tensorflow al:

 export PYTHONPATH=/your/tensorflow/path:$PYTHONPATH.
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!