3

I am running a local installation of Anaconda + bunch of 3rd party tools (Mosek) + inhouse modules I wrote...

I understand I could wrap that all up using virtualenv (or conda) to make it a neat environment.

The company runs on a Win 8 network.

I think there are two fundamental approaches

1) I could install all of this on a network drive (does Python need write access for it's pyc files?). Is it enough if I dump it in a read-only folder? Is it enough if people only modify their path? What about the registry (and the related issues)?

2) People copy over the environment and install it locally. (Maybe with some sort of installer?). This way they can add further modules without bothering me to modify the one and only central Python.

I am calling the experts here...

Thomas

4

1 回答 1

1

conda已经支持自动执行您的选项 2。只需将网络驱动器 Anaconda 添加到 PATH 并使用 conda 创建一个新环境conda create。如果 conda 检测到 Anaconda 是只读的,它会在本地写东西。如果您正在寻找更顺利地自动执行此操作的方法,您应该查看Anaconda Server

关于注册表,如果您希望 Windows 应用程序能够自动找到 Python,这一点很重要。

关于只读问题,据我所知,Python 从只读安装运行时工作得很好。我不能保证你使用的所有库都会,但它们应该。

于 2014-02-19T15:56:06.600 回答