GithubHelp home page GithubHelp logo

Comments (11)

RobLins12 avatar RobLins12 commented on May 23, 2024 11

I had this trouble too... so i upgraded gdown by using "pip install --upgrade gdown" and then the code started working again

from gdown.

bmox avatar bmox commented on May 23, 2024 9

Run this on Google Colab
!pip install --upgrade gdown

from gdown.

DmStepankov avatar DmStepankov commented on May 23, 2024 1

Upgrading gdown with the above method to version 5.1.0 seems solve the problem in Google Colab

from gdown.

bmox avatar bmox commented on May 23, 2024 1

from gdown.

nmdaman avatar nmdaman commented on May 23, 2024

I am having this same issue with a CoLab notebook. Downgrading to previous versions did not help.
This code worked a few days ago.

Error:

	'NoneType' object has no attribute 'groups'

To report issues, please visit https://github.com/wkentaro/gdown/issues.
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
[<ipython-input-20-9b023bc3d8e1>](https://u9ujg5vsr7-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20240306-060117_RC00_613175604#) in <cell line: 5>()
      3 get_ipython().system('gdown 1v5QrCU2JgoRiPDnT2k-dw1-YW9w-FZFw')
      4 import numpy as np  #this module needed to be loaded for the csv file load
----> 5 EPSCs = np.fromfile('/content/EPSCs.txt',dtype=float)
      6 with open("/content/EPSCs.txt") as thecsvfile:
      7   EPSCs = np.loadtxt(thecsvfile, delimiter=",")

FileNotFoundError: [Errno 2] No such file or directory: '/content/EPSCs.txt'

from gdown.

aakhmetz avatar aakhmetz commented on May 23, 2024

it worked for me

from gdown.

steluis avatar steluis commented on May 23, 2024

I had this trouble too... so i upgraded gdown by using "pip install --upgrade gdown" and then the code started working again

You saved me !!

from gdown.

alexander-py avatar alexander-py commented on May 23, 2024

Not the case here (also on Google Colab).

Downgrading does not work anymore. Neither does upgrading.

from gdown.

filiptrplan avatar filiptrplan commented on May 23, 2024

Not the case here (also on Google Colab).

Downgrading does not work anymore. Neither does upgrading.

Same here... Was working until a day ago on 4.6.1 but now no versions work.

from gdown.

alexander-py avatar alexander-py commented on May 23, 2024

Seems its working as of today :)

from gdown.

weigary avatar weigary commented on May 23, 2024

I see this error in the Colab notebook when downloading a folder:

import gdown
url = "https://drive.google.com/drive/folders/1BO_dyz-p65qhBRRMRA4TbZ8qW4rB99JZ"
gdown.download_folder(url, use_cookies=False)

OR

url = "https://drive.google.com/drive/folders/1BO_dyz-p65qhBRRMRA4TbZ8qW4rB99JZ"
! gdown --folder ${url}

The error persists even if I upgraded to the latest version gdown=5.1.0.

from gdown.

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.