热门
最新
红包
立Flag
投票
同城
我的
发布
随手记(报错):
LookupError: setuptools-scm was unable to detect version for H:\fullnet\fullnet-main\fullnet-main.
Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
一种可能的报错原因是,本来是一个github项目,没有git clone到本地,而是直接打包到了本地,再直接安装。解决方法是git clone到本地,再用 python setup.py install 安装
CSDN App 扫码分享
2
点赞
打赏
- 复制链接
- 举报
下一条:
VLAN实验