Skip to main content
Luis Sanchez
Participating Frequently
May 8, 2025 3:52 PM UTC

install PIP for python

i want to install pipi package manager for python in unidata. There is someone that could give some advice?



------------------------------
Luis Sanchez
IT Application Specialist
ALAMO AUTO SUPPLY
------------------------------

    14 replies

    Mike Rajkowski
    Rocketeer
    May 8, 2025 4:52 PM UTC

    i want to install pipi package manager for python in unidata. There is someone that could give some advice?



    ------------------------------
    Luis Sanchez
    IT Application Specialist
    ALAMO AUTO SUPPLY
    ------------------------------

    Luis,

    I am not sure if you are looking at adding additional packages with pip, or adding an additional package found at PyPi.org to manage pip packages.

    To pip install packages into Python, the easiest way is to do it from the OS command prompt.  

    You will need to make sure that your environment is set up to execute against the version of Python that you are interested in updating.

    Note I tend to prefer executing pip from the python command.

    i.e.

    python -m pip install module_name

    This gives the extra benefit of avoiding version ambiguity.

    see https://stackoverflow.com/questions/50821312/what-is-the-effect-of-using-python-m-pip-instead-of-just-pip



    ------------------------------
    Mike Rajkowski
    MultiValue Product Evangelist
    Rocket Internal - All Brands
    US
    ------------------------------
    Luis Sanchez
    Participating Frequently
    May 9, 2025 10:31 AM UTC

    Luis,

    I am not sure if you are looking at adding additional packages with pip, or adding an additional package found at PyPi.org to manage pip packages.

    To pip install packages into Python, the easiest way is to do it from the OS command prompt.  

    You will need to make sure that your environment is set up to execute against the version of Python that you are interested in updating.

    Note I tend to prefer executing pip from the python command.

    i.e.

    python -m pip install module_name

    This gives the extra benefit of avoiding version ambiguity.

    see https://stackoverflow.com/questions/50821312/what-is-the-effect-of-using-python-m-pip-instead-of-just-pip



    ------------------------------
    Mike Rajkowski
    MultiValue Product Evangelist
    Rocket Internal - All Brands
    US
    ------------------------------

    Good Afternoon,

    Im just trying to install that library like in windows terminal but i got the following message in unidata. I believe im missing the pip package manager. Any advice to install it or what im missing?



    ------------------------------
    Luis Sanchez
    IT Application Specialist
    ALAMO AUTO SUPPLY
    ------------------------------
    Jonathan Smith
    Rocketeer
    May 9, 2025 10:34 AM UTC

    Good Afternoon,

    Im just trying to install that library like in windows terminal but i got the following message in unidata. I believe im missing the pip package manager. Any advice to install it or what im missing?



    ------------------------------
    Luis Sanchez
    IT Application Specialist
    ALAMO AUTO SUPPLY
    ------------------------------

    Try running pip from the windows command prompt as that would be the recommended way

    or if you want to install it from the ECL prompt in UniData prefix the command with a ! (i.e !pip install ...)



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------
    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS
    Luis Sanchez
    Participating Frequently
    May 9, 2025 10:40 AM UTC

    Try running pip from the windows command prompt as that would be the recommended way

    or if you want to install it from the ECL prompt in UniData prefix the command with a ! (i.e !pip install ...)



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------

    i just tried your command and i got the following:



    ------------------------------
    Luis Sanchez
    IT Application Specialist
    ALAMO AUTO SUPPLY
    ------------------------------
    Jonathan Smith
    Rocketeer
    May 9, 2025 10:55 AM UTC

    i just tried your command and i got the following:



    ------------------------------
    Luis Sanchez
    IT Application Specialist
    ALAMO AUTO SUPPLY
    ------------------------------

    I didn't see the second part of the screen in the email , the reason why the !pip command failed is because the shell invoked by UniData cannot find pip. This generally means your path environment variable is not setup correctly as it cannot find the pip executable or pip hasn't been installed.

    Check to see if pip is present under the $UDTHOME\\python\\scripts



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------
    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS
    Jonathan Smith
    Rocketeer
    May 9, 2025 10:57 AM UTC

    I didn't see the second part of the screen in the email , the reason why the !pip command failed is because the shell invoked by UniData cannot find pip. This generally means your path environment variable is not setup correctly as it cannot find the pip executable or pip hasn't been installed.

    Check to see if pip is present under the $UDTHOME\\python\\scripts



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------

    $UDTHOME would be where you installed UniData and is displayed when you login to UniData.



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------
    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS
    Luis Sanchez
    Participating Frequently
    May 9, 2025 11:01 AM UTC

    $UDTHOME would be where you installed UniData and is displayed when you login to UniData.



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------

    we are getting closer i just tried this the ! commans are working like unix



    ------------------------------
    Luis Sanchez
    IT Application Specialist
    ALAMO AUTO SUPPLY
    ------------------------------
    Jonathan Smith
    Rocketeer
    May 9, 2025 11:07 AM UTC

    we are getting closer i just tried this the ! commans are working like unix



    ------------------------------
    Luis Sanchez
    IT Application Specialist
    ALAMO AUTO SUPPLY
    ------------------------------

    Try the following example to see if pip is under scripts

    When you login UniData tells you the current UniData Home

    Then do a !dir command as below to see what's in the script directory UniData's version of python.

    UniData Release 8.3  Build: (2000)
    (c) Copyright Rocket Software, Inc. 1985-2024.
    All rights reserved.

    Current UniData home is C:\\u2\\ud\\.
    Current working directory is C:\\u2\\ud\\demo.


    :!dir C:\\u2\\ud\\python\\scripts

     Volume in drive C is Windows
     Volume Serial Number is 7838-4C29

     Directory of C:\\u2\\ud\\python\\scripts

    25/02/2025  15:21    <DIR>          .
    25/02/2025  15:21    <DIR>          ..
    24/05/2024  11:30           108,397 normalizer.exe
    25/02/2025  15:21           108,398 opentelemetry-bootstrap.exe
    25/02/2025  15:21           108,409 opentelemetry-instrument.exe
    25/02/2025  15:19           108,385 pip.exe
    25/02/2025  15:19           108,385 pip3.11.exe
    25/02/2025  15:19           108,385 pip3.exe
                   6 File(s)        650,359 bytes
                   2 Dir(s)  175,948,840,960 bytes free
    :



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------
    Rocket Software - Senior Principal Technical Support Engineer - UniData ATS
    Luis Sanchez
    Participating Frequently
    May 9, 2025 4:15 PM UTC

    Try the following example to see if pip is under scripts

    When you login UniData tells you the current UniData Home

    Then do a !dir command as below to see what's in the script directory UniData's version of python.

    UniData Release 8.3  Build: (2000)
    (c) Copyright Rocket Software, Inc. 1985-2024.
    All rights reserved.

    Current UniData home is C:\\u2\\ud\\.
    Current working directory is C:\\u2\\ud\\demo.


    :!dir C:\\u2\\ud\\python\\scripts

     Volume in drive C is Windows
     Volume Serial Number is 7838-4C29

     Directory of C:\\u2\\ud\\python\\scripts

    25/02/2025  15:21    <DIR>          .
    25/02/2025  15:21    <DIR>          ..
    24/05/2024  11:30           108,397 normalizer.exe
    25/02/2025  15:21           108,398 opentelemetry-bootstrap.exe
    25/02/2025  15:21           108,409 opentelemetry-instrument.exe
    25/02/2025  15:19           108,385 pip.exe
    25/02/2025  15:19           108,385 pip3.11.exe
    25/02/2025  15:19           108,385 pip3.exe
                   6 File(s)        650,359 bytes
                   2 Dir(s)  175,948,840,960 bytes free
    :



    ------------------------------
    Jonathan Smith
    UniData ATS
    Rocket Support
    ------------------------------

    This is what i have after executing the commands in unix, do i have  bad setup for python?



    ------------------------------
    Luis Sanchez
    IT Application Specialist
    ALAMO AUTO SUPPLY
    ------------------------------
    Mike Young
    Participating Frequently
    May 12, 2025 7:38 AM UTC

    This is what i have after executing the commands in unix, do i have  bad setup for python?



    ------------------------------
    Luis Sanchez
    IT Application Specialist
    ALAMO AUTO SUPPLY
    ------------------------------

    Hi Luis,

    You need to stick with an OS. You started posting about WINDOWS which is the advice you was given and now you are trying commands and installation paths given for WINDOWS on a UNIX machine.

    Have you followed Jonathans advice of when you login it tells you the $UDTHOME (Windows environment variable) path (the first bold line below)

    WINDOWS:

    UniData Release 8.3  Build: (2000)
    (c) Copyright Rocket Software, Inc. 1985-2024.
    All rights reserved.

    Current UniData home is C:\\u2\\ud\\.
    Current working directory is C:\\u2\\ud\\demo.


    :!dir C:\\u2\\ud\\python\\scripts

    For UNIX, you will need to look at the 2 bold lines and adjust to LS as DIR is a windows command.

    I'm guessing based on your last screenshot the path you will be looking for will be something like /cygdrive/d/u2/ud/python/scripts



    ------------------------------
    Mike Young
    Senior PS Techical Consultant
    Aptean
    Atlanta GA US
    ------------------------------