Dockerfiles
Dockerfiles copied to clipboard
incorrect way of adding a library path only to python3
Failed to compile the VideoDuration sample against xeon-ubuntu1804-analytics-dev:20.7:
_Step 5/19 : RUN cd /opt && git clone https://github.com/IntelLabs/vdms && cd vdms && git checkout tags/v2.0.1 && mkdir db && scons -j$(nproc) INTEL_PATH=/opt --no-server ---> Running in 45603b764ea8 Cloning into 'vdms'... Note: checking out 'tags/v2.0.1'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
Made it working by removing PYTHONPATH. Video Curation sample used scons as the make replacement. Scons is python2 only. Adding python3 libraries into PYTHONPATH confuses scons.
See https://stackoverflow.com/questions/34066261/how-to-set-different-pythonpath-variables-for-python3-and-python2-respectively for proper ways of adding a library path only to python3.