Traceback (most recent call last):


 "/Users/mac/Desktop/WFPyProjs/main.py", line 20, in <module>

project = XcodeProject.load('/Users/***/Desktop/pydemo/pydemo.xcodeproj/pydemo.pbxproj')
AttributeError: class XcodeProject has no attribute 'load'
Traceback (most recent call last):


 "main.py", line 70, in <module>

tf.app.run()


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run

_sys.exit(main(argv))


 "main.py", line 43, in main

dataset_name=FLAGS.dataset
# name of the dataset in the folder ./data


 "C:\Users\user\Downloads\Face-Aging-CAAE-master\FaceAging.py", line 95, in __init__

is_training=self.is_training


 "C:\Users\user\Downloads\Face-Aging-CAAE-master\FaceAging.py", line 554, in discriminator_z

current = tf.contrib.layers.batch_norm(


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\util\lazy_loader.py", line 53, in __getattr__

module = self._load()


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\util\lazy_loader.py", line 42, in _load

module = importlib.import_module(self.__name__)


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 994, in _gcd_import


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 665, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 678, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\__init__.py", line 39, in <module>

from tensorflow.contrib import distributions


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\distributions\__init__.py", line 40, in <module>

from tensorflow.contrib.distributions.python.ops.estimator import *


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\distributions\python\ops\estimator.py", line 21, in <module>

from tensorflow.contrib.learn.python.learn.estimators.head import _compute_weighted_loss


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\learn\__init__.py", line 95, in <module>

from tensorflow.contrib.learn.python.learn import *


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\learn\python\__init__.py", line 28, in <module>

from tensorflow.contrib.learn.python.learn import *


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\learn\python\learn\__init__.py", line 40, in <module>

from tensorflow.contrib.learn.python.learn.experiment import Experiment


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\learn\python\learn\experiment.py", line 39, in <module>

from tensorflow.contrib.tpu.python.tpu import tpu_estimator


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\tpu\__init__.py", line 55, in <module>

from tensorflow.contrib.tpu.python import profiler


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\tpu\python\profiler\__init__.py", line 23, in <module>

from tensorflow.contrib.tpu.profiler.tpu_profiler_analysis_pb2 import *


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\tpu\profiler\tpu_profiler_analysis_pb2.py", line 16, in <module>

from tensorflow.contrib.tpu.profiler import tpu_profiler_pb2 as tensorflow_dot_contrib_dot_tpu_dot_profiler_dot_tpu__profiler__pb2


 "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\tpu\profiler\tpu_profiler_pb2.py", line 402, in <module>

_sym_db.RegisterServiceDescriptor(_TPUPROFILER)
AttributeError: 'SymbolDatabase' object has no attribute 'RegisterServiceDescriptor'