Including notebook scoped python wheel files

Gopinath Rajee 656 Reputation points
2022-04-07T05:00:22.553+00:00

I tried adding a wheel file for branca in my notebook but I seem to be getting this error:

%pip install dbfs:/FileStore/jars/testxyz-09765-sade34/branca-0.4.2-py3-none-any.whl

Would anyone know what I'm doing wrong?

Python interpreter will be restarted.
WARNING: Requirement 'dbfs:/FileStore/jars/testxyz-09765-sade34/branca-0.4.2-py3-none-any.whl' looks like a filename, but the file does not exist
Processing ./dbfs:/FileStore/jars/testxyz-09765-sade34/branca-0.4.2-py3-none-any.whl

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/home/spark-c07a36d5-ec71-4cd9-b0ec-df/dbfs:/FileStore/jars/testxyz-09765-sade34/branca-0.4.2-py3-none-any.whl'

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
0 comments No comments
{count} votes

Answer accepted by question author
  1. PRADEEPCHEEKATLA 91,656 Reputation points Moderator
    2022-04-07T10:54:45.057+00:00

    Hello @Gopinath Rajee ,

    Thanks for the question and using MS Q&A platform.

    Error: When used path as dbfs:/ as %pip install dbfs:/FileStore/jars/wheels/branca-0.4.2-py3-none-any.whl

    190971-image.png

    Success: When used path as /dbfs/ as %pip install /dbfs/FileStore/jars/wheels/branca-0.4.2-py3-none-any.whl

    190935-image.png

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.