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

Katacoda environment needs update #2183

Closed
iesahin opened this issue Feb 12, 2021 · 1 comment
Closed

Katacoda environment needs update #2183

iesahin opened this issue Feb 12, 2021 · 1 comment

Comments

@iesahin
Copy link
Contributor

iesahin commented Feb 12, 2021

In katakoda https://katacoda.com/dvc/courses/get-started/accessing page 4

pip3 install --user dvc

line reports error.

x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c dulwich/_objects.c -o build/temp.linux-x86_64-3.8/dulwich/_objects.o
    dulwich/_objects.c:22:10: fatal error: Python.h: No such file or directory
     #include <Python.h>
              ^~~~~~~~~~
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

python3-dev seems to be installed

~$ apt install python3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3-dev is already the newest version (3.6.7-1~18.04).
The following packages were automatically installed and are no longer required:
  libc-ares2 libhttp-parser2.7.1 libnetplan0 libuv1 nodejs-doc python3-netifaces
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

but there is no python3.8 under /usr/include

/usr/include$ ll | grep python
drwxr-xr-x  2 root root   4096 Nov 10 11:30 python2.7/
lrwxrwxrwx  1 root root     10 Oct  8 12:12 python3.6 -> python3.6m/
drwxr-xr-x  2 root root   4096 Nov 10 11:30 python3.6m/

so an apt update and apt install python3.8-dev is required before pip3 install --user dvc

@iesahin iesahin changed the title Katakoda environment needs update Katacoda environment needs update Feb 12, 2021
@jorgeorpinel
Copy link
Contributor

Yep. We need to totally redo the interactive scenarios indeed. Nice to get some details here but probably no need for very specific issues since we have #1400. Closing in favor of that but thanks!

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

2 participants