ERROR: Command errored out with exit status 1:
command: 'c:\users\kvvinod\appdata\local\programs\python\python38-32\python.exe'
-c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\kvvinod\AppData\Local\Temp\pip-install-7kf48pty\pyobjc-framework-Security\setup.py'"'"';
file='"'"'C:\Users\kvvinod\AppData\Local\Temp\pip-install-7kf48pty\pyobjc-framework-Security\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
'C:\Users\kvvinod\AppData\Local\Temp\pip-install-7kf48pty\pyobjc-framework-Security\pip-egg-info'
cwd: C:\Users\kvvinod\AppData\Local\Temp\pip-install-7kf48pty\pyobjc-framework-Security\
Complete output (15 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\kvvinod\AppData\Local\Temp\pip-install-7kf48pty\pyobjc-framework-Security\setup.py",
line 20, in
Extension(
File "C:\Users\kvvinod\AppData\Local\Temp\pip-install-7kf48pty\pyobjc-framework-Security\pyobjc_setup.py",
line 408, in Extension
os_level = get_os_level()
File "C:\Users\kvvinod\AppData\Local\Temp\pip-install-7kf48pty\pyobjc-framework-Security\pyobjc_setup.py",
line 218, in get_os_level
pl = plistlib.readPlist("/System/Library/CoreServices/SystemVersion.plist")
File "c:\users\kvvinod\appdata\local\programs\python\python38-32\lib\plistlib.py",
line 99, in readPlist
with _maybe_open(pathOrFile, 'rb') as fp:
File "c:\users\kvvinod\appdata\local\programs\python\python38-32\lib\contextlib.py",
line 113, in enter
return next(self.gen)
File "c:\users\kvvinod\appdata\local\programs\python\python38-32\lib\plistlib.py",
line 82, in _maybe_open
with open(pathOrFile, mode) as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/System/Library/CoreServices/SystemVersion.plist'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
It's a bug in pyttsx3 2.80: https://github.com/nateshmbhat/pyttsx3/issues/82. Not fix yet. Try downgrading to pyttsx3 2.71:
pip install -U pyttsx3==2.71
Related
When i try to install telethon from pip3 i got this error, why?
I run this in a windows 10 of 32 bits in the cmd.
C:\Users\JUAN>pip3 install telethon
Collecting telethon
Using cached Telethon-1.16.4-py3-none-any.whl (483 kB)
Collecting pyaes
Using cached pyaes-1.6.1.tar.gz (28 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\juan\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\JUAN\\AppData\\Local\\Temp\\pip-install-i2of7eld\\pyaes\\setup.py'"'"'; __file__='"'"'C:\\Users\\JUAN\\AppData\\Local\\Temp\\pip-install-i2of7eld\\pyaes\\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 'C:\Users\JUAN\AppData\Local\Temp\pip-pip-egg-info-pffewwkh'
cwd: C:\Users\JUAN\AppData\Local\Temp\pip-install-i2of7eld\pyaes\
Complete output (24 lines):
Traceback (most recent call last):
File "c:\users\juan\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources\__init__.py", line 2867, in get_entry_map
ep_map = self._ep_map
File "c:\users\juan\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources\__init__.py", line 2825, in __getattr__
raise AttributeError(attr)
AttributeError: _ep_map
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\JUAN\AppData\Local\Temp\pip-install-i2of7eld\pyaes\setup.py", line 10, in <module>
setup(name = 'pyaes',
File "c:\users\juan\appdata\local\programs\python\python38-32\lib\distutils\core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "c:\users\juan\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\dist.py", line 423, in __init__
for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'):
File "c:\users\juan\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources\__init__.py", line 657, in <genexpr>
for entry in dist.get_entry_map(group).values()
File "c:\users\juan\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources\__init__.py", line 2869, in get_entry_map
ep_map = self._ep_map = EntryPoint.parse_map(
File "c:\users\juan\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources\__init__.py", line 2550, in parse_map
raise ValueError("Entry points must be listed in groups")
ValueError: Entry points must be listed in groups
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I solved the problem by uninstalling python and pip, the python version I had was 3.8.5 and the latest version is 3.8.9.
I'm attempting to install nim into a folder where I'm experimenting using virtual environment, but I can't seem to install nim using pip install nim. Any ideas why, I've included the error message. Thank you! :)
Collecting nim
Using cached nim-0.1.0.tar.gz (11 kB)
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/var/folders/jq/_5zq1xh91hgcj49vb9lh689h0000gn/T/pip-install-c6r0gd5_/nim/setup.py'"'"'; __file__='"'"'/private/var/folders/jq/_5zq1xh91hgcj49vb9lh689h0000gn/T/pip-install-c6r0gd5_/nim/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/jq/_5zq1xh91hgcj49vb9lh689h0000gn/T/pip-pip-egg-info-lhsvapoi
cwd: /private/var/folders/jq/_5zq1xh91hgcj49vb9lh689h0000gn/T/pip-install-c6r0gd5_/nim/
Complete output (11 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/jq/_5zq1xh91hgcj49vb9lh689h0000gn/T/pip-install-c6r0gd5_/nim/setup.py", line 171, in <module>
pkg_data = _package_data(__file__.replace('setup.py', '__init__.py'))
File "/private/var/folders/jq/_5zq1xh91hgcj49vb9lh689h0000gn/T/pip-install-c6r0gd5_/nim/setup.py", line 150, in _package_data
data = literal_eval(u''.join(lines))
File "/private/var/folders/jq/_5zq1xh91hgcj49vb9lh689h0000gn/T/pip-install-c6r0gd5_/nim/setup.py", line 122, in literal_eval
return _convert(node_or_string)
File "/private/var/folders/jq/_5zq1xh91hgcj49vb9lh689h0000gn/T/pip-install-c6r0gd5_/nim/setup.py", line 69, in _convert
if isinstance(node, (Str, Bytes)):
NameError: name 'Str' is not defined
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I am using python 2.7 with Django. and after I was install pip install mysqlclient, I got this error.
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python#2/bin/python2.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tj/vjwl0qpd6l5ct6bdjgwyk1rh0000gp/T/pip-install-QSWu02/MySQL-python/setup.py'"'"'; __file__='"'"'/private/var/folders/tj/vjwl0qpd6l5ct6bdjgwyk1rh0000gp/T/pip-install-QSWu02/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/var/folders/tj/vjwl0qpd6l5ct6bdjgwyk1rh0000gp/T/pip-install-QSWu02/MySQL-python/pip-egg-info
cwd: /private/var/folders/tj/vjwl0qpd6l5ct6bdjgwyk1rh0000gp/T/pip-install-QSWu02/MySQL-python/
Complete output (10 lines):
sh: mysql_config: command not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/tj/vjwl0qpd6l5ct6bdjgwyk1rh0000gp/T/pip-install-QSWu02/MySQL-python/setup.py", line 17, in <module>
metadata, options = get_config()
File "setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "setup_posix.py", line 25, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
In mac OSX I have already installed mariadb 10.1.20 now while i Try to install mysql-python using pip install mysql-python system showing following error:
Collecting mysql-python
Using cached https://files.pythonhosted.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip
ERROR: Command errored out with exit status 1:
command: /Users/eskimi/Development/ErpNext/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/1r/0z4_dp3j0237vqx1jvc0sn3c0000gp/T/pip-install-s0tXN_/mysql-python/setup.py'"'"'; __file__='"'"'/private/var/folders/1r/0z4_dp3j0237vqx1jvc0sn3c0000gp/T/pip-install-s0tXN_/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/var/folders/1r/0z4_dp3j0237vqx1jvc0sn3c0000gp/T/pip-install-s0tXN_/mysql-python/pip-egg-info
cwd: /private/var/folders/1r/0z4_dp3j0237vqx1jvc0sn3c0000gp/T/pip-install-s0tXN_/mysql-python/
Complete output (10 lines):
sh: mysql_config: command not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/1r/0z4_dp3j0237vqx1jvc0sn3c0000gp/T/pip-install-s0tXN_/mysql-python/setup.py", line 17, in <module>
metadata, options = get_config()
File "setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "setup_posix.py", line 25, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
How can resolve this issue?
N.B I am using python 2.7
I try to installing PyObjC using pip but still getting error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.6 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-819f93sh/pyobjc-framework-ScreenSaver/setup.py'"'"'; __file__='"'"'/tmp/pip-install-819f93sh/pyobjc-framework-ScreenSaver/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 pip-egg-info
cwd: /tmp/pip-install-819f93sh/pyobjc-framework-ScreenSaver/
Complete output (15 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-819f93sh/pyobjc-framework-ScreenSaver/setup.py", line 21, in <module>
extra_link_args=['-framework', 'ScreenSaver']),
File "/tmp/pip-install-819f93sh/pyobjc-framework-ScreenSaver/pyobjc_setup.py", line 392, in Extension
os_level = get_os_level()
File "/tmp/pip-install-819f93sh/pyobjc-framework-ScreenSaver/pyobjc_setup.py", line 206, in get_os_level
pl = plistlib.readPlist('/System/Library/CoreServices/SystemVersion.plist')
File "/usr/lib/python3.6/plistlib.py", line 162, in readPlist
with _maybe_open(pathOrFile, 'rb') as fp:
File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/usr/lib/python3.6/plistlib.py", line 120, in _maybe_open
with open(pathOrFile, mode) as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/System/Library/CoreServices/SystemVersion.plist'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
You cannot. PyObjC can only be installed at MacOS X.
try this :
git clone https://github.com/ronaldoussoren/pyobjc
install it manually :
python3 pyobjc/install.py or python2 pyobjc/install.py or by going in the directory.