Home > other >  ImportError: always import a name 'digitize' what is the problem?
ImportError: always import a name 'digitize' what is the problem?

Time:10-11

D: \ \ 456 envs \ tensorflow \ python exe C:/Users/LSX PycharmProjects/test/venv/123123. Py
Traceback (the most recent call last) :
The File "C:/Users/LSX PycharmProjects/test/venv/123123. Py", line 1, the in & lt; module>
The import tensorflow as tf
The File "D: \ \ 456 envs \ tensorflow \ lib \ site - packages \ tensorflow \ set p y", 28, the line in & lt; module>
The from tensorflow. Python import pywrap_tensorflow # pylint: disable=unused - import
The File "D: \ \ 456 envs \ tensorflow \ lib \ site - packages \ tensorflow \ python \ set py", line 47, in & lt; module>
The import numpy as np
The File "D: \ \ 456 envs \ tensorflow \ lib \ site - packages \ numpy \ set py", line 142, in & lt; module>
From the import add_newdocs
The File "D: \ \ 456 envs \ tensorflow \ lib \ site - packages \ numpy \ add_newdocs py", line 13, the in & lt; module>
The from numpy. Lib import add_newdoc
The File "D: \ \ 456 envs \ tensorflow \ lib \ site - packages \ numpy \ lib \ set py", line 9, the in & lt; module>
From the index_tricks import *
The File "D: \ \ 456 envs \ tensorflow \ lib \ site - packages \ numpy \ lib \ index_tricks py", line 12, the in & lt; module>
From the import function_base
The File "D: \ \ 456 envs \ tensorflow \ lib \ site - packages \ numpy \ lib \ function_base py", line 32, in & lt; module>
The from numpy. Core. Multiarray import (
ImportError: always import a name 'digitize'
This is a complete
The import tensorflow as tf
Sess=tf. The Session ()
A=tf. Constant (1)
B=tf. Constant (2)
Print (sess. Run (a + b))
This is the code
  • Related