During a recent WiredTiger release, I encountered an error while running "python setup_pip.py sdist" to generate the wiredtiger Python package/tarball. It was a clean wiredtiger git tree, and Python2 was used to run the command.
Traceback (most recent call last): File "setup_pip.py", line 322, in <module> shutil.copy2(src, os.path.join(stage_dir, f)) File "/usr/lib/python2.7/shutil.py", line 144, in copy2 copyfile(src, dst) File "/usr/lib/python2.7/shutil.py", line 96, in copyfile with open(src, 'rb') as fsrc: IOError: [Errno 2] No such file or directory: 'lang/python/wiredtiger/__init__.py'