File Exchange > Graphing >    Package Manager for Python

Author:
OriginLab Technical Support
Date Added:
12/18/2017
Downloads (90 Days):
383
Last Update:
7/27/2018
Total Ratings:
0
File Size:
2112 KB
Average Rating:
File Name:
Package Ma...on.opx
File Version:
1.1
Minimum Versions:
2018 (9.5)
License:
Free
Summary:

Simple Package Manager for Embedded Python 3.x of Origin

Screen Shot and Video:
Description:

This app lets you install/uninstall packages from PyPI or wheel files for the Python 3.5 embedded in Origin.

Installation

Download the file Package Manager for Python.opx, and then drag-and-drop onto the Origin workspace. An icon will appear in the Apps Gallery window.

Operation

The package manager will add or remove files. It's highly recommended to launch this app in a new Origin session, or at least save your project before any operation.

List Installed Packages

Only packages installed to the <Program Folder>\64bit\PyDLLs or <Program Folder>\32bit\PyDLLs will be listed. It does not check the system environment to keep changes limited to the embedded Python in Origin.

Install a Package

A package can be installed from PyPI or wheel files to <Program Folder>\64bit\PyDLLs or <Program Folder>\32bit\PyDLLs. Make sure you are permitted to write files to the corresponding folder. Otherwise, please run Origin as Administrator. Now simply click the + button to start off

  1. Install Package from PyPI (recommeded)
    Make sure the package is available on PyPI. Say, to install a package named scipy, you can find it on PyPI: https://pypi.python.org/pypi/scipy. Now enter the package name into the popup dialog Install Package and click the OK button.
    You can install a particular version by specifying it. For example, scipy==1.0.0 installs scipy of version 1.0.0. Scipy 1.0.0 requires numpy (>=1.8.2) which will be installed automatically. Be aware that, if the required package has been installed, this operation will update it.
  2. Install Package from Wheel File
    Make sure the wheel file is applicable to the embedded Python in Origin. Enter the full path of it or click the ... button to select the very wheel file. Everything is same as installing from PyPI except that you cannot specify the package version.

Once installed, you can import it directly. For example: import scipy

Uninstall a Package

This operation removes related files from the disk. Make sure you are permitted to remove files from the corresponding location.
To uninstall a package, select it and choose Uninstall from the context menu. This app will reject further process if the package is in use.
In some case, it requires restarting Origin to uninstall a package successfully. This happens mostly after upgradating.

Updates:

v1.1 Bug fix: Cannot insert system path for Python 3.x 32-bit embedded in Origin.

Reviews and Comments:

Be the first to review this File Exchange submission.