Giter Club home page Giter Club logo

Comments (7)

changhiskhan avatar changhiskhan commented on June 24, 2024 2

you may have to uninstall the pypi package named lance first. Then reinstall pip install pylance afterwards

from lance.

tanaymeh avatar tanaymeh commented on June 24, 2024 1

Hi @Aryan-Deshpande,

Can you try uninstalling lance and installing it like this?

$ pip install --upgrade pyarrow
$ pip install --upgrade pylance

The correct name for Lance for pip install is "pylance".

Please let us know if it works. Cheers!

from lance.

Aryan-Deshpande avatar Aryan-Deshpande commented on June 24, 2024

image

Hey @tanaymeh , The issue still persists

from lance.

tanaymeh avatar tanaymeh commented on June 24, 2024

@Aryan-Deshpande It works fine when I run it in a fresh Google Colab session.

Can you try deleting the colab runtime and starting afresh? Thanks!

from lance.

Aryan-Deshpande avatar Aryan-Deshpande commented on June 24, 2024

image
The previous issue was fixed, but I encountered another error

It says dataset was not found at the location content/codeparrot_1M.lance

from lance.

tanaymeh avatar tanaymeh commented on June 24, 2024

@Aryan-Deshpande It runs fine for me when I download the dataset following the instructions on the Kaggle Datasets page for the Codeparrot 1M dataset with changes for Google Colab since it downloads everything at /content.

You need to make the necessary changes in the path depending on what platform you are using (for example: /content/ for Google Colab or /kaggle/working/ for Kaggle, etc)

Here's the bash script that worked fine for me:

pip install -q kaggle pyarrow pylance
mkdir ~/.kaggle/
mv /content/kaggle.json ~/.kaggle/kaggle.json  # move kaggle.json API key to ~/.kaggle/ from /content
kaggle datasets download -d heyytanay/codeparrot-1m
mkdir /content/codeparrot_1M.lance/
unzip -qq /content/codeparrot-1m.zip -d /content/codeparrot_1M.lance/
rm /content/codeparrot-1m.zip

from lance.

tanaymeh avatar tanaymeh commented on June 24, 2024

Converting this to a discussion since it's not an issue with Lance.

from lance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.