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

TypeError: a bytes-like object is required, not 'str' #12

Open
caot opened this issue Dec 3, 2017 · 0 comments
Open

TypeError: a bytes-like object is required, not 'str' #12

caot opened this issue Dec 3, 2017 · 0 comments

Comments

@caot
Copy link

caot commented Dec 3, 2017

$ pip install mlab
Collecting mlab
  Using cached mlab-1.1.4.tar.gz
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/mlab.egg-info
    writing pip-egg-info/mlab.egg-info/PKG-INFO
    <string>:175: (WARNING/2) Literal block expected; none found.
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/q_/sz5vb9g57yg62_40hkg90jvw0000gq/T/pip-build-cgo45po5/mlab/setup.py", line 47, in <module>
        download_url='https://github.com/ewiger/mlab/tarball/master',
      File "/Applications/anaconda/lib/python3.6/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/Applications/anaconda/lib/python3.6/distutils/dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "/Applications/anaconda/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/Applications/anaconda/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/setuptools/command/egg_info.py", line 188, in run
      File "/Applications/anaconda/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/setuptools/command/egg_info.py", line 403, in write_pkg_info
      File "/Applications/anaconda/lib/python3.6/distutils/dist.py", line 1106, in write_pkg_info
        self.write_pkg_file(pkg_info)
      File "/Applications/anaconda/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/setuptools/dist.py", line 53, in write_pkg_file
      File "/Applications/anaconda/lib/python3.6/distutils/util.py", line 474, in rfc822_escape
        lines = header.split('\n')
    TypeError: a bytes-like object is required, not 'str'
caot added a commit to caot/mlab that referenced this issue Dec 3, 2017
@caot caot mentioned this issue Dec 3, 2017
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

1 participant