So when I try to launch tensorboard I got this error :
Traceback (most recent call last):
File "/usr/local/bin/tensorboard", line 7, in <module>
from tensorflow.tensorboard.tensorboard import main
File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/tensorboard.py", line 34, in <module>
from tensorflow.tensorboard.backend import server
File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/backend/server.py", line 38, in <module>
from tensorflow.tensorboard.plugins.projector import plugin as projector_plugin
File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/plugins/projector/plugin.py", line 27, in <module>
from tensorflow.contrib.tensorboard.plugins.projector import PROJECTOR_FILENAME
ImportError: cannot import name PROJECTOR_FILENAME
What's wrong ?
I've got this error when I've used following command to launch TB:
python -m tensorflow.tensorboard
When I've used another one it went ok:
tensorboard --logdir=path/to/log-directory
Related
When I execute jupyter notebook command I get
jupyter notebook
Traceback (most recent call last):
File "/usr/local/bin/jupyter-notebook", line 6, in <module>
from notebook.notebookapp import main
File "/usr/local/lib/python3.6/dist-packages/notebook/notebookapp.py", line 63, in <module>
from tornado import web
File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 95, in <module>
from tornado.routing import (
ImportError: cannot import name '_RuleList'
(my_project_env)
While attempting to run jupyter notebook in python3.6.3 on my gnome terminal I get the following output, running on UBUNTU:
Traceback (most recent call last):
File "/home/willem/.local/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py", line 10, in <module>
import sqlite3
File "/usr/local/lib/python3.6/sqlite3/__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "/usr/local/lib/python3.6/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/willem/.local/bin/jupyter-notebook", line 7, in <module>
from notebook.notebookapp import main
File "/home/willem/.local/lib/python3.6/site-packages/notebook/notebookapp.py", line 81, in <module>
from .services.sessions.sessionmanager import SessionManager
File "/home/willem/.local/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py", line 13, in <module>
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
However, the module sqlite3 is present in my python3.6.3 directory. Which makes the problem rather vague.
Any suggestions for this problem to be fixed will be greatly appreciated
I am using Ubuntu system with python 2.7 and pandas version of 0.19.I have been trying to run a python file and this error keeps on showing up-
>>> import file.py as x
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "file.py", line 4, in <module>
import pandas as pd
File "/home/user/.local/lib/python2.7/site-packages/pandas/__init__.py", line 39, in <module>
from pandas.core.api import *
File "/home/user/.local/lib/python2.7/site-packages/pandas/core/api.py", line 20, in <module>
from pandas.core.reshape import (pivot_simple as pivot, get_dummies,
ImportError: cannot import name pivot_simple
Please help me in resolving the issue by telling the possible issues for this error and the way it can be removed.
Thanks!
instead of using 'files.py'
please try 'import files as x'
I am testing some chatbots from Github, I seem to get the following error whenever I try running chatbots using tensorflow.
after typing python train.py
Traceback (most recent call last):
File "train.py", line 8, in <module>
from tf_seq2seq_chatbot.lib.train import train
File "C:\Users\S\Downloads\ChatBot-master\ChatBot-master\tf_seq2seq_chatbot\lib\train.py", line 14, in <module>
from tf_seq2seq_chatbot.lib.seq2seq_model_utils import create_model
File "C:\Users\S\Downloads\ChatBot-master\ChatBot-master\tf_seq2seq_chatbot\lib\seq2seq_model_utils.py", line 11, in <module>
from tf_seq2seq_chatbot.lib import seq2seq_model
File "C:\Users\S\Downloads\ChatBot-master\ChatBot-master\tf_seq2seq_chatbot\lib\seq2seq_model.py", line 28, in <module>
from tensorflow.models.rnn.translate import data_utils
ImportError: No module named 'tensorflow.models'
Source https://github.com/AhmedAbdalazeem/ChatBot
You need to install the tensorflow.models repository.
Hi I installed python using "homebrew install python".
A script which was already running started throwing below error.
Traceback (most recent call last):
File "TestConnection.py", line 1, in <module>
from TextUpdater import TextUpdater
File "/Users/gepaul/code/external-tools/tools/Scripts/TextUpdater.py", line 1, in <module>
from GSHelper import GSHelper
File "/Users/gepaul/code/external-tools/tools/Scripts/GSHelper.py", line 2, in <module>
import gspread
File "/Library/Python/2.7/site-packages/gspread/__init__.py", line 21, in <module>
from .client import Client, login, authorize
File "/Library/Python/2.7/site-packages/gspread/client.py", line 19, in <module>
from .httpsession import HTTPSession, HTTPError
File "/Library/Python/2.7/site-packages/gspread/httpsession.py", line 16, in <module>
from http import client
ImportError: cannot import name client
Any Idea why this happened?
Python version is Python 2.7.6