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

Cant Install on LinuxCNC ISO #7

Open
hasechris opened this issue May 20, 2023 · 0 comments
Open

Cant Install on LinuxCNC ISO #7

hasechris opened this issue May 20, 2023 · 0 comments

Comments

@hasechris
Copy link

Issue regarding kcjengr/probe_basic#70

Details for last comment on why i cant install using the supplied run-Files.

I keep getting this error:
image

In the shell where i executed the run-file i get this error message, which is more verbose to the actual error:

linuxcnc@linuxcnc:~/Downloads$ ./ProbeBasic-Installer-py2+3.g231c7ff.run
[95222] Warning: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
  Running command git clone -q https://github.com/kcjengr/qtpyvcp.conversational-gcode.git /tmp/pip-req-build-IJFh3g
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-IJFh3g/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-IJFh3g/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-GG68Nk
         cwd: /tmp/pip-req-build-IJFh3g/
    Complete output (8 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-IJFh3g/setup.py", line 1, in <module>
        import versioneer
      File "versioneer.py", line 418
        LONG_VERSION_PY: Dict[str, str] = {}
                       ^
    SyntaxError: invalid syntax
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

So i tried to do this on my own. Tried different versions of your git repo and this version is successfully installing:

linuxcnc@linuxcnc:~/Downloads$ pip install git+https://github.com/kcjengr/qtpyvcp_conversational_gcode.git@1b7273b5d227867b76e9cd2d658a414f2935a12a
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/kcjengr/qtpyvcp_conversational_gcode.git@1b7273b5d227867b76e9cd2d658a414f2935a12a
  Cloning https://github.com/kcjengr/qtpyvcp_conversational_gcode.git (to revision 1b7273b5d227867b76e9cd2d658a414f2935a12a) to /tmp/pip-req-build-F2k6hT
  Running command git clone -q https://github.com/kcjengr/qtpyvcp_conversational_gcode.git /tmp/pip-req-build-F2k6hT
  Running command git rev-parse -q --verify 'sha^1b7273b5d227867b76e9cd2d658a414f2935a12a'
  Running command git fetch -q https://github.com/kcjengr/qtpyvcp_conversational_gcode.git 1b7273b5d227867b76e9cd2d658a414f2935a12a
  Running command git checkout -q 1b7273b5d227867b76e9cd2d658a414f2935a12a
Building wheels for collected packages: qtpyvcp.conversational-gcode
  Building wheel for qtpyvcp.conversational-gcode (setup.py) ... done
  Created wheel for qtpyvcp.conversational-gcode: filename=qtpyvcp.conversational_gcode-0.0.1-py2-none-any.whl size=170981 sha256=ab15288d0ff4e4fefff1a0333beb29c72207fdb4846dfaae934807a5076b3b5e
  Stored in directory: /home/linuxcnc/.cache/pip/wheels/36/b4/3a/58f65f832ed5551e2a3ab308bd7bea5942e3711736fb826ceb
Successfully built qtpyvcp.conversational-gcode
Installing collected packages: qtpyvcp.conversational-gcode
Successfully installed qtpyvcp.conversational-gcode-0.0.1
linuxcnc@linuxcnc:~/Downloads$ 

This version (https://github.com/kcjengr/qtpyvcp_conversational_gcode/tree/1b7273b5d227867b76e9cd2d658a414f2935a12a) just did not have the file versioneer.py AT ALL.

This is happening, as mentionend in the original issue, on an up-to-date LinuxCNC ISO Install version 2.8.4.

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

1 participant