How to Import External Python Packages?

Follow

Comments

2 comments

  • Avatar
    Charles Liang

    I also found another way for this question: Copy the packages to <Dataverse_install_directory>\lib\python\

  • Avatar
    Rocco Pigneri

    Dear Charles,

    While you are technically correct that third-party Python libraries can be installed to <Dataverse>/lib/python, I would discourage you from putting packages there.  That location is designated for libraries shipped with Dataverse itself.  Packages added after installation should be placed in <Dataverse>/platform/windows-x86-64/python/Lib/site-packages.

    Hope that helps,

    Rocco

Please sign in to leave a comment.