git错误invalid path解决方法
在windows上git clone代码时报错:error: invalid path ‘xxxx’
解决方法:
1 | git config core.protectNTFS false |
参数说明:
1 | core.protectNTFS |
在windows上git clone代码时报错:error: invalid path ‘xxxx’
解决方法:
1 | git config core.protectNTFS false |
参数说明:
1 | core.protectNTFS |
git使用过程中,出现error: unable to create file xxx: Filename too long Updated 0 paths from the index
原因是windows的git版本中如果是文件名太长了,git会报错
解决方法:
1 | 选其一 |
windows下运行python项目,报错ModuleNotFoundError: No module named 'fcntl'
fcntl
库是linix
的Python发行版才有,windows
没有带
pip安装缺失的包,这个地址去搜索https://libraries.io/search?q=micropython
1 | pip install micropython-xxx |
仓库地址:https://github.com/micropython/micropython
在python库文件目录D:\Python\Python38\Lib\site-packages
中创建’fcnty
文件,内容为:
1 | def fcntl(fd, op, arg=0): |
新建bat文件hyper-v.bat
,内容为
1 | pushd "%~dp0" |
以管理员身份执行hyper-v.bat
,然后等待安装,需要确认的都选择y