This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lion:working_with_python [2017/05/22 15:14] – [Central python library] lenocil | lion:working_with_python [2017/05/29 08:47] (current) – [Suggested readings] lenocil | ||
---|---|---|---|
Line 10: | Line 10: | ||
Because upgrading python packages once a year might not be sufficient for certain tasks, each workstation will | 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 | + | 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 |
- | The central python repository is only writeable by the administrator and is located '' | + | The central python repository is only writeable by the administrator and is located |
- | :!: If you cannot | + | :!: If your workstation |
===== Users python libraries ===== | ===== 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 at '' | + | To offer maximum flexibility and to allow users to do their programming as they wish, any python packages present in their home space in '' |
< | < | ||
Line 25: | Line 25: | ||
pip install < | 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:// | ||
+ |