You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a four-step process. To streamline this chapter, we’re just providing the main steps for this process. However, there are more detailed instructions available in the following locations:
The website for this book (https://www.manning.com/books/learn-ai-assisted-python-programming) provides detailed instructions for setting up both PC and macOS systems. Because the websites for these tools might change after we write this book, we encourage you to use a combination of the GitHub link and the book website together.
本书的英文原版官方网站(https://www.manning.com/books/learn-ai-assisted-python-programming )针对 PC 和 macOS 系统都提供了详细的设置步骤。上述网站可能在本书出版后持续更新,因此建议你同时参考上述链接进行操作。
Go into your settings in GitHub and enable Copilot. This is the point where you’ll either need to verify you are a student or sign up for the 30-day free trial (available at the time of this writing).
Python(由 Microsoft 提供)。请参照 https://code.visualstudio.com/docs/languages/python 的指导,正确配置 Python 插件(特别注意选择正确的解释器)。
GitHub Copilot (by GitHub)
GitHub Copilot(由 GitHub 提供)。
GitHub Copilot Labs (by GitHub)—Note that Copilot Labs is not needed for the majority of the book, so if it has changed from the time of writing, please do not be discouraged. The interactions that we will have with Copilot Labs could also be done by interacting with ChatGPT or Github Copilot Chat.
GitHub Copilot Chat (by GitHub)—At the time of writing, GitHub Copilot Chat is not yet available to everyone. This feature will be used in later chapters but if it is still unavailable, the same conversations we’ll have with Copilot Chat could be had with ChatGPT. We’ll provide more details when we use this feature.
We know that the steps here are brief. If you encounter any problems, we encourage you to consult the resources mentioned earlier for more detailed setup instructions.
2.2 Getting your system set up
2.2 设置你的系统
This is a four-step process. To streamline this chapter, we’re just providing the main steps for this process. However, there are more detailed instructions available in the following locations:
这个过程包含四个步骤。为了让本节内容更加流畅,下面只列出了这个过程的主要步骤。不过,你可以在以下地址找到更为详尽的指南:
Visit GitHub’s documentation at https://docs.github.com/en/copilot/getting-started-with-github-copilot.
访问 GitHub 官方文档:
https://docs.github.com/en/copilot/getting-started-with-github-copilot
。The website for this book (https://www.manning.com/books/learn-ai-assisted-python-programming) provides detailed instructions for setting up both PC and macOS systems. Because the websites for these tools might change after we write this book, we encourage you to use a combination of the GitHub link and the book website together.
本书的英文原版官方网站(
https://www.manning.com/books/learn-ai-assisted-python-programming
)针对 PC 和 macOS 系统都提供了详细的设置步骤。上述网站可能在本书出版后持续更新,因此建议你同时参考上述链接进行操作。In the online book forum (https://livebook.manning.com/book/learn-ai-assisted-python-programming/discussion), you can ask for help and see the answers to a list of frequently asked questions.
在本书的英文原版官方论坛里(
https://livebook.manning.com/book/learn-ai-assisted-python-programming/discussion
),你可以发帖求助,也可以在常见问题的清单中查找答案。The primary steps you’ll need to accomplish are as follows:
你需要完成的主要步骤如下:
Set up your GitHub account and sign up for Copilot:
创建一个 GitHub 账户,然后注册 Copilot:
Go to https://github.com/signup and sign up for a GitHub account.
Go into your settings in GitHub and enable Copilot. This is the point where you’ll either need to verify you are a student or sign up for the 30-day free trial (available at the time of this writing).
前往
https://github.com/signup
,注册一个 GitHub 账户。在 GitHub 的设置中启用 Copilot。在这个环节,如果你是学生则可以验证身份并免费使用,否则可以选择 30 天的免费试用期(本书撰写时有此选择)。
Install Python:
安装 Python:
Go to www.python.org/downloads/.
Download and install the latest version of Python (3.11.1 at the time of writing).
访问
www.Python.org/downloads/
。下载并安装 Python 的最新版本(本书撰写时为 3.11.1)。
Install VS Code:
安装 VS Code:
Go to https://code.visualstudio.com/download, select the main download for your operating system (e.g., Windows Download or Mac Download).
Download and install the latest version of VS Code.
访问
https://code.visualstudio.com/download
,根据你的操作系统选择对应的安装包(比如,Windows 版或 Mac 版)。下载并安装 VS Code 的最新版本。
Install the following VS Code extensions (for details, see https://code.visualstudio.com/docs/editor/extension-marketplace).
在 VS Code 中安装以下插件(具体安装方法请参考
https://code.visualstudio.com/docs/editor/extension-marketplace
)。Python (by Microsoft)—Follow the instructions at https://code.visualstudio.com/docs/languages/python to set up the Python extension correctly (specifically, selecting the correct interpreter).
Python(由 Microsoft 提供)。请参照
https://code.visualstudio.com/docs/languages/python
的指导,正确配置 Python 插件(特别注意选择正确的解释器)。GitHub Copilot (by GitHub)
GitHub Copilot(由 GitHub 提供)。
GitHub Copilot Labs (by GitHub)—Note that Copilot Labs is not needed for the majority of the book, so if it has changed from the time of writing, please do not be discouraged. The interactions that we will have with Copilot Labs could also be done by interacting with ChatGPT or Github Copilot Chat.
GitHub Copilot Labs(由 GitHub 提供)。请留意,本书绝大多数部分不需使用 Copilot Labs 插件,因此该项服务在本书出版之后有所变更 [译者注],也无需感到沮丧。我们与 Copilot Labs 的交互方式也可以通过 ChatGPT 或 GitHub Copilot Chat 来实现。
GitHub Copilot Chat (by GitHub)—At the time of writing, GitHub Copilot Chat is not yet available to everyone. This feature will be used in later chapters but if it is still unavailable, the same conversations we’ll have with Copilot Chat could be had with ChatGPT. We’ll provide more details when we use this feature.
GitHub Copilot Chat(由 GitHub 提供)。在本书撰写时,GitHub Copilot Chat 功能尚未对所有用户开放 [译者注]。我们在后续章节会用到这项功能,如果到时候你还无法使用它,可以用 ChatGPT 来代替。等到用到该功能的时候,我们会详细讲解。
We know that the steps here are brief. If you encounter any problems, we encourage you to consult the resources mentioned earlier for more detailed setup instructions.
我们知道上述步骤的描述比较简洁。如果你在操作过程中遇到任何困难,建议你查阅本节开头提到的参考资料,以便获取更详细的设置指南。
The text was updated successfully, but these errors were encountered: