Trying to install onedrivesdk. Getting the following error.
pip install onedrivesdk
Collecting onedrivesdk
Using cached onedrivesdk-2.0.tar.gz (1.1 kB)
ERROR: Command errored out with exit status 1:
command: /Users/ronnie/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/2l/ww686y_n7l5gg0k_5l8dvqm40000gn/T/pip-install-3bpo_kor/onedrivesdk/setup.py'"'"'; __file__='"'"'/private/var/folders/2l/ww686y_n7l5gg0k_5l8dvqm40000gn/T/pip-install-3bpo_kor/onedrivesdk/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/2l/ww686y_n7l5gg0k_5l8dvqm40000gn/T/pip-pip-egg-info-wu2injdc
cwd: /private/var/folders/2l/ww686y_n7l5gg0k_5l8dvqm40000gn/T/pip-install-3bpo_kor/onedrivesdk/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/2l/ww686y_n7l5gg0k_5l8dvqm40000gn/T/pip-install-3bpo_kor/onedrivesdk/setup.py", line 9, in <module>
with open(NOTICE, 'r', encoding='utf-8') as f:
NotADirectoryError: [Errno 20] Not a directory: '/private/var/folders/2l/ww686y_n7l5gg0k_5l8dvqm40000gn/T/pip-install-3bpo_kor/onedrivesdk/setup.py/../NOTICE.rst'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The package onedrivesdk has been deprecated.
https://pypi.org/project/onedrivesdk/
So it's no longer available for usage.
Related
Im trying to install ghasedak package via pip which i have done before but now it raises this error.
(venv) hamed#hamed-HP-250-G6-Notebook-PC:~/sqh-source$ pip3 install ghasedak --upgrade
Collecting ghasedak
Using cached ghasedak-0.1.8.tar.gz (2.0 kB)
ERROR: Command errored out with exit status 1:
command: /home/hamed/sqh-source/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vb0m4x9b/ghasedak/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vb0m4x9b/ghasedak/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-vb0m4x9b/ghasedak/pip-egg-info
cwd: /tmp/pip-install-vb0m4x9b/ghasedak/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-vb0m4x9b/ghasedak/setup.py", line 3, in <module>
with open("readme.md", "r") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'readme.md'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
After a lot of search i found someone said i have to make MANIFEST.in but where should i place it and someone said we dont need that then finally is it right to use it or is there any other solution?
My problem didnt solve so I downloaded ghasedak from github with the below command
pip install git+https://github.com/package-url/
I've tried sudo pip install MySQL-python
I have python 3 and python 2 on my Mac 10.14
and I keep getting this error:
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-00klz8kk/mysql-python/setup.py'"'"'; __file__='"'"'/private/tmp/pip-install-00klz8kk/mysql-python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/tmp/pip-pip-egg-info-98ox2mo0
cwd: /private/tmp/pip-install-00klz8kk/mysql-python/
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/tmp/pip-install-00klz8kk/mysql-python/setup.py", line 13, in <module>
from setup_posix import get_config
File "/private/tmp/pip-install-00klz8kk/mysql-python/setup_posix.py", line 2, in <module>
from ConfigParser import SafeConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
try installing the following which are the same,
pip install pymysql
pip install mysql-connector
pip intsall mysql-connector-python
I'm trying to install pythonnet on my ubuntu, but without success.
I tried some ways as:
pip install pythonnet
2.pip install git+https://github.com/pythonnet/pythonnet
there is any other way?
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ECL8qX/pythonnet/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ECL8qX/pythonnet/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-ECL8qX/pythonnet/pip-egg-info
cwd: /tmp/pip-install-ECL8qX/pythonnet/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-ECL8qX/pythonnet/setup.py", line 18, in <module>
from wheel import bdist_wheel
ImportError: No module named wheel
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
pip command:
pip install google-cloud-storage apache-beam[gcp]==2.2.0 apache-airflow[gcp_api]==1.9.0 paramiko sshtunnel
Error:
ERROR: Command errored out with exit status 1:
command: /home/cyao/Project/itcorp-airflow/venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8hamva8l/apache-airflow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-8hamva8l/apache-airflow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-8hamva8l/apache-airflow/pip-egg-info
cwd: /tmp/pip-install-8hamva8l/apache-airflow/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-8hamva8l/apache-airflow/setup.py", line 102
async = [
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
This is the code from apache-airflow setup.py from version 1.9.0. In Python 3.7 the word async became a reserved keyword so the code is incompatible with Python 3.7+.
Either use Python 3.6 or use later version of apache-airflow.
I keep getting the following error:
ERROR: Command errored out with exit status 1:
command: /Users/felipeveraloza/Desktop/flask-aws-tutorial/flask-aws/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/_d/tpx546q90svbs7y84bgplfpm0000gn/T/pip-install-qql4powj/distribute/setup.py'"'"'; __file__='"'"'/private/var/folders/_d/tpx546q90svbs7y84bgplfpm0000gn/T/pip-install-qql4powj/distribute/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/_d/tpx546q90svbs7y84bgplfpm0000gn/T/pip-install-qql4powj/distribute/pip-egg-info
cwd: /private/var/folders/_d/tpx546q90svbs7y84bgplfpm0000gn/T/pip-install-qql4powj/distribute/
Complete output (10 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/_d/tpx546q90svbs7y84bgplfpm0000gn/T/pip-install-qql4powj/distribute/setuptools/__init__.py", line 2, in <module>
from setuptools.extension import Extension, Library
File "/private/var/folders/_d/tpx546q90svbs7y84bgplfpm0000gn/T/pip-install-qql4powj/distribute/setuptools/extension.py", line 2, in <module>
from setuptools.dist import _get_unpatched
File "/private/var/folders/_d/tpx546q90svbs7y84bgplfpm0000gn/T/pip-install-qql4powj/distribute/setuptools/dist.py", line 103
except ValueError, e:
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Did you try?
$ pip install -r requirements.txt
I would specify the version of Pip you are using. Mac is defaulted to python 2.7... in your case i would run the command as "pip3" so in your case...
pip3 install -r requirements.txt