Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

pip install --user onedrivesdk : NotADirectoryError: [Errno 20] Not a directory NOTICE.rst #167

Closed as not planned

Description

In [63]: pip install --user onedrivesdk
Collecting onedrivesdk
Using cached https://files.pythonhosted.org/packages/b3/76/9a3fe5b36079f5c40b33c89ad6f7737e3b8609010a80c9ed24d762ddb93e/onedrivesdk-2.0.tar.gz
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-kwl8twtt/onedrivesdk/setup.py", line 9, in
with open(NOTICE, 'r', encoding='utf-8') as f:
NotADirectoryError: [Errno 20] Not a directory: '/tmp/pip-install-kwl8twtt/onedrivesdk/setup.py/../NOTICE.rst'
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-kwl8twtt/onedrivesdk/
Note: you may need to restart the kernel to use updated packages.

Activity

  1. changed the title [-]onedrivesdk : you may need to restart the kernel to use updated packages.[/-] [+]pip install --user onedrivesdk : you may need to restart the kernel to use updated packages.[/+] on Nov 4, 2019
  2. TheSeriousProgrammer commented on Nov 4, 2019

    @TheSeriousProgrammer

    yeah I am also having the same issue? you got a fix?

  3. earonesty commented on Nov 13, 2019

    @earonesty

    You can try pip install onedrivesdk-fork ... a fork we built to deal with some of the issues we were having. Also, we merged in some of the bugfixes people have posted.

  4. HasibulKabir commented on Dec 20, 2019

    @HasibulKabir

    If you want to install this repo try: pip install https://github.com/OneDrive/onedrive-sdk-python/archive/master.zip This may work.

  5. rvernica commented on Jan 10, 2020

    @rvernica

    Too large to fit in the margin (@QGB) I would update the title to pip install NotADirectoryError: [Errno 20] Not a directory NOTICE.rst I got the exact same error except for the kernel warning. I think that is particular to your environment.

    Here is my output:

    > pip3 install --user onedrivesdk
    Collecting onedrivesdk
      Downloading https://files.pythonhosted.org/packages/b3/76/9a3fe5b36079f5c40b33c89ad6f7737e3b8609010a80c9ed24d762ddb93e/onedrivesdk-2.0.tar.gz
        Complete output from command python setup.py egg_info:
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/tmp/pip-install-z7qf9zc1/onedrivesdk/setup.py", line 9, in <module>
            with open(NOTICE, 'r', encoding='utf-8') as f:
        NotADirectoryError: [Errno 20] Not a directory: '/tmp/pip-install-z7qf9zc1/onedrivesdk/setup.py/../NOTICE.rst'
        
        ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-z7qf9zc1/onedrivesdk/
    
  6. AlexisLessard commented on Feb 11, 2020

    @AlexisLessard

    Same error than Rares Vernica (@rvernica) here. I tried installing onedrivesdk-fork, but I haven't managed to make it work with onedrived thus far (which is what I'm trying to install). I'd really like to get a fix :/

  7. songhanpoo commented on Feb 24, 2020

    @songhanpoo

    If you want to install this repo try: pip install https://github.com/OneDrive/onedrive-sdk-python/archive/master.zip This may work.

    this worked for me ! many thanks !

  8. KTibow commented on Mar 16, 2020

    @KTibow

    Too large to fit in the margin (@QGB) Is this fixed enough? There are many installation problems.

  9. changed the title [-]pip install --user onedrivesdk : you may need to restart the kernel to use updated packages.[/-] [+]pip install --user onedrivesdk : NotADirectoryError: [Errno 20] Not a directory NOTICE.rst[/+] on Apr 5, 2020
  10. rolandolindberg commented on May 4, 2020

    @rolandolindberg

    If you want to install this repo try: pip install https://github.com/OneDrive/onedrive-sdk-python/archive/master.zip This may work.

    this worked for me ! many thanks !

    This work for me too

  11. KTibow commented on May 5, 2020

    @KTibow

    Rolando Lindberg Jr. (@rolandolindberg) I think it's better to use pip3 install git+https://github.com/OneDrive/onedrive-sdk-python.git instead, Github is made for Git.

  12. utkarshdalal commented on Jun 1, 2020

    @utkarshdalal

    I have this issue too. I'm surprised this bug still exists over 6 months after it was first reported.

  13. KTibow commented on Jun 1, 2020

    @KTibow

    Utkarsh Dalal (@utkarshdalal) this repo isn't maintained anymore, as you can see. As for proof:

    Top 4 contributors by commits:

    I've made a PR and Mimi Sasouvanh (@mimisasouvanh) did say she'd poke around to see if anybody could own it, but so far she hasn't gotten back.

    As for the future of onedrivesdk-python, I'd recommend everyone move to onedrivesdk-fork. As for the future of this issue, it's under Too large to fit in the margin (@QGB)'s control since they opened it, and as far as I'm concerned as long as the bug still happens it's a valid issue.

    Please, help tidy this repository. Don't lose hope.

  14. baywet commented on Oct 2, 2024

    @baywet
    Member

    Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #209 for more information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions