[issue27051] Create PIP gui

Upendra Kumar report at bugs.python.org
Tue Jun 21 06:54:53 EDT 2016


Upendra Kumar added the comment:

Hey, can anyone help me with this code :

###################################################################


Python 3.4.3 (default, Oct 14 2015, 20:33:09) 
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pip
>>> pip.main(["install","-U","wheel"])
Requirement already up-to-date: wheel in /usr/local/lib/python3.4/dist-packages
Cleaning up...
0
>>> pip.main(["install","-U","timingwheel"])
Downloading/unpacking timingwheel
Downloading/unpacking timingwheel
  Downloading timingwheel-0.4.tar.gz
  Downloading timingwheel-0.4.tar.gz
  Running setup.py (path:/tmp/pip_build_scorpio/timingwheel/setup.py) egg_info for package timingwheel
  Running setup.py (path:/tmp/pip_build_scorpio/timingwheel/setup.py) egg_info for package timingwheel
    Traceback (most recent call last):
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "<string>", line 17, in <module>
      File "/tmp/pip_build_scorpio/timingwheel/setup.py", line 3, in <module>
      File "/tmp/pip_build_scorpio/timingwheel/setup.py", line 3, in <module>
        from timingwheel import version
        from timingwheel import version
      File "/tmp/pip_build_scorpio/timingwheel/timingwheel/__init__.py", line 1, in <module>
      File "/tmp/pip_build_scorpio/timingwheel/timingwheel/__init__.py", line 1, in <module>
        from timingwheel import BaseWheel, TimingWheel
        from timingwheel import BaseWheel, TimingWheel
    ImportError: cannot import name 'BaseWheel'
    ImportError: cannot import name 'BaseWheel'
    Complete output from command python setup.py egg_info:
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip_build_scorpio/timingwheel/setup.py", line 3, in <module>

    from timingwheel import version

  File "/tmp/pip_build_scorpio/timingwheel/timingwheel/__init__.py", line 1, in <module>

    from timingwheel import BaseWheel, TimingWheel

ImportError: cannot import name 'BaseWheel'

----------------------------------------
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip_build_scorpio/timingwheel/setup.py", line 3, in <module>

    from timingwheel import version

  File "/tmp/pip_build_scorpio/timingwheel/timingwheel/__init__.py", line 1, in <module>

    from timingwheel import BaseWheel, TimingWheel

ImportError: cannot import name 'BaseWheel'

----------------------------------------
Cleaning up...
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_scorpio/timingwheel
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_scorpio/timingwheel
Storing debug log for failure in /home/scorpio/.pip/pip.log
Storing debug log for failure in /home/scorpio/.pip/pip.log
1


###############################################################
###############################################################


In the above failure, pip install functionality fails. I don't know why. Other functionalities like "search" and "list" works perfectly. But, when I tried to connect this pip install command with my GUI button, I got the above error.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27051>
_______________________________________


More information about the Python-bugs-list mailing list