Skip to content

Pycharm:TensorFlow-Attribute error issue  #41962

@vigneshenoy-SDET

Description

@vigneshenoy-SDET

Hi,

While trying to run the below code I encountered an Attribute error, description for which is given below.

Code

import tensorflow as tf

node1 = tf.constant (3.0,tf.float32)

node2 = tf.constant (4.0)

print(node1,node2)

Error Message encountered-AttributeError: module 'os' has no attribute 'add_dll_directory'

System Configurations are as mentioned below

OS-Windows 7
Python version-3.8.0
Pycharm version-Community 2019.1
Tensorflow-2.3.0

PFA the screenshots of Pycharm packages
pycharm_packages_1
pycharm_packages_2

Metadata

Metadata

Assignees

Labels

TF 2.3Issues related to TF 2.3subtype:windowsWindows Build/Installation Issuestype:build/installBuild and install issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions