Since that is obviously intended to be a module and not a package, you can see that you are missing one level in your directory structure for the way you are currently trying to make use of find_packages(). The error message tells you that the interpreter thinks you have a package called 'sub_module1'. If sub_module1 is there, and has an init.py file in it - why wouldn't the installation recognize it?ĮDIT: Kudos to sinoroc for pointing out there of course is more than one solution to this issue. Writing manifest file '/tmp/pip-req-build-f7hcw6xa/pip-egg-info/my_package.egg-info/SOURCES.txt'Įrror: package directory 'sub_module1' does not existĮRROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Writing top-level names to /tmp/pip-req-build-f7hcw6xa/pip-egg-info/my_package.egg-info/top_level.txt Writing requirements to /tmp/pip-req-build-f7hcw6xa/pip-egg-info/my_package.egg-info/requires.txt Writing dependency_links to /tmp/pip-req-build-f7hcw6xa/pip-egg-info/my_package.egg-info/dependency_links.txt Writing /tmp/pip-req-build-f7hcw6xa/pip-egg-info/my_package.egg-info/PKG-INFO When installing I get the following error ERROR: Command errored out with exit status 1:Ĭommand: /some_path/bin/python3 -c 'import sys, setuptools, tokenize sys.argv = '"'"'/tmp/pip-req-build-f7hcw6xa/setup.py'"'"' _file_='"'"'/tmp/pip-req-build-f7hcw6xa/setup.py'"'"' f=getattr(tokenize, '"'"'open'"'"', open)(_file_) code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"') f.close() exec(compile(code, _file_, '"'"'exec'"'"'))' egg_info -egg-base /tmp/pip-req-build-f7hcw6xa/pip-egg-infoĬreating /tmp/pip-req-build-f7hcw6xa/pip-egg-info/my_package.egg-info I've looked at similar questions, but with no luck of answer, I have the following structure ├── README.rst
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |