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

Unable to install cwiid onto my lego ev3dev robot #35

Open
DigitalRookie4 opened this issue Aug 29, 2019 · 3 comments
Open

Unable to install cwiid onto my lego ev3dev robot #35

DigitalRookie4 opened this issue Aug 29, 2019 · 3 comments

Comments

@DigitalRookie4
Copy link

I have tried installing cwiid onto my computer and by using sudo apt-get install python-cwiid. which appears to come from debian I installed it on my computer's debian terminal that I downloaded. It successfully downloaded it but when I put import cwiid into python 3 on my computer it gave off the error No module named 'cwiid'. Then I tried using pip install cwiid on my command prompt and this MASSIVE error came up: (sorry about the format it is due to the ->""" <- . I think they sort of glitched by what format github thinks three speech marks is)

`Collecting cwiid
Using cached https://files.pythonhosted.org/packages/fa/e8/d0f03c60bbdc583a7fa37a126e9b20055fb3752861820c25bd212dc62756/cwiid-3.0.0.tar.gz
Building wheels for collected packages: cwiid
Building wheel for cwiid (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\User\AppData\Local\Temp\pip-install-5u62qkij\cwiid\setup.py'"'"'; file='"'"'C:\Users\User\AppData\Local\Temp\pip-install-5u62qkij\cwiid\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\User\AppData\Local\Temp\pip-wheel-wyh6vuju' --python-tag cp37
cwd: C:\Users\User\AppData\Local\Temp\pip-install-5u62qkij\cwiid
Complete output (5 lines):
running bdist_wheel
running build
running build_ext
building 'cwiid' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
ERROR: Failed building wheel for cwiid
Running setup.py clean for cwiid
Failed to build cwiid
Installing collected packages: cwiid
Running setup.py install for cwiid ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\User\AppData\Local\Temp\pip-install-5u62qkij\cwiid\setup.py'"'"'; file='"'"'C:\Users\User\AppData\Local\Temp\pip-install-5u62qkij\cwiid\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\User\AppData\Local\Temp\pip-record-blsu2x3j\install-record.txt' --single-version-externally-managed --compile
cwd: C:\Users\User\AppData\Local\Temp\pip-install-5u62qkij\cwiid
Complete output (5 lines):
running install
running build
running build_ext
building 'cwiid' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

ERROR: Command errored out with exit status 1: 'c:\users\user\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\User\AppData\Local\Temp\pip-install-5u62qkij\cwiid\setup.py'"'"'; file='"'"'C:\Users\User\AppData\Local\Temp\pip-install-5u62qkij\cwiid\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\User\AppData\Local\Temp\pip-record-blsu2x3j\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
WARNING: You are using pip version 19.2.2, however version 19.2.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.`

@ildar
Copy link

ildar commented Dec 19, 2019 via email

@ildar
Copy link

ildar commented Dec 19, 2019 via email

@knoxvillesjoker
Copy link

Follow the errors:
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

Indicates you need to install that version of c++
Windows is extremely picky on how you install c++ install versions so have fun with that. Just keep working through the errors and fix each error that comes up until you run out of errors that can popup.

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

3 participants