[英]How to run python from usb?
I am trying to download and run Python and PyCharm off of a usb stick because I am a newbie and suck with remembering all the OS specific setup, so the code I work on at work, does not work on my home computer.我正在尝试从 USB 记忆棒下载并运行 Python 和 PyCharm,因为我是一个新手并且很难记住所有操作系统特定的设置,所以我在工作中使用的代码在我的家用计算机上不起作用。
When I try to run python.exe from the usb drive, I get the error "Windows cannot access the specified device path or file you may not have appropriate permissions".当我尝试从 USB 驱动器运行 python.exe 时,出现错误“Windows 无法访问指定的设备路径或文件,您可能没有适当的权限”。 I am local admin and can open folders, just not run the exe.
我是本地管理员,可以打开文件夹,只是不能运行 exe。
Any help would be greatly appreciated任何帮助将不胜感激
TL;DR I want a centralized place for all of my code to be neatly and easily stored, retrieved, edited, and tested. TL;DR 我想要一个集中的地方,我的所有代码都可以整齐、轻松地存储、检索、编辑和测试。
Try Portable Python .试试便携式 Python 。
Python virtualenv use your installed python that's why you can't share it using usb stick or add it on your github repository. Python virtualenv 使用您安装的 python,这就是为什么您不能使用 USB 棒共享它或将它添加到您的 github 存储库中的原因。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.