ralphwetzel / theonionbox

Dashboard to monitor Tor node operations
MIT License
122 stars 17 forks source link

install new on debian jessie #62

Open 011248163264 opened 5 years ago

011248163264 commented 5 years ago

/home/onion/theonionbox/bin/pip run on Sun Dec 2 00:37:56 2018 Downloading/unpacking theonionbox Getting page https://pypi.python.org/simple/theonionbox/ URLs to search for versions for theonionbox:

error in theonionbox setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers


Cleaning up... Removing temporary dir /home/onion/theonionbox/build... Command python setup.py egg_info failed with error code 1 in /home/onion/theonionbox/build/theonionbox Exception information: Traceback (most recent call last): File "/home/onion/theonionbox/lib/python3.4/site-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/home/onion/theonionbox/lib/python3.4/site-packages/pip/commands/install.py", line 278, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/home/onion/theonionbox/lib/python3.4/site-packages/pip/req.py", line 1230, in prepare_files req_to_install.run_egg_info() File "/home/onion/theonionbox/lib/python3.4/site-packages/pip/req.py", line 326, in run_egg_info command_desc='python setup.py egg_info') File "/home/onion/theonionbox/lib/python3.4/site-packages/pip/util.py", line 715, in call_subprocess % (command_desc, proc.returncode, cwd)) pip.exceptions.InstallationError: Command python setup.py egg_info failed with error code 1 in /home/onion/theonionbox/build/theonionbox

011248163264 commented 5 years ago

the same with python2.7

onion@zb:~/theonionbox$ source bin/activate (theonionbox)onion@zb:~/theonionbox$ pip install theonionbox Downloading/unpacking theonionbox Downloading theonionbox-4.3.0.tar.gz (13.1MB): 13.1MB downloaded Running setup.py (path:/home/onion/theonionbox/build/theonionbox/setup.py) egg_info for package theonionbox /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) error in theonionbox setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers Complete output from command python setup.py egg_info: /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'

warnings.warn(msg)

error in theonionbox setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers


Cleaning up... Command python setup.py egg_info failed with error code 1 in /home/onion/theonionbox/build/theonionbox Storing debug log for failure in /home/onion/.pip/pip.log (theonionbox)onion@zb:~/theonionbox$

ralphwetzel commented 5 years ago

Educated guess, based on googling: This is related to you using an outdated version of setuptools. Try to pip install -U setuptools and rerun the installation procedure.