Problem with install on Win7

Issue #262 resolved
Socrates created an issue

Hi, when i install like http://kallithea.readthedocs.io/en/latest/installation_win.html on step 7, in the end i have a problem.

Two things: 1. Error on install kallitea: Pip install kallithea (image 1 on doc attachment)

  1. Suposs that it fine, like it say: "Some warnings will appear" then i don't run paster command on step 9 (image 2)

Mi config: Win 7 64 bits Pyhton 2.7.13 (python-2.7.13.msi) tools pywin32-220.win32-py2.7.exe

I would thanks for your help!

Have a nice day

Comments (29)

  1. 557058%3Adea91e4c-e257-42be-bc28-2cf352c368c8 Account Deleted

    If you want to attach an image, please do it normally. Don't attach .doc files. Thanks.

  2. Mads Kiilerich

    (It would perhaps be even better to cut'n'paste the actual text from your console. It is inherently hard for us to cut'n'paste from your screenshots into google.)

    It looks like a problem in one of Kallithea's dependencies and how they support Windows.

    Will pip install PasteScript fail the same way ... or make it work?

  3. Socrates reporter

    it works. pip install PasteScript

    C:\Kallithea\Env\Scripts>pip install PasteScript Collecting PasteScript Downloading PasteScript-2.0.2-py2.py3-none-any.whl (74kB) 100% |################################| 81kB 213kB/s Collecting six (from PasteScript) Downloading six-1.10.0-py2.py3-none-any.whl Collecting Paste>=1.3 (from PasteScript) Downloading Paste-2.0.3-py2-none-any.whl (625kB) 100% |################################| 634kB 297kB/s Collecting PasteDeploy (from PasteScript) Downloading PasteDeploy-1.5.2-py2.py3-none-any.whl Installing collected packages: six, Paste, PasteDeploy, PasteScript Successfully installed Paste-2.0.3 PasteDeploy-1.5.2 PasteScript-2.0.2 six-1.10.0

  4. Mads Kiilerich

    No, you wrote "it works" ... and that the problem could be reproduced on another PC.

    But "it works" was a response to "pip install PasteScript" and not to whether it also would "make it work"?

  5. Socrates reporter

    ok, i was response to "pip install PasteScript"

    The problem with install is the same on another PC with Win7

  6. domruf

    This is very confusing. So you ran pip install PasteScript and then pip install kallithea !?

    pip install PasteScript succeeded but pip install kallithea still failed with a error regarding PasteScript?

  7. Socrates reporter

    Yes, i ran first "pip install PasteScript" and then "pip install kallithea". i follow the steps on url.

    pip install PasteScript succeeded pip install kallithea fail, and the error is that i attachment on images.

  8. Mads Kiilerich

    @domruf I guess it could be related to how some dependencies for some reason are installed in .eggs/ and not in the (virtual) env ... but I have no idea why and why it fails on windows (assuming it really only is seen on windows)

    (Hmm ... perhaps ... I guess .eggs is used by setuptools, and it is perhaps triggered because setup_requires in setup.py ...)

  9. Oleg Gusyev

    I have same (or similar) issue installing Kallithea on several different Windows machines (2008R2, Win10). Tried all suggestions I found on internet, neither worked. There is some flaw in install docs I'd guess. The error looks like : Command "python setup.py egg_info" failed with error code 1 in ...{temp folder}

  10. Oleg Gusyev

    More details: looks like it failed on this call because one parameter is missing?:
    File "c:\kallithea\env\lib\site-packages\packaging\requirements.py", line 59, in <module> MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker") TypeError: call() takes exactly 2 arguments (1 given)

  11. Oleg Gusyev

    Solved it! I followed an advice from here - https://github.com/nylas/sync-engine/issues/432 and then deleted requirements.pyc

    In file /usr/local/lib/python2.7/dist-packages/packaging/requirements.py, line 59 is this one:
    MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
    I changed it to
    
    MARKER_EXPR = originalTextFor(MARKER_EXPR(""))("marker")
    And that was it - everything went through after that.
    
  12. Mads Kiilerich

    @OlegVtech Where do you find python setup.py egg_info in the Kallithea documention?

    But yes, it sounds like the same problem. Are you fully updated with pip install --upgrade?

  13. Mads Kiilerich

    This problem has been resolved on the stable branch (but not in an official release yet) - can you confirm that?

  14. Log in to comment