On 02/11/2021 09:53 AM, Casey Wolsieffer wrote:
Actually i got it, for my case it was in

export PYTHONPATH="/usr/local/lib/python3/dist-packages/"

Semi-new to this so still figuring out some of the stuff that is probably obvious. Will throw this line in ~/.bash_profile

Thank you!
Some Linux distributions put locally-installed Python packages in "dist-packages" and some in "site-packages". I simply mention all potential places in my PYTHONPATH, and then don't have to worry about it--except when some distro decides to be even more
  creative about where such packages are installed...



On Thu, Feb 11, 2021, 9:46 AM Casey Wolsieffer <cwols...@gmail.com <mailto:cwols...@gmail.com>> wrote:

    I tried your suggestion as well Rob to no avail. Also, thank you
    both for your responses

    On Thu, Feb 11, 2021, 9:44 AM Casey Wolsieffer <cwols...@gmail.com
    <mailto:cwols...@gmail.com>> wrote:

        I did sudo make install yes,


        I'm assuming you mean /usr/local, I tried that in .conf file
        but that doesn't seem to work either


        On Thu, Feb 11, 2021, 8:57 AM Marcus D Leech
        <patchvonbr...@gmail.com <mailto:patchvonbr...@gmail.com>> wrote:

            Your install prefix is /use/local

            Did you sudo make install?



            Sent from my iPhone

            > On Feb 11, 2021, at 8:30 AM, Casey Wolsieffer via
            USRP-users <usrp-users@lists.ettus.com
            <mailto:usrp-users@lists.ettus.com>> wrote:
            >
            > 
            > Hello, I have tried several times to install Python3 uhd
            on my system but when I attempt >>>import uhd in python3
            environment I always receive ModuleNotFoundError: no
            module named 'uhd'
            >
            > As far as I can see there are no hang ups on install and
            after $make, I run $make test and get 0 out of 82 fails.
            Below is my enabled components after I run
            >
            > $cmake ../
            >
            > I've also put a uhd.conf file in my ld.so.conf file and
            ran $sudo ldconfig. Although I'm not certain I'm putting
            in correct path, right now it's
            [my_directory]/uhd/host/build/lib/
            >
            > I'm on Ubuntu 20.04, any help is greatly appreciated!
            >
            > -- ######################################################
            > -- # UHD enabled components
            > -- ######################################################
            > --   * LibUHD
            > --   * LibUHD - C API
            > --   * LibUHD - Python API
            > --   * Examples
            > --   * Utils
            > --   * Tests
            > --   * USB
            > --   * B100
            > --   * B200
            > --   * USRP1
            > --   * USRP2
            > --   * X300
            > --   * MPMD
            > --   * SIM
            > --   * N300
            > --   * N320
            > --   * E320
            > --   * E300
            > --   * OctoClock
            > --   * Manual
            > --   * API/Doxygen
            > --   * Man Pages
            > --
            > -- ######################################################
            > -- # UHD disabled components
            > -- ######################################################
            > --   * DPDK
            > --
            > -- ******************************************************
            > -- * You are building the UHD development master branch.
            > -- * For production code, we recommend our stable,
            > -- * releases or using the release branch (maint).
            > -- ******************************************************
            > -- Building version: 4.0.0.0-93-g3b9ced8f
            > -- Using install prefix: /usr/local
            > -- Configuring done
            > -- Generating done
            > -- Build files have been written to:
            /home/casey/Projects/UHD/uhd/host/build
            >
            >
            > _______________________________________________
            > USRP-users mailing list
            > USRP-users@lists.ettus.com
            <mailto:USRP-users@lists.ettus.com>
            >
            http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to