Skip to content

Commit

Permalink
fixed: ERROR: Package 'wifipumpkin3' requires a different Python: 3.7…
Browse files Browse the repository at this point in the history
….5 not in '>=3.8' #254
  • Loading branch information
mh4x0f committed Jan 9, 2024
1 parent e6b253d commit 344a475
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.

### Fixed
- fixed: dockerfile Could not find suitable distribution for Requirement.parse('zope-interface>=5')
- fixed: ERROR: Package 'wifipumpkin3' requires a different Python: 3.7.5 not in '>=3.8'

## [Released]

Expand Down
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ RUN apt-get update \
iw \
wireless-tools \
ifupdown \
python3.7 \
python3.8 \
python3-pip \
python3.7-dev \
python3.8-dev \
iptables \
net-tools \
rfkill \
Expand All @@ -22,10 +22,10 @@ COPY . /usr/src/app
WORKDIR /usr/src/app
COPY config/hostapd/hostapd.conf /etc/hostapd/hostapd.conf
#RUN pip3 --version
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 1
RUN python3.7 -m pip install --upgrade pip
RUN python3.7 -m pip install pyqt5==5.14
RUN python3.7 -m pip install .
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
RUN python3.8 -m pip install --upgrade pip
RUN python3.8 -m pip install pyqt5==5.14
RUN python3.8 -m pip install .
#CMD /usr/local/bin/wifipumpkin3 -m docker
WORKDIR /root/.config/wifipumpkin3
CMD /usr/local/bin/wifipumpkin3

0 comments on commit 344a475

Please sign in to comment.