Open QGB opened 4 years ago
yeah I am also having the same issue? you got a fix?
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.
If you want to install this repo try: pip install https://github.com/OneDrive/onedrive-sdk-python/archive/master.zip
This may work.
@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/
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 :/
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 !
@QGB Is this fixed enough? There are many installation problems.
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
@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.
I have this issue too. I'm surprised this bug still exists over 6 months after it was first reported.
@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.
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.