You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing with make compose the docker build fails with error:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/python3.9'
I believe it's because apt-get -y install python3 in the Dockerfile installs python 3.10. I (naively) tried just modifying the Dockerfile to create and activate the virtualenv with --python=/usr/bin/python3.10 (on line 45) but it seems like there is a compatibility issue there, that failed with a python error:
File "/bin/owtf/lib/python3.10/site-packages/tornado/httputil.py", line 107, in <module>
class HTTPHeaders(collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping'
The text was updated successfully, but these errors were encountered:
I am getting the same fail on step 20: Step 20/29 : RUN python3 -m virtualenv --python=/usr/bin/python3.9 $VIRTUAL_ENV ---> Running in 8c79a75c86ff FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/python3.9' The command '/bin/sh -c python3 -m virtualenv --python=/usr/bin/python3.9 $VIRTUAL_ENV' returned a non-zero code: 1 ERROR: Service 'owtf' failed to build : Build failed make: *** [Makefile:98: compose] Error 1
I saw a merge in 2021 that apparently solves a compatibility issue with python3.8/.9 however there seems to be more specific requirements install instructions are required. Any recommendations would be beneficial.
When installing with
make compose
the docker build fails with error:FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/python3.9'
I believe it's because
apt-get -y install python3
in the Dockerfile installs python 3.10. I (naively) tried just modifying the Dockerfile to create and activate the virtualenv with--python=/usr/bin/python3.10
(on line 45) but it seems like there is a compatibility issue there, that failed with a python error:The text was updated successfully, but these errors were encountered: