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

IPlantUML 0.0.5 can't be installed #2381 #5

Closed
budebulai opened this issue Sep 12, 2017 · 2 comments
Closed

IPlantUML 0.0.5 can't be installed #2381 #5

budebulai opened this issue Sep 12, 2017 · 2 comments
Assignees

Comments

@budebulai
Copy link

pypi/warehouse#2381

Errors occured when pip install iplantuml.

Error 1: TypeError

C:\Users\Administrator>pip install iplantuml
Collecting iplantuml
Using cached IPlantUML-0.0.5.tar.gz
Building wheels for collected packages: iplantuml
....
....
File "c:\users\admini~1\appdata\local\temp\pip-build-fw7jij\iplantuml\setup.py", line 79, in initialize_options
super().initialize_options()
TypeError: super() takes at least 1 argument (0 given)

Error 2: no such option "--jarpath"

C:\Users\Administrator>pip install iplantuml --jarpath ./plantuml.jar

Usage:
pip install [options] [package-index-options] ...
pip install [options] -r [package-index-options] ...
pip install [options] [-e] ...
pip install [options] [-e] ...
pip install [options] <archive url/path> ...

no such option: --jarpath

@jbn jbn self-assigned this Sep 12, 2017
@bitaxis
Copy link
Contributor

bitaxis commented Sep 15, 2017

I have a similar problem on Mac OS X.

$ pip install iplantuml
Collecting iplantuml
  Downloading IPlantUML-0.0.5.tar.gz
Building wheels for collected packages: iplantuml
  Running setup.py bdist_wheel for iplantuml ... error
  Complete output from command /Users/nb/.pyenv/versions/2.7.13/envs/jupyter/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/kk/_n7yg0853rggn6m7523llcg00000gn/T/pip-build-b2bcM1/iplantuml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/kk/_n7yg0853rggn6m7523llcg00000gn/T/tmpHkbpGLpip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  creating build/lib/iplantuml
  copying ./iplantuml/__init__.py -> build/lib/iplantuml
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/private/var/folders/kk/_n7yg0853rggn6m7523llcg00000gn/T/pip-build-b2bcM1/iplantuml/setup.py", line 110, in <module>
      cmdclass={'install': InstallCommand},
    File "/Users/nb/.pyenv/versions/2.7.13/lib/python2.7/distutils/core.py", line 151, in setup
      dist.run_commands()
    File "/Users/nb/.pyenv/versions/2.7.13/lib/python2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/Users/nb/.pyenv/versions/2.7.13/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/Users/nb/.pyenv/versions/2.7.13/envs/jupyter/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 182, in run
      reinit_subcommands=True)
    File "/Users/nb/.pyenv/versions/2.7.13/envs/jupyter/lib/python2.7/site-packages/setuptools/__init__.py", line 131, in reinitialize_command
      cmd = _Command.reinitialize_command(self, command, reinit_subcommands)
    File "/Users/nb/.pyenv/versions/2.7.13/lib/python2.7/distutils/cmd.py", line 319, in reinitialize_command
      command, reinit_subcommands)
    File "/Users/nb/.pyenv/versions/2.7.13/lib/python2.7/distutils/dist.py", line 925, in reinitialize_command
      command = self.get_command_obj(command_name)
    File "/Users/nb/.pyenv/versions/2.7.13/lib/python2.7/distutils/dist.py", line 846, in get_command_obj
      cmd_obj = self.command_obj[command] = klass(self)
    File "/Users/nb/.pyenv/versions/2.7.13/envs/jupyter/lib/python2.7/site-packages/setuptools/__init__.py", line 127, in __init__
      _Command.__init__(self, dist)
    File "/Users/nb/.pyenv/versions/2.7.13/lib/python2.7/distutils/cmd.py", line 64, in __init__
      self.initialize_options()
    File "/private/var/folders/kk/_n7yg0853rggn6m7523llcg00000gn/T/pip-build-b2bcM1/iplantuml/setup.py", line 79, in initialize_options
      super().initialize_options()
  TypeError: super() takes at least 1 argument (0 given)
  
  ----------------------------------------
  Failed building wheel for iplantuml
  Running setup.py clean for iplantuml
Failed to build iplantuml
Installing collected packages: iplantuml
  Running setup.py install for iplantuml ... error
    Complete output from command /Users/nb/.pyenv/versions/2.7.13/envs/jupyter/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/kk/_n7yg0853rggn6m7523llcg00000gn/T/pip-build-b2bcM1/iplantuml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/kk/_n7yg0853rggn6m7523llcg00000gn/T/pip-Jv62Db-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/nb/.pyenv/versions/2.7.13/envs/jupyter/include/site/python2.7/iplantuml:
    running install
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/kk/_n7yg0853rggn6m7523llcg00000gn/T/pip-build-b2bcM1/iplantuml/setup.py", line 110, in <module>
        cmdclass={'install': InstallCommand},
      File "/Users/nb/.pyenv/versions/2.7.13/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/Users/nb/.pyenv/versions/2.7.13/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/Users/nb/.pyenv/versions/2.7.13/lib/python2.7/distutils/dist.py", line 970, in run_command
        cmd_obj = self.get_command_obj(command)
      File "/Users/nb/.pyenv/versions/2.7.13/lib/python2.7/distutils/dist.py", line 846, in get_command_obj
        cmd_obj = self.command_obj[command] = klass(self)
      File "/Users/nb/.pyenv/versions/2.7.13/envs/jupyter/lib/python2.7/site-packages/setuptools/__init__.py", line 127, in __init__
        _Command.__init__(self, dist)
      File "/Users/nb/.pyenv/versions/2.7.13/lib/python2.7/distutils/cmd.py", line 64, in __init__
        self.initialize_options()
      File "/private/var/folders/kk/_n7yg0853rggn6m7523llcg00000gn/T/pip-build-b2bcM1/iplantuml/setup.py", line 79, in initialize_options
        super().initialize_options()
    TypeError: super() takes at least 1 argument (0 given)
    
    ----------------------------------------
Command "/Users/nb/.pyenv/versions/2.7.13/envs/jupyter/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/kk/_n7yg0853rggn6m7523llcg00000gn/T/pip-build-b2bcM1/iplantuml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/kk/_n7yg0853rggn6m7523llcg00000gn/T/pip-Jv62Db-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/nb/.pyenv/versions/2.7.13/envs/jupyter/include/site/python2.7/iplantuml" failed with error code 1 in /private/var/folders/kk/_n7yg0853rggn6m7523llcg00000gn/T/pip-build-b2bcM1/iplantuml/

@jbn jbn closed this as completed in 522fc12 Sep 16, 2017
@jbn
Copy link
Owner

jbn commented Sep 16, 2017

Yikes. Old bug. (Don't do much UML anymore.)

Just fixed it in a new version. Give,

pip install iplantuml --no-cache-dir

a try and let me know if it doesn't work.

Thanks, @budebulai and @bitaxis!

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

3 participants