tgalal / yowsup

The WhatsApp lib
GNU General Public License v3.0
7.06k stars 2.23k forks source link

error while installing python-axolotl-curve25519 #3013

Open sachinlobo11 opened 3 years ago

sachinlobo11 commented 3 years ago

I am using py 3.8 version windows 7 64bit

Succesfully installed gcc and zlib using cli with mingw then cfg files are placed in python directory and double checked.

then when I use a command setup.py install I am recieving following errors(Debug OUTPUT) Debug output

python setup.py install
.
.
.
.
.
on-38.pyc
byte-compiling build\bdist.win32\egg\yowsup\profile\profile.py to profile.cpytho
n-38.pyc
byte-compiling build\bdist.win32\egg\yowsup\profile\__init__.py to __init__.cpyt
hon-38.pyc
byte-compiling build\bdist.win32\egg\yowsup\registration\coderequest.py to coder
equest.cpython-38.pyc
byte-compiling build\bdist.win32\egg\yowsup\registration\existsrequest.py to exi
stsrequest.cpython-38.pyc
byte-compiling build\bdist.win32\egg\yowsup\registration\regrequest.py to regreq
uest.cpython-38.pyc
byte-compiling build\bdist.win32\egg\yowsup\registration\__init__.py to __init__
.cpython-38.pyc
byte-compiling build\bdist.win32\egg\yowsup\stacks\yowstack.py to yowstack.cpyth
on-38.pyc
byte-compiling build\bdist.win32\egg\yowsup\stacks\__init__.py to __init__.cpyth
on-38.pyc
byte-compiling build\bdist.win32\egg\yowsup\structs\protocolentity.py to protoco
lentity.cpython-38.pyc
byte-compiling build\bdist.win32\egg\yowsup\structs\protocoltreenode.py to proto
coltreenode.cpython-38.pyc
byte-compiling build\bdist.win32\egg\yowsup\structs\__init__.py to __init__.cpyt
hon-38.pyc
byte-compiling build\bdist.win32\egg\yowsup\__init__.py to __init__.cpython-38.p
yc
installing package data to build\bdist.win32\egg
running install_data
creating build\bdist.win32\egg\EGG-INFO
installing scripts to build\bdist.win32\egg\EGG-INFO\scripts
running install_scripts
running build_scripts
creating build\scripts-3.8
copying and adjusting yowsup-cli -> build\scripts-3.8
creating build\bdist.win32\egg\EGG-INFO\scripts
copying build\scripts-3.8\yowsup-cli -> build\bdist.win32\egg\EGG-INFO\scripts
copying yowsup.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO
copying yowsup.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO
copying yowsup.egg-info\dependency_links.txt -> build\bdist.win32\egg\EGG-INFO
copying yowsup.egg-info\requires.txt -> build\bdist.win32\egg\EGG-INFO
copying yowsup.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
yowsup.common.__pycache__.tools.cpython-38: module references __file__
creating dist
creating 'dist\yowsup-3.2.3-py3.8.egg' and adding 'build\bdist.win32\egg' to it
removing 'build\bdist.win32\egg' (and everything under it)
Processing yowsup-3.2.3-py3.8.egg
removing 'c:\users\dell\appdata\local\programs\python\python38-32\lib\site-packa
ges\yowsup-3.2.3-py3.8.egg' (and everything under it)
creating c:\users\dell\appdata\local\programs\python\python38-32\lib\site-packag
es\yowsup-3.2.3-py3.8.egg
Extracting yowsup-3.2.3-py3.8.egg to c:\users\dell\appdata\local\programs\python
\python38-32\lib\site-packages
c:\users\dell\appdata\local\programs\python\python38-32\lib\site-packages\yowsup
-3.2.3-py3.8.egg\yowsup\demos\cli\layer.py:442: SyntaxWarning: "is" with a liter
al. Did you mean "=="?
  if status is "offline" and lastseen is "deny":
c:\users\dell\appdata\local\programs\python\python38-32\lib\site-packages\yowsup
-3.2.3-py3.8.egg\yowsup\demos\cli\layer.py:442: SyntaxWarning: "is" with a liter
al. Did you mean "=="?
  if status is "offline" and lastseen is "deny":
yowsup 3.2.3 is already the active version in easy-install.pth
Installing yowsup-cli script to C:\Users\dell\AppData\Local\Programs\Python\Pyth
on38-32\Scripts

Installed c:\users\dell\appdata\local\programs\python\python38-32\lib\site-packa
ges\yowsup-3.2.3-py3.8.egg
Processing dependencies for yowsup==3.2.3
Searching for python-axolotl-curve25519>=0.4.1
Reading https://pypi.org/simple/python-axolotl-curve25519/
Downloading https://files.pythonhosted.org/packages/59/ca/c8111718bcc8da18e9b986
8e784293232a58c57159a5ea18f00ee967258f/python-axolotl-curve25519-0.4.1.post2.tar
.gz#sha256=0705a66297ebd2f508a60dc94e22881c754301eb81db93963322f6b3bdcb63a3
Best match: python-axolotl-curve25519 0.4.1.post2
Processing python-axolotl-curve25519-0.4.1.post2.tar.gz
Writing C:\Users\dell\AppData\Local\Temp\easy_install-xcr_9y2t\python-axolotl-cu
rve25519-0.4.1.post2\setup.cfg
Running python-axolotl-curve25519-0.4.1.post2\setup.py -q bdist_egg --dist-dir C
:\Users\dell\AppData\Local\Temp\easy_install-xcr_9y2t\python-axolotl-curve25519-
0.4.1.post2\egg-dist-tmp-y3tzdjn5
C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-packages\setupt
ools\dist.py:471: UserWarning: Normalizing '0.4.1-2' to '0.4.1.post2'
  warnings.warn(
Traceback (most recent call last):
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 154, in save_modules
    yield saved
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 195, in setup_context
    yield
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "C:\Users\dell\AppData\Local\Temp\easy_install-xcr_9y2t\python-axolotl-cu
rve25519-0.4.1.post2\setup.py", line 19, in <module>
    deps.append('readline')
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\co
re.py", line 148, in setup
    dist.run_commands()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 966, in run_commands
    self.run_command(cmd)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\bdist_egg.py", line 172, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\bdist_egg.py", line 158, in call_command
    self.run_command(cmdname)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cm
d.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\install_lib.py", line 11, in run
    self.build()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\co
mmand\install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cm
d.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\build_ext.py", line 84, in run
    _build_ext.run(self)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\co
mmand\build_ext.py", line 306, in run
    self.compiler = new_compiler(compiler=self.compiler,
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cc
ompiler.py", line 1032, in new_compiler
    return klass(None, dry_run, force)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cy
gwinccompiler.py", line 282, in __init__
    CygwinCCompiler.__init__ (self, verbose, dry_run, force)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cy
gwinccompiler.py", line 126, in __init__
    if self.ld_version >= "2.10.90":
TypeError: '>=' not supported between instances of 'NoneType' and 'str'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 21, in <module>
    setup(
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\co
re.py", line 148, in setup
    dist.run_commands()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 966, in run_commands
    self.run_command(cmd)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\install.py", line 67, in run
    self.do_egg_install()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\install.py", line 117, in do_egg_install
    cmd.run()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 418, in run
    self.easy_install(spec, not self.no_deps)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 660, in easy_install
    return self.install_item(None, spec, tmpdir, deps, True)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 707, in install_item
    self.process_distribution(spec, dist, deps)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 751, in process_distribution
    distros = WorkingSet([]).resolve(
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\pkg_resources\__init__.py", line 780, in resolve
    dist = best[req.key] = env.best_match(
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\pkg_resources\__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\pkg_resources\__init__.py", line 1077, in obtain
    return installer(requirement)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 679, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 705, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 890, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 1158, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 1144, in run_setup
    run_setup(setup_script, args)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 253, in run_setup
    raise
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\contextlib.p
y", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 195, in setup_context
    yield
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\contextlib.p
y", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 166, in save_modules
    saved_exc.resume()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 141, in resume
    six.reraise(type, exc, self._tb)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\_vendor\six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 154, in save_modules
    yield saved
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 195, in setup_context
    yield
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "C:\Users\dell\AppData\Local\Temp\easy_install-xcr_9y2t\python-axolotl-cu
rve25519-0.4.1.post2\setup.py", line 19, in <module>
    deps.append('readline')
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\co
re.py", line 148, in setup
    dist.run_commands()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 966, in run_commands
    self.run_command(cmd)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\bdist_egg.py", line 172, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\bdist_egg.py", line 158, in call_command
    self.run_command(cmdname)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cm
d.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\install_lib.py", line 11, in run
    self.build()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\co
mmand\install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cm
d.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\build_ext.py", line 84, in run
    _build_ext.run(self)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\co
mmand\build_ext.py", line 306, in run
    self.compiler = new_compiler(compiler=self.compiler,
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cc
ompiler.py", line 1032, in new_compiler
    return klass(None, dry_run, force)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cy
gwinccompiler.py", line 282, in __init__
    CygwinCCompiler.__init__ (self, verbose, dry_run, force)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cy
gwinccompiler.py", line 126, in __init__
    if self.ld_version >= "2.10.90":
TypeError: '>=' not supported between instances of 'NoneType' and 'str'

C:\Users\dell\yowsup-master>

Then i have tried to install pip install yowsup

i got this output from command window

.
.
.
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\build_ext.py", line 84, in run
    _build_ext.run(self)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\co
mmand\build_ext.py", line 306, in run
    self.compiler = new_compiler(compiler=self.compiler,
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cc
ompiler.py", line 1032, in new_compiler
    return klass(None, dry_run, force)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cy
gwinccompiler.py", line 282, in __init__
    CygwinCCompiler.__init__ (self, verbose, dry_run, force)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cy
gwinccompiler.py", line 126, in __init__
    if self.ld_version >= "2.10.90":
TypeError: '>=' not supported between instances of 'NoneType' and 'str'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 21, in <module>
    setup(
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\co
re.py", line 148, in setup
    dist.run_commands()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 966, in run_commands
    self.run_command(cmd)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\install.py", line 67, in run
    self.do_egg_install()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\install.py", line 117, in do_egg_install
    cmd.run()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 418, in run
    self.easy_install(spec, not self.no_deps)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 660, in easy_install
    return self.install_item(None, spec, tmpdir, deps, True)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 707, in install_item
    self.process_distribution(spec, dist, deps)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 751, in process_distribution
    distros = WorkingSet([]).resolve(
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\pkg_resources\__init__.py", line 780, in resolve
    dist = best[req.key] = env.best_match(
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\pkg_resources\__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\pkg_resources\__init__.py", line 1077, in obtain
    return installer(requirement)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 679, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 705, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 890, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 1158, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\easy_install.py", line 1144, in run_setup
    run_setup(setup_script, args)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 253, in run_setup
    raise
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\contextlib.p
y", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 195, in setup_context
    yield
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\contextlib.p
y", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 166, in save_modules
    saved_exc.resume()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 141, in resume
    six.reraise(type, exc, self._tb)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\_vendor\six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 154, in save_modules
    yield saved
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 195, in setup_context
    yield
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\sandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "C:\Users\dell\AppData\Local\Temp\easy_install-xcr_9y2t\python-axolotl-cu
rve25519-0.4.1.post2\setup.py", line 19, in <module>
    deps.append('readline')
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\co
re.py", line 148, in setup
    dist.run_commands()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 966, in run_commands
    self.run_command(cmd)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\bdist_egg.py", line 172, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\bdist_egg.py", line 158, in call_command
    self.run_command(cmdname)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cm
d.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\install_lib.py", line 11, in run
    self.build()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\co
mmand\install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cm
d.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\di
st.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\site-package
s\setuptools\command\build_ext.py", line 84, in run
    _build_ext.run(self)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\co
mmand\build_ext.py", line 306, in run
    self.compiler = new_compiler(compiler=self.compiler,
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cc
ompiler.py", line 1032, in new_compiler
    return klass(None, dry_run, force)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cy
gwinccompiler.py", line 282, in __init__
    CygwinCCompiler.__init__ (self, verbose, dry_run, force)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python38-32\lib\distutils\cy
gwinccompiler.py", line 126, in __init__
    if self.ld_version >= "2.10.90":
TypeError: '>=' not supported between instances of 'NoneType' and 'str'

C:\Users\dell\yowsup-master>pip install yoesup
ERROR: Could not find a version that satisfies the requirement yoesup (from vers
ions: none)
ERROR: No matching distribution found for yoesup

C:\Users\dell\yowsup-master>pip install yowsup
Requirement already satisfied: yowsup in c:\users\dell\appdata\local\programs\py
thon\python38-32\lib\site-packages\yowsup-3.2.3-py3.8.egg (3.2.3)
Requirement already satisfied: consonance==0.1.3-1 in c:\users\dell\appdata\loca
l\programs\python\python38-32\lib\site-packages\consonance-0.1.3.post1-py3.8.egg
 (from yowsup) (0.1.3.post1)
Requirement already satisfied: argparse in c:\users\dell\appdata\local\programs\
python\python38-32\lib\site-packages (from yowsup) (1.4.0)
Requirement already satisfied: python-axolotl==0.2.2 in c:\users\dell\appdata\lo
cal\programs\python\python38-32\lib\site-packages\python_axolotl-0.2.2-py3.8.egg
 (from yowsup) (0.2.2)
Requirement already satisfied: six==1.10 in c:\users\dell\appdata\local\programs
\python\python38-32\lib\site-packages (from yowsup) (1.10.0)
Requirement already satisfied: appdirs in c:\users\dell\appdata\local\programs\p
ython\python38-32\lib\site-packages (from yowsup) (1.4.4)
Requirement already satisfied: protobuf>=3.6.0 in c:\users\dell\appdata\local\pr
ograms\python\python38-32\lib\site-packages (from yowsup) (3.13.0)
Requirement already satisfied: pyreadline in c:\users\dell\appdata\local\program
s\python\python38-32\lib\site-packages\pyreadline-2.1-py3.8-win32.egg (from yows
up) (2.1)
Requirement already satisfied: dissononce>=0.34.3 in c:\users\dell\appdata\local
\programs\python\python38-32\lib\site-packages (from consonance==0.1.3-1->yowsup
) (0.34.3)
Collecting python-axolotl-curve25519
  Using cached python-axolotl-curve25519-0.4.1.post2.tar.gz (79 kB)
Collecting transitions
  Using cached transitions-0.8.4-py2.py3-none-any.whl (77 kB)
Requirement already satisfied: cryptography in c:\users\dell\appdata\local\progr
ams\python\python38-32\lib\site-packages (from python-axolotl==0.2.2->yowsup) (3
.1.1)
Requirement already satisfied: setuptools in c:\users\dell\appdata\local\program
s\python\python38-32\lib\site-packages (from protobuf>=3.6.0->yowsup) (41.2.0)
Requirement already satisfied: cffi!=1.11.3,>=1.8 in c:\users\dell\appdata\local
\programs\python\python38-32\lib\site-packages (from cryptography->python-axolot
l==0.2.2->yowsup) (1.14.3)
Requirement already satisfied: pycparser in c:\users\dell\appdata\local\programs
\python\python38-32\lib\site-packages (from cffi!=1.11.3,>=1.8->cryptography->py
thon-axolotl==0.2.2->yowsup) (2.20)
Using legacy 'setup.py install' for python-axolotl-curve25519, since package 'wh
eel' is not installed.
Installing collected packages: python-axolotl-curve25519, transitions
    Running setup.py install for python-axolotl-curve25519 ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\users\dell\appdata\local\programs\python\python38-32\python.ex
e' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\dell\\
AppData\\Local\\Temp\\pip-install-sn23dgzk\\python-axolotl-curve25519\\setup.py'
"'"'; __file__='"'"'C:\\Users\\dell\\AppData\\Local\\Temp\\pip-install-sn23dgzk\
\python-axolotl-curve25519\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', op
en)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec
(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\dell\AppDa
ta\Local\Temp\pip-record-ghda279a\install-record.txt' --single-version-externall
y-managed --compile --install-headers 'c:\users\dell\appdata\local\programs\pyth
on\python38-32\Include\python-axolotl-curve25519'
         cwd: C:\Users\dell\AppData\Local\Temp\pip-install-sn23dgzk\python-axolo
tl-curve25519\
    Complete output (42 lines):
    c:\users\dell\appdata\local\programs\python\python38-32\lib\site-packages\se
tuptools\dist.py:471: UserWarning: Normalizing '0.4.1-2' to '0.4.1.post2'
      warnings.warn(
    running install
    running build
    running build_ext
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\dell\AppData\Local\Temp\pip-install-sn23dgzk\python-axolotl
-curve25519\setup.py", line 19, in <module>
        setup(
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\site-pac
kages\setuptools\__init__.py", line 145, in setup
        return distutils.core.setup(**attrs)
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\distutil
s\core.py", line 148, in setup
        dist.run_commands()
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\distutil
s\dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\distutil
s\dist.py", line 985, in run_command
        cmd_obj.run()
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\site-pac
kages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\distutil
s\command\install.py", line 545, in run
        self.run_command('build')
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\distutil
s\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\distutil
s\dist.py", line 985, in run_command
        cmd_obj.run()
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\distutil
s\command\build.py", line 135, in run
        self.run_command(cmd_name)
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\distutil
s\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\distutil
s\dist.py", line 985, in run_command
        cmd_obj.run()
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\site-pac
kages\setuptools\command\build_ext.py", line 84, in run
        _build_ext.run(self)
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\distutil
s\command\build_ext.py", line 306, in run
        self.compiler = new_compiler(compiler=self.compiler,
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\distutil
s\ccompiler.py", line 1032, in new_compiler
        return klass(None, dry_run, force)
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\distutil
s\cygwinccompiler.py", line 282, in __init__
        CygwinCCompiler.__init__ (self, verbose, dry_run, force)
      File "c:\users\dell\appdata\local\programs\python\python38-32\lib\distutil
s\cygwinccompiler.py", line 126, in __init__
        if self.ld_version >= "2.10.90":
    TypeError: '>=' not supported between instances of 'NoneType' and 'str'
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\dell\appdata\local\prog
rams\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys
.argv[0] = '"'"'C:\\Users\\dell\\AppData\\Local\\Temp\\pip-install-sn23dgzk\\pyt
hon-axolotl-curve25519\\setup.py'"'"'; __file__='"'"'C:\\Users\\dell\\AppData\\L
ocal\\Temp\\pip-install-sn23dgzk\\python-axolotl-curve25519\\setup.py'"'"';f=get
attr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"
'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' inst
all --record 'C:\Users\dell\AppData\Local\Temp\pip-record-ghda279a\install-recor
d.txt' --single-version-externally-managed --compile --install-headers 'c:\users
\dell\appdata\local\programs\python\python38-32\Include\python-axolotl-curve2551
9' Check the logs for full command output.

.

c:\users\dell\appdata\local\programs\python\python38-32\lib\site-packages\se tuptools\dist.py:471: UserWarning: Normalizing '0.4.1-2' to '0.4.1.post2'

Do i need to do something with this?

Please tell me what you can think about the problems... little or somewhat please suggest Versions

updated: 2019-05-07 yowsup version: 3.2.3 yowsup-cli version: 3.2.0

huacker commented 3 years ago

I've tried many times to install yowsup on windows 10 and python 3.7 , always had a lot of problems,finally I gave up。 yowsup install on linux is easy.