Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
QGB opened this issue Nov 4, 2019 · 11 comments

Comments

@QGB
Copy link

QGB commented Nov 4, 2019

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.

@QGB QGB 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. Nov 4, 2019
@TheSeriousProgrammer
Copy link

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

@earonesty
Copy link

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.

@HasibulKabir
Copy link

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

@rvernica
Copy link

@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/

@AlexisLessard
Copy link

Same error than @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 :/

@songhanpoo
Copy link

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 !

@KTibow
Copy link

KTibow commented Mar 16, 2020

@QGB Is this fixed enough? There are many installation problems.

@QGB QGB 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 Apr 5, 2020
@rolandolindberg
Copy link

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

@KTibow
Copy link

KTibow commented May 5, 2020

@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.

@utkarshdalal
Copy link

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

@KTibow
Copy link

KTibow commented Jun 1, 2020

@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 @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 @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants