i'm using ts-231+
i did installed opkg in nas and installed python3 , python3-pip using opkg
it was great to here,
but forget the expectations, i had meeting error message when i commanded like this.
- pip3 install scapy
error-------------------------------------------------------------------------------------------------------
Collecting scapy
Using cached scapy-2.3.3.tgz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/share/CACHEDEV1_DATA/.qpkg/Entware-ng/tmp/pip-build-b9zug6o0/scapy/setup.py", line 36
os.chmod(fname, 0755)
^
SyntaxError: invalid token
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /share/CACHEDEV1_DATA/.qpkg/Entware-ng/tmp/pip-build-b9zug6o0/scapy/
---------------------------------------------------------------------------------------------------------------
i did spend time too much for finding solution ... but i couldn't
i need to hlep somone ...
python3- pip (scapy) install issue when using opkg
-
- New here
- Posts: 6
- Joined: Sat Jan 07, 2017 11:02 pm
- OneCD
- Guru
- Posts: 12037
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: python3- pip (scapy) install issue when using opkg
Hi and welcome to the forum.
Try this instead:smksky wrote:- pip3 install scapy
Code: Select all
pip3 install setuptools scapy-python3
-
- New here
- Posts: 6
- Joined: Sat Jan 07, 2017 11:02 pm
Re: python3- pip (scapy) install issue when using opkg
first thanks to replyOneCD wrote:Hi and welcome to the forum.
Try this instead:smksky wrote:- pip3 install scapyCode: Select all
pip3 install setuptools scapy-python3
unfortunately i did already use this solution
- OneCD
- Guru
- Posts: 12037
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: python3- pip (scapy) install issue when using opkg
Unclear - did it work or do you still have an error?
-
- New here
- Posts: 6
- Joined: Sat Jan 07, 2017 11:02 pm
Re: python3- pip (scapy) install issue when using opkg
yes TT not sovled problem !! it have same errorOneCD wrote:
Unclear - did it work or do you still have an error?
ps. really thanks to your kinds !!