Skip to content

install problem #2

@marcocaggioni

Description

@marcocaggioni

not sure if it is reproducible but trying to pip install rheoflow I get the error:

(base) jovyan@4d8c5aa0ea50:~$ pip install git+https://github.com/rheopy/rheoflow.git
Collecting git+https://github.com/rheopy/rheoflow.git
  Cloning https://github.com/rheopy/rheoflow.git to /tmp/pip-req-build-pdb7p0zb
  Running command git clone -q https://github.com/rheopy/rheoflow.git /tmp/pip-req-build-pdb7p0zb
  Resolved https://github.com/rheopy/rheoflow.git to commit 1c8cd55a36ce1f60b4c968a5499d49f57b4c8d77
    ERROR: Command errored out with exit status 1:
     command: /opt/conda/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-pdb7p0zb/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-pdb7p0zb/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ppmfftzi
         cwd: /tmp/pip-req-build-pdb7p0zb/
    Complete output (26 lines):
    running egg_info
    creating /tmp/pip-pip-egg-info-ppmfftzi/rheoflow.egg-info
    writing /tmp/pip-pip-egg-info-ppmfftzi/rheoflow.egg-info/PKG-INFO
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-pdb7p0zb/setup.py", line 10, in <module>
        setup(
      File "/opt/conda/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "/opt/conda/lib/python3.9/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/opt/conda/lib/python3.9/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/opt/conda/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/opt/conda/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 292, in run
        writer(self, ep.name, os.path.join(self.egg_info, ep.name))
      File "/opt/conda/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 635, in write_pkg_info
        metadata.write_pkg_info(cmd.egg_info)
      File "/opt/conda/lib/python3.9/distutils/dist.py", line 1117, in write_pkg_info
        self.write_pkg_file(pkg_info)
      File "/opt/conda/lib/python3.9/site-packages/setuptools/dist.py", line 185, in write_pkg_file
        license = rfc822_escape(self.get_license())
      File "/opt/conda/lib/python3.9/distutils/util.py", line 476, in rfc822_escape
        lines = header.split('\n')
    AttributeError: '_Printer' object has no attribute 'split'
    ----------------------------------------
WARNING: Discarding git+https://github.com/rheopy/rheoflow.git. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions