meejah / txtorcon

Twisted-based asynchronous Tor control protocol implementation. Includes unit-tests, examples, state-tracking code and configuration abstraction.
http://fjblvrw2jrxnhtg67qpbzi45r7ofojaoo3orzykesly2j3c2m3htapid.onion/
MIT License
249 stars 72 forks source link

Unable to install txsocksx with python 3 #369

Closed khanzzirfan closed 1 year ago

khanzzirfan commented 1 year ago

[version]
Python 3.11.1

[pip version]
pip 22.3.1 from C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)

pip show setuptools

Name: setuptools
Version: 65.6.3
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
Author-email: distutils-sig@python.org
License:
Location: C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages
Requires: 
Required-by: pipenv

PS C:\Users\Administrator\Documents\repos\TorScrapper> pip install txsocksx --no-binary :all:
DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453
Collecting txsocksx
  Using cached txsocksx-1.15.0.2.tar.gz (19 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      error in txsocksx setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; 'int' object is not iterable
      [end of output]
meejah commented 1 year ago

You shouldn't need txsocksx anymore; txtorcon includes enough of SOCKS5 to work with Tor.