cannot import name collections_abc / ProbeBasic new installation failes

More
4 years 8 months ago #233695 by RobertS
On a fresh install (2.8.2.11) from the updated Debian 10 Buster PREEMPT-RT ISO installation of the Probe Basic v0.x.x packaged failes with the error cannot import name collections_abc.
The failure is the same from version v0.3.4 until 0.4.0,

Find attached a screenshot and the relevant report files.

Any ideas?

Please Log in to join the conversation.

More
4 years 8 months ago #233697 by RobertS
The issue is solved - at least for my installation:
  • pip show six
Code:
Name: six Version: 1.16.0 Summary: Python 2 and 3 compatibility utilities Home-page: https://github.com/benjaminp/six Author: Benjamin Peterson Author-email: benjamin@python.org License: MIT Location: /home/cnc/.local/lib/python3.7/site-packages Requires: Required-by: pyudev
  • pip install -U six
Code:
Collecting six   Downloading https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl Installing collected packages: six Successfully installed six-1.16.0

Even the version did not change, after the installation ProbeBasic is working again (testet with v0.4.0)

Please Log in to join the conversation.

More
4 years 8 months ago #234001 by P1-Engineering
I've been having the same issue.

How did you solve it exactly?. Don't really understand your message, completely new to Linux, just finished installing it 1 hour ago.

Thanks!

Please Log in to join the conversation.

More
4 years 8 months ago #234015 by RobertS
Hi,

try to follow these steps:
  1. open a shell window or do it directly on the console (thats what windows calls a "command prompt")
  2. just type pip -V
  3. you should get a reply like "pip 18.1 from /usr/lib/python2.7/dist-packages/pip (python 2.7"
    That shows you , the pip command is available
  4. type pip show six - the output should be like I mentioned in my 2nd post
  5. type pip install -U six - this should be install/reinstall the missing/wrong libraries
  6. start linuxcnc again

Please Log in to join the conversation.

More
4 years 8 months ago #234037 by P1-Engineering
That did it, everything works now!.

Thanks a million Robert!
Now I just have to be patient till the Mesa cards arrive and I can start building the controller :)

Please Log in to join the conversation.

Time to create page: 0.105 seconds
Powered by Kunena Forum