Discover all of the brand-new features and improvements to existing capabilities in the Dataiku 11.3 updateLET'S GO

Can I install python package from .whl file?

Solved!
mi6crazyheart
Level 2
Can I install python package from .whl file?

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

0 Kudos
1 Solution
sergeyd
Dataiker

Hi @mi6crazyheart 

Yes, you can put this file somewhere on DSS server file system and specify a full path to it in the code env requirements. 

View solution in original post

0 Kudos
3 Replies
sergeyd
Dataiker

Hi @mi6crazyheart 

Yes, you can put this file somewhere on DSS server file system and specify a full path to it in the code env requirements. 

0 Kudos
mi6crazyheart
Level 2
Author

Thanks. It worked.

0 Kudos

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!

0 Kudos