您的位置:首页 > 健康 > 美食 > 重庆商城网站建设地址_电子商务网站设计的原则_seo教程百度网盘_推广平台的方法

重庆商城网站建设地址_电子商务网站设计的原则_seo教程百度网盘_推广平台的方法

2025/4/19 1:19:39 来源:https://blog.csdn.net/njsgcs/article/details/147117618  浏览:    关键词:重庆商城网站建设地址_电子商务网站设计的原则_seo教程百度网盘_推广平台的方法
重庆商城网站建设地址_电子商务网站设计的原则_seo教程百度网盘_推广平台的方法
git clone --recurse-submodules https://github.com/FreeCAD/FreeCAD.git freecad-source

bash /home/chen/代码/freecad-source/package/ubuntu/install-apt-packages.sh

vscode 扩展安装cmake tool

把/home/chen/代码/freecad-source/contrib下的.vscode复制到根目录

启动vscode

按f5

module_to_install = "debugpy"
import os
import FreeCAD
import addonmanager_utilities as utils
vendor_path = utils.get_pip_target_directory()
args = ["install", "--disable-pip-version-check", "--target", vendor_path, module_to_install]
appimage = os.getenv("APPIMAGE")  
if appimage:python_exe = App.getHomePath() + "bin/python"
else:if hasattr(utils, "get_python_exe"):python_exe = utils.get_python_exe()else:from freecad.utils import get_python_exepython_exe = get_python_exe()
cmd = [python_exe, "-m", "pip"]
cmd.extend(args)
result = None
try:result = utils.run_interruptable_subprocess(cmd)FreeCAD.Console.PrintMessage("Install/Upgrade of " + module_to_install + " finished\n")
except:text = "Error trying to Install/Upgrade " + module_to_install + ". Please ensure pip is installed on your system and the module exists for this version of Python"FreeCAD.Console.PrintError(text + "\n")

 

 

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com