python3- pip (scapy) install issue when using opkg

Introduce yourself to us and other members here, or share your own product reviews, suggestions, and tips and tricks of using QNAP products.
Post Reply
smksky
New here
Posts: 6
Joined: Sat Jan 07, 2017 11:02 pm

python3- pip (scapy) install issue when using opkg

Post by smksky »

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 ...
User avatar
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

Post by OneCD »

Hi and welcome to the forum. :)
smksky wrote:- pip3 install scapy
Try this instead:

Code: Select all

pip3 install setuptools scapy-python3

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
smksky
New here
Posts: 6
Joined: Sat Jan 07, 2017 11:02 pm

Re: python3- pip (scapy) install issue when using opkg

Post by smksky »

OneCD wrote:Hi and welcome to the forum. :)
smksky wrote:- pip3 install scapy
Try this instead:

Code: Select all

pip3 install setuptools scapy-python3
first thanks to reply
unfortunately i did already use this solution
User avatar
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

Post by OneCD »

:S

Unclear - did it work or do you still have an error?

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
smksky
New here
Posts: 6
Joined: Sat Jan 07, 2017 11:02 pm

Re: python3- pip (scapy) install issue when using opkg

Post by smksky »

OneCD wrote::S

Unclear - did it work or do you still have an error?
yes TT not sovled problem !! it have same error

ps. really thanks to your kinds !!
Post Reply

Return to “Users' Corner”