0

I am beginner. I am trying to install pybars module. But the error code is

C:\TarTool>pip install pybars You are using pip version 6.0.8, however version 6.1.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Collecting pybars Using cached pybars-0.0.4.tar.gz Traceback (most recent call last): File "", line 20, in File "C:\Users\bwang\AppData\Local\Temp\pip-build-zubm22_7\pybars\setup.py ", line 22, in description = file( NameError: name 'file' is not defined Complete output from command python setup.py egg_info: Traceback (most recent call last):

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

  File "C:\Users\bwang\AppData\Local\Temp\pip-build-zubm22_7\pybars\setup.py

", line 22, in

    description = file(

NameError: name 'file' is not defined

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\bwan

g\AppData\Local\Temp\pip-build-zubm22_7\pybars

3
  • 1
    Possible duplicate of: stackoverflow.com/questions/16736833/… Commented Apr 15, 2015 at 13:34
  • I am using python 3.4 Commented Apr 15, 2015 at 15:05
  • Yes, and it seems you want to install a package that is not compatible with Python 3.X Either go back to Python 2, use another package or fork and update pybars so it works with Python 3. Commented Apr 15, 2015 at 15:12

2 Answers 2

0

Yes, I uninstalled Python 3.4 and installed Python 2.7, then lending club installation succeeded. But I am surprised about the new version, which should be compatible to the old version.

Sign up to request clarification or add additional context in comments.

Comments

0

If you are using python3, try the following to install the compatible version of pybars

pip install pybars3

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.