This repository was archived by the owner on Jan 1, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 355
This repository was archived by the owner on Jan 1, 2025. It is now read-only.
ImportError: No module named setuptools_rust on clean Ubuntu 16.04 (Python 2.7) #166
Copy link
Copy link
Open
Description
Steps to reproduce
- On a clean installed Ubuntu 16.04 with python 2.7
- Follow the instruction on https://pyrobot.org/docs/software
- When running
./locobot_install_all.sh -t full -p 2 -l interbotixthe error happened
Observed Results
Output log:
Collecting cryptography
Downloading https://files.pythonhosted.org/packages/9b/77/461087a514d2e8ece1c975d8216bc03f7048e6090c5166bc34115afdaa53/cryptography-3.4.7.tar.gz (546kB)
100% |████████████████████████████████| 552kB 2.2MB/s
Complete output from command python setup.py egg_info:
=============================DEBUG ASSISTANCE==========================
If you are seeing an error here please try the following to
successfully install cryptography:
Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
=============================DEBUG ASSISTANCE==========================
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-OJ8V9B/cryptography/setup.py", line 14, in <module>
from setuptools_rust import RustExtension
ImportError: No module named setuptools_rust
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-OJ8V9B/cryptography/
You are using pip version 8.1.1, however version 21.1.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
After running the recommended fix pip install --upgrade pip, pip no longer works: any pip operation or even just typing pip will result in the error
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip import main
File "/home/locobot3/.local/lib/python2.7/site-packages/pip/__init__.py", line 1, in <module>
from typing import List, Optional
ImportError: No module named typing
I don't think typing is introduced in python 2.7 hence the pip problem.
What is the correct branch / release that I should install on a clean Ubuntu 16.04 with Python 2.7? Or should I use python3 instead?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels