Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install new on debian jessie #62

Open
011248163264 opened this issue Dec 1, 2018 · 2 comments
Open

install new on debian jessie #62

011248163264 opened this issue Dec 1, 2018 · 2 comments

Comments

@011248163264
Copy link


/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:

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...
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
Copy link
Author

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants