When I try to install pyDNS by "pip install pyDNS" i get;
ERROR: Command errored out with exit status 1:
command: 'c:\users\עידן\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\עידן\\AppData\\Local\\Temp\\pip-install-856byly1\\pydns\\setup.py'"'"'; __file__='"'"'C:\\Users\\עידן\\AppData\\Local\\Temp\\pip-install-856byly1\\pydns\\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: C:\Users\עידן\AppData\Local\Temp\pip-install-856byly1\pydns\
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\עידן\AppData\Local\Temp\pip-install-856byly1\pydns\setup.py", line 12, in <module>
import DNS
File "C:\Users\עידן\AppData\Local\Temp\pip-install-856byly1\pydns\DNS\__init__.py", line 14, in <module>
import Type,Opcode,Status,Class
ModuleNotFoundError: No module named 'Type'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check
the logs for full command output.
I see python38-32 in the directory path. It's not Python 2.7, and the module is Python2-only.
Related
While installing neuralpy in python I am getting below erro
ERROR: Command errored out with exit status 1:
command: 'c:\users\charl\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\charl\\AppData\\Local\\Temp\\pip-install-fa01we2c\\neuralpy_8ec49cf461be46ffb3bf043793885892\\setup.py'"'"'; __file__='"'"'C:\\Users\\charl\\AppData\\Local\\Temp\\pip-install-fa01we2c\\neuralpy_8ec49cf461be46ffb3bf043793885892\\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\charl\AppData\Local\Temp\pip-pip-egg-info-yo3cz8nu'
cwd: C:\Users\charl\AppData\Local\Temp\pip-install-fa01we2c\neuralpy_8ec49cf461be46ffb3bf043793885892\
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\charl\AppData\Local\Temp\pip-install-fa01we2c\neuralpy_8ec49cf461be46ffb3bf043793885892\setup.py", line 2
print find_packages(exclude=['DEPneuralpy'])
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
How can I resolve this?
why Iam getting this error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\kodal\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\kodal\\AppData\\Local\\Temp\\pip-install-odzer82v\\pyobjc-framework-Quartz\\setup.py'"'"'; __file__='"'"'C:\\Users\\kodal\\AppData\\Local\\Temp\\pip-install-odzer82v\\pyobjc-framework-Quartz\\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\kodal\AppData\Local\Temp\pip-install-odzer82v\pyobjc-framework-Quartz\pip-egg-info'
cwd: C:\Users\kodal\AppData\Local\Temp\pip-install-odzer82v\pyobjc-framework-Quartz\
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\kodal\AppData\Local\Temp\pip-install-odzer82v\pyobjc-framework-Quartz\setup.py", line 67, in <module>
py_limited_api=True,
File "C:\Users\kodal\AppData\Local\Temp\pip-install-odzer82v\pyobjc-framework-Quartz\pyobjc_setup.py", line 420, in Extension
if "clang" in get_config_var("CC"):
TypeError: argument of type 'NoneType' is not iterable
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I'll take a guess here, but your traceback shows that you're on Windows, but pyobjc-framework-Quartz is a macOS framework. That same command worked fine on my macOS machine.
When i install "http module" using this command "pip3 install http" an error was occurred
ERROR: Command errored out with exit status 1:
command: 'c:\users\ibrah\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ibrah\\AppData\\Local\\Temp\\pip-install-dn_zr423\\http\\setup.py'"'"'; __file__='"'"'C:\\Users\\ibrah\\AppData\\Local\\Temp\\pip-install-dn_zr423\\http\\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\ibrah\AppData\Local\Temp\pip-pip-egg-info-4bhyjyb0'
cwd: C:\Users\ibrah\AppData\Local\Temp\pip-install-dn_zr423\http\
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\ibrah\AppData\Local\Temp\pip-install-dn_zr423\http\setup.py", line 3, in <module>
import http
File "C:\Users\ibrah\AppData\Local\Temp\pip-install-dn_zr423\http\http\__init__.py", line 17, in <module>
from request import Request
ImportError: cannot import name 'Request' from 'request' (c:\users\ibrah\appdata\local\programs\python\python38-32\lib\site-packages\request\__init__.py)
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
How to solve this
I am new to coding and I am doing a project using sound recognition and there is an error; when I try to write:
pip install port audio
It shows me this:
ERROR: Command errored out with exit status 1:
command: 'c:\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\nandith\\AppData\\Local\\Temp\\pip-install-_q1bhzr0\\audio.coders\\setup.py'"'"'; __file__='"'"'C:\\Users\\nandith\\AppData\\Local\\Temp\\pip-install-_q1bhzr0\\audio.coders\\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\nandith\AppData\Local\Temp\pip-pip-egg-info-ruslt7j1'
cwd: C:\Users\nandith\AppData\Local\Temp\pip-install-_q1bhzr0\audio.coders\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\nandith\AppData\Local\Temp\pip-install-_q1bhzr0\audio.coders\setup.py", line 5, in <module>
import ConfigParser
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.
It seems the package name of ConfigParser was renamed to configparser.
Change:
import ConfigParser
to:
import configparser
I need to install pyOTDR but some issues are preventing me to do so.
As suggested in the webpage, I tried
pip install pyOTDR
but I get
Command errored out with exit status 1
This is the whole console log:
ERROR: Command errored out with exit status 1:
command: 'c:\users\campione\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\campione\\AppData\\Local\\Temp\\pip-install-fiabozry\\lazyxml\\setup.py'"'"'; __file__='"'"'C:\\Users\\campione\\AppData\\Local\\Temp\\pip-install-fiabozry\\lazyxml\\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\campione\AppData\Local\Temp\pip-pip-egg-info-_nv05fei'
cwd: C:\Users\campione\AppData\Local\Temp\pip-install-fiabozry\lazyxml\
Complete output (9 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\campione\AppData\Local\Temp\pip-install-fiabozry\lazyxml\setup.py", line 16, in <module>
import lazyxml
File "C:\Users\campione\AppData\Local\Temp\pip-install-fiabozry\lazyxml\lazyxml\__init__.py", line 15, in <module>
from . import builder
File "C:\Users\campione\AppData\Local\Temp\pip-install-fiabozry\lazyxml\lazyxml\builder.py", line 7, in <module>
import utils
ModuleNotFoundError: No module named 'utils'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I'm completely new to Python so bear with me, but I think it can maybe be related to "utils" module missing, as you can read at the end.
I don't understand why I could install other python packages in the same way but not this one unfortunately.
Removing Python 3 and installing Python 2 worked for some reason.