Running miniconda3 AND another venv with tensorflow shows errors but code runs properly

Hey, I'm starting to love PyCharm but I get reported errors from the editor BUT the .py code runs ok.

I used miniconda3 to install tensorflow, but I'd like to use the environment from another venv.

Specifically, 

import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' 

import numpy as np
import pandas as pd
import tensorflow as tf
from tensorflow.keras import layers

The editor reports errors on keras, but the code seem to run ok.

Obviously, something is wrong with my configuration, but what.

0

请先登录再写评论。