Can I install python package from .whl file?

mi6crazyheart
mi6crazyheart Registered Posts: 7 ✭✭✭

Hi,

New to DSS. I want to know, can I install a Python package from ".whl"(wheel) file in my Python code environment? I checked the documentation but didn't get any such info.

I've one ".whl" file from which I need to install some dependencies to my Python code environment.

Thanks


Operating system used: Windows

Tagged:

Best Answer

Answers

  • mi6crazyheart
    mi6crazyheart Registered Posts: 7 ✭✭✭

    Thanks. It worked.

  • kasuteru
    kasuteru Registered Posts: 1

    What exactly do you mean by server file system? Can I do this as a "normal" user or do I need to be an admin for this? Can I have a wheel file as a normal code user?

    Edit: I think I found it. For future users:

    - In your project flow, select +Dataset -> Folder

    - Upload the wheel file to the folder

    - Find out the connection / exact path by typing this into a notebook:

    folder = dataiku.Folder("my_wheel")
    folder.get_path()
    folder.list_paths_in_partition()

    Copy & paste the last two together and paste them into the env package list, it's that simple!

Setup Info
    Tags
      Help me…