This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
lion:working_with_python [2017/05/22 14:56] – created lenocil | lion:working_with_python [2017/05/29 08:47] (current) – [Suggested readings] lenocil | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== OS-embedded python installation ===== | ===== OS-embedded python installation ===== | ||
- | All workstations will run a pre-generated windows 10 image containing python, spyder, anaconda, etc..The operating system will be upgraded typically once a year. | + | All workstations will run a pre-generated windows 10 image containing python, spyder, anaconda, etc..The operating system will be upgraded typically once a year and so will the python packages installed therein. |
- | ===== Level 2 Headline | + | ===== Central python library |
+ | |||
+ | Because upgrading python packages once a year might not be sufficient for certain tasks, each workstation will | ||
+ | source any python package present in a central repository before sourcing any locally installed package. This set up has the effect of overriding any locally installed python package should an upgrade be available in the central repository. Because the central repository can also host packages that are not locally installed at all, it can effectively act as an expansion of the local python library. | ||
+ | |||
+ | The central python repository is only writeable by the administrator and is located on the so-called '' | ||
+ | |||
+ | :!: If your workstation cannot map the '' | ||
+ | |||
+ | ===== Users python libraries ===== | ||
+ | |||
+ | To offer maximum flexibility and to allow users to do their programming as they wish, any python packages present in their home space in '' | ||
+ | < | ||
+ | |||
+ | # open anaconda prompt | ||
+ | set APPDATA=P: | ||
+ | pip install < | ||
+ | </ | ||
+ | Similarly, the upgrade of an already existing package can be done in this way | ||
+ | < | ||
+ | |||
+ | # open anaconda prompt | ||
+ | set APPDATA=P: | ||
+ | pip install -U < | ||
+ | </ | ||
+ | |||
+ | :!: Add '' | ||
+ | |||
+ | :!: If the '' | ||
+ | |||
+ | ===== Notes and suggested readings ===== | ||
+ | |||
+ | The configuration described above has been tested on both windows 7 and windows 10 workstations. | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[http:// | ||