我如何在两台机器上使用VENV与Python 3.10
我在家里和办公室(两个Windows 10)上从事相同的Python项目。 两台计算机上的本地项目文件和文件夹都与OneDrive同步。这与Visual Studio Code合作了一段时间。问题是当我使用虚拟环境(VENV)时,它行不通。我可以在一台计算机上虚拟化一个项目,但是在另一个计算机上没有识别环境,并且在VSC中也无法从本地目录中选择Python解释器。 我在做什么错?
I work on the same Python projects at home and in the office (both Windows 10).
The local project files and folders on both computers are synchronized with oneDrive. This has been working fine with Visual Studio Code for quite some time. The problem is when I use a Virtual Environment (venv) it doesn't work. I can virtualize a project on one computer, but the environment is not recognized on the other and the Python interpreter from the local directory cannot be selected in the VSC either.
What am I doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论