The*_*era 15 python packaging pip easy-install
我正在尝试通过PIP 安装此软件包.它给了我以下错误:
error: package directory 'RTbatch' does not exist
Run Code Online (Sandbox Code Playgroud)
我觉得这很奇怪,因为相关的setup.py并没有提到任何packages变量,只是py_modules.
怎么了?你能帮我吗?
以下是完整输出pip install -e RTbatch:
Obtaining file:///home/chymera/RTbatch
Running setup.py (path:/home/chymera/RTbatch/setup.py) egg_info for package from file:///home/chymera/RTbatch
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'heywords'
warnings.warn(msg)
error: package directory 'RTbatch' does not exist
Complete output from command python setup.py egg_info:
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'heywords'
warnings.warn(msg)
running egg_info
creating RTbatch.egg-info
writing requirements to RTbatch.egg-info/requires.txt
writing RTbatch.egg-info/PKG-INFO
writing top-level names to RTbatch.egg-info/top_level.txt
writing dependency_links to RTbatch.egg-info/dependency_links.txt
writing manifest file 'RTbatch.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
error: package directory 'RTbatch' does not exist
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/chymera/RTbatch
Storing debug log for failure in /home/chymera/.pip/pip.log
Run Code Online (Sandbox Code Playgroud)
py_modules获取模块名称列表,而不是文件.你的电话寻找RTBatch/py.py和RTBatch_cli/py.py.
| 归档时间: |
|
| 查看次数: |
16674 次 |
| 最近记录: |