PS C:\Users\user> pip install getotp
Collecting getotp
Using cached getotp-0.0.3.tar.gz (3.4 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-nrr48slj\\getotp_f69bcd40d10d4267bbd1b13984d749e6\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-nrr48slj\\getotp_f69bcd40d10d4267bbd1b13984d749e6\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\user\AppData\Local\Temp\pip-pip-egg-info-umisjc6r'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-nrr48slj\getotp_f69bcd40d10d4267bbd1b13984d749e6\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\user\AppData\Local\Temp\pip-install-nrr48slj\getotp_f69bcd40d10d4267bbd1b13984d749e6\setup.py", line 6, in <module>
execfile('getotp/version.py')
NameError: name 'execfile' is not defined
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/a2/dc/6d3cea111d7f77ee7bc222928c176b7d44d9478685e0d1496656be7259d6/getotp-0.0.3.tar.gz#sha256=acf785f72fafb431997f52c67c07645ca78d1c1e464fcc95a313b0649cf7ecd4 (from https://pypi.org/simple/getotp/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached getotp-0.0.2.tar.gz (3.4 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-nrr48slj\\getotp_3e06d6eb791c4df9a1f09d94a9717ef7\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-nrr48slj\\getotp_3e06d6eb791c4df9a1f09d94a9717ef7\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\user\AppData\Local\Temp\pip-pip-egg-info-q1vmndlz'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-nrr48slj\getotp_3e06d6eb791c4df9a1f09d94a9717ef7\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\user\AppData\Local\Temp\pip-install-nrr48slj\getotp_3e06d6eb791c4df9a1f09d94a9717ef7\setup.py", line 6, in <module>
execfile('getotp/version.py')
NameError: name 'execfile' is not defined
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/fa/3d/43c5ad39ce25cfcbeb7bc41537c59c02ec8a06c10cd3592ef386038e23cb/getotp-0.0.2.tar.gz#sha256=5490fa2a61807d67b0010f0c9e2657a7866e8b026a7576101e5a3c5367a5a80a (from https://pypi.org/simple/getotp/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached getotp-0.0.1.tar.gz (3.2 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-nrr48slj\\getotp_e7a9683866eb4524b60b3692308caf48\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-nrr48slj\\getotp_e7a9683866eb4524b60b3692308caf48\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\user\AppData\Local\Temp\pip-pip-egg-info-9dl6hatg'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-nrr48slj\getotp_e7a9683866eb4524b60b3692308caf48\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\user\AppData\Local\Temp\pip-install-nrr48slj\getotp_e7a9683866eb4524b60b3692308caf48\setup.py", line 6, in <module>
execfile('getotp/version.py')
NameError: name 'execfile' is not defined
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/cd/0e/41efe822de7656c0f8874276e9e06a42e7b941b8029a7678f9cb71cbc03b/getotp-0.0.1.tar.gz#sha256=8199e2d6f3198ce14ee5d9af39f9e4bc581c9b67fb3bad4fb412773095531883 (from https://pypi.org/simple/getotp/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement getotp (from versions: 0.0.1, 0.0.2, 0.0.3)
ERROR: No matching distribution found for getotp
Getting this error while installing packages
That package is from 2014 and was written for python2. Fortunately for you, the code is not very long. You can either download the .tar.gz from pypi or clone the github [repo](https://github.com/gmjosack/getotp]. Then manually go through the code (or use 2to3 on every .py file) and make it python3 compatible and run
python setup.py install
when you are finished.
Related
In .net its creating classes auto with wsdl. How can i do something like this generating code with python ?
I heard the ZSI module, but when i do
pip install ZSI
its returning with error:
(venv) selman#selman-monster:~/PycharmProjects/e-fatura-entegrasyon$ pip install ZSI
Collecting ZSI
Using cached ZSI-2.0-rc3.tar.gz (1.1 MB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/selman/PycharmProjects/e-fatura-entegrasyon/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-t1yyfgt4/zsi_33cf11e8ab8143738e06abb50524839d/setup.py'"'"'; __file__='"'"'/tmp/pip-install-t1yyfgt4/zsi_33cf11e8ab8143738e06abb50524839d/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-fa959zz8
cwd: /tmp/pip-install-t1yyfgt4/zsi_33cf11e8ab8143738e06abb50524839d/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-t1yyfgt4/zsi_33cf11e8ab8143738e06abb50524839d/setup.py", line 30
print 'ZSI/version.py not found; run "make"'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('ZSI/version.py not found)?
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/bb/3b/b2053649e156f2a428cb57999d0361686d8f0f6841987588bef3c5ea0c8c/ZSI-2.0-rc3.tar.gz#sha256=1699ff8f2e0b2f7d6e2a03f8f24f59c9649ce3737f1ed851995efdc6c83e6c71 (from https://pypi.org/simple/zsi/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached ZSI-2.0-rc2.tar.gz (410 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/selman/PycharmProjects/e-fatura-entegrasyon/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-t1yyfgt4/zsi_8ccdd3d100594c7bb9a4e9b651c367f4/setup.py'"'"'; __file__='"'"'/tmp/pip-install-t1yyfgt4/zsi_8ccdd3d100594c7bb9a4e9b651c367f4/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-iv_rerb0
cwd: /tmp/pip-install-t1yyfgt4/zsi_8ccdd3d100594c7bb9a4e9b651c367f4/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-t1yyfgt4/zsi_8ccdd3d100594c7bb9a4e9b651c367f4/setup.py", line 30
print 'ZSI/version.py not found; run "make"'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('ZSI/version.py not found)?
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/7a/de/eb6337bd40432ddb732de4c372a7e47bf4e706337d1274eee5d3a26eb58b/ZSI-2.0-rc2.tar.gz#sha256=289c02887250592132416d7d4113140bedd0cfa5a96281a34774ec0a60cec140 (from https://pypi.org/simple/zsi/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached ZSI-2.0-rc1.tar.gz (622 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/selman/PycharmProjects/e-fatura-entegrasyon/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-t1yyfgt4/zsi_a03487007ad04521ab5786509c1f323c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-t1yyfgt4/zsi_a03487007ad04521ab5786509c1f323c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-si5tpto4
cwd: /tmp/pip-install-t1yyfgt4/zsi_a03487007ad04521ab5786509c1f323c/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-t1yyfgt4/zsi_a03487007ad04521ab5786509c1f323c/setup.py", line 28
print 'ZSI/version.py not found; run "make"'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('ZSI/version.py not found)?
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/28/ee/9451d1d8ea0387893ac84b898afcaf37e783be1c0c6b4467f962ebdcdbd4/ZSI-2.0-rc1.tar.gz#sha256=f448093df75c27da8310b30611c5f1e55c356b934459214a408ceb2306f6dcad (from https://pypi.org/simple/zsi/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement ZSI (from versions: 2.0rc1, 2.0rc2, 2.0rc3)
ERROR: No matching distribution found for ZSI
pip install turtle
Collecting turtle
Downloading turtle-0.0.2.tar.gz (11 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-luxoc31a/turtle/setup.py'"'"'; __file__='"'"'/tmp/pip-install-luxoc31a/turtle/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-luxoc31a/turtle/pip-egg-info
cwd: /tmp/pip-install-luxoc31a/turtle/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-luxoc31a/turtle/setup.py", line 40
except ValueError, ve:
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Trying to install -
pip install git+https://github.com/pennmem/ptsa_new
get this error:
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Nofar\anaconda3\envs\py3_env\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Nofar\\AppData\\Local\\Temp\\pip-req-build-39er9e6i\\setup.py'"'"'; __file__='"'"'C:\\Users\\Nofar\\AppData\\Local\\Temp\\pip-req-build-39er9e6i\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Nofar\AppData\Local\Temp\pip-pip-egg-info-3zy5mp_2'
cwd: C:\Users\Nofar\AppData\Local\Temp\pip-req-build-39er9e6i\
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Nofar\AppData\Local\Temp\pip-req-build-39er9e6i\setup.py", line 34, in <module>
os.environ["VS90COMNTOOLS"] = os.environ["VS140COMNTOOLS"]
File "C:\Users\Nofar\anaconda3\envs\py3_env\lib\os.py", line 669, in __getitem__
raise KeyError(key) from None
KeyError: 'VS140COMNTOOLS'
----------------------------------------
WARNING: Discarding git+https://github.com/pennmem/ptsa_new.git. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
help please?
From the setup.py, when you are installing from source , its clearly written that you need Visual Studio C++ Redistributable to be installed in your system.
Relevant section in setup.py
# for windows install see http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat
# for visual studio compilation you need to SET VS90COMNTOOLS=%VS140COMNTOOLS%
if sys.platform.startswith("win"):
os.environ["VS90COMNTOOLS"] = os.environ["VS140COMNTOOLS"]
This answer explains the installation procedure for the required VSC version https://stackoverflow.com/a/18045219/995052.
This question already has answers here:
pygame installation issue in mac os
(5 answers)
Problems getting pygame to show anything but a blank screen on Macos
(10 answers)
Closed 1 year ago.
I need Pygame 2 for my project.
I have recently been on a Mac with an M1 processor, but I cannot install Pygame.
I installed Python 3.9 with Homebrew, then SDL and others as recommended.
During installation, version 2.01 of Pygame does not install nor version 2.0.0 but only version 1.9.6.
But this version doesn't work with my project, if I run it it tells me that the pigame.mixer module was not found, moreover the project developer is using Pygame 2 methods.
Here is the result of the installation:
Collecting pygame
Using cached pygame-2.0.1.tar.gz (5.5 MB)
ERROR: Command errored out with exit status 1:
command: /opt/homebrew/opt/python#3.9/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_142bfabb2faa435da22f87624750f4cd/setup.py'"'"'; __file__='"'"'/private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_142bfabb2faa435da22f87624750f4cd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-pip-egg-info-u1qrzt0i
cwd: /private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_142bfabb2faa435da22f87624750f4cd/
Complete output (27 lines):
WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
Using Darwin configuration...
/bin/sh: sdl2-config: command not found
/bin/sh: sdl2-config: command not found
/bin/sh: sdl2-config: command not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_142bfabb2faa435da22f87624750f4cd/setup.py", line 318, in <module>
buildconfig.config.main(AUTO_CONFIG)
File "/private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_142bfabb2faa435da22f87624750f4cd/buildconfig/config.py", line 221, in main
deps = CFG.main(**kwds)
File "/private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_142bfabb2faa435da22f87624750f4cd/buildconfig/config_darwin.py", line 131, in main
[DependencyProg('SDL', 'SDL_CONFIG', 'sdl2-config', '2.0', ['sdl'])],
File "/private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_142bfabb2faa435da22f87624750f4cd/buildconfig/config_unix.py", line 39, in __init__
self.ver = config[0].strip()
IndexError: list index out of range
---
For help with compilation see:
https://www.pygame.org/wiki/MacCompile
To contribute to pygame development see:
https://www.pygame.org/contribute.html
---
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/c7/b8/06e02c7cca7aec915839927a9aa19f749ac17a3d2bb2610b945d2de0aa96/pygame-2.0.1.tar.gz#sha256=8b1e7b63f47aafcdd8849933b206778747ef1802bd3d526aca45ed77141e4001 (from https://pypi.org/simple/pygame/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached pygame-2.0.0.tar.gz (5.5 MB)
ERROR: Command errored out with exit status 1:
command: /opt/homebrew/opt/python#3.9/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_b8f2e42671424b84b18377944477dc5e/setup.py'"'"'; __file__='"'"'/private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_b8f2e42671424b84b18377944477dc5e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-pip-egg-info-x9rp8x3u
cwd: /private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_b8f2e42671424b84b18377944477dc5e/
Complete output (27 lines):
WARNING, No "Setup" File Exists, Running "buildconfig/config.py"
Using Darwin configuration...
/bin/sh: sdl2-config: command not found
/bin/sh: sdl2-config: command not found
/bin/sh: sdl2-config: command not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_b8f2e42671424b84b18377944477dc5e/setup.py", line 318, in <module>
buildconfig.config.main(AUTO_CONFIG)
File "/private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_b8f2e42671424b84b18377944477dc5e/buildconfig/config.py", line 221, in main
deps = CFG.main(**kwds)
File "/private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_b8f2e42671424b84b18377944477dc5e/buildconfig/config_darwin.py", line 131, in main
[DependencyProg('SDL', 'SDL_CONFIG', 'sdl2-config', '2.0', ['sdl'])],
File "/private/var/folders/w8/n1kdqpdn6_q0893qnv348s580000gn/T/pip-install-6mir4cqu/pygame_b8f2e42671424b84b18377944477dc5e/buildconfig/config_unix.py", line 39, in __init__
self.ver = config[0].strip()
IndexError: list index out of range
---
For help with compilation see:
https://www.pygame.org/wiki/MacCompile
To contribute to pygame development see:
https://www.pygame.org/contribute.html
---
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/bc/0c/d164411381bada8feae57359aa9296defbed3035f4b55bef6a271cb0573c/pygame-2.0.0.tar.gz#sha256=63b038da116a643046181b02173fd894d87d2f85ecfd6aa7d5ece73c6ef501e9 (from https://pypi.org/simple/pygame/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached pygame-1.9.6-cp39-cp39-macosx_11_0_arm64.whl
Installing collected packages: pygame
Successfully installed pygame-1.9.6
Thank you for your help !
so im trying to do a pip3 install flask-swagger-ui but im getting the following error:
Defaulting to user installation because normal site-packages is not writeable
Collecting flask-swagger-ui
Using cached flask-swagger-ui-3.25.0.tar.gz (521 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-n64v6bxi/flask-swagger-ui/setup.py'"'"'; __file__='"'"'/tmp/pip-install-n64v6bxi/flask-swagger-ui/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-n64v6bxi/flask-swagger-ui/pip-egg-info
cwd: /tmp/pip-install-n64v6bxi/flask-swagger-ui/
Complete output (3 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'setuptools'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
please help