Open ghost opened 3 years ago
Hello, tried to install the same source today, everything's okay. Maybe they didn't release the version or fixed some major bug. Well, I did this in python3, sorry for the false alarm. There is the mention on the official site, that there is last version of 0.18.4 of bidict for python2, so idk, waiting for fix in requirements
Yes, I think if anyone was able to make the requirement.txt with the exact version number also so that the conflicts can be avoided.
i also had the same problem in python 2.7 as recommended
Well I did little bit of research and found out the solution. Firstly I've found that flask-socketio doesn't support python since version 5.0.0 so I added the condition flask-socketio<5.0.0. Then I've also found out that bidict is not even needed. After that trape.py also wouldn't start, saying: cannot import JSONDecodeError But this problem was solved in the issue thread #277. And voila, the trape is working.
Well I did little bit of research and found out the solution. Firstly I've found that flask-socketio doesn't support python since version 5.0.0 so I added the condition flask-socketio<5.0.0. Then I've also found out that bidict is not even needed. After that trape.py also wouldn't start, saying: cannot import JSONDecodeError But this problem was solved in the issue thread #277. And voila, the trape is working.
@neutron393 Try pip install "Flask-SocketIO<5.0.0"
Well I did little bit of research and found out the solution. Firstly I've found that flask-socketio doesn't support python since version 5.0.0 so I added the condition flask-socketio<5.0.0. Then I've also found out that bidict is not even needed. After that trape.py also wouldn't start, saying: cannot import JSONDecodeError But this problem was solved in the issue thread #277. And voila, the trape is working.
@neutron393 Try pip install "Flask-SocketIO<5.0.0"
have installed, but new error
Traceback (most recent call last):
File "trape.py", line 23, in
requests installed
pip install requests
On Thu, Jan 14, 2021 at 5:54 PM neutron393 notifications@github.com wrote:
Well I did little bit of research and found out the solution. Firstly I've found that flask-socketio doesn't support python since version 5.0.0 so I added the condition flask-socketio<5.0.0. Then I've also found out that bidict is not even needed. After that trape.py also wouldn't start, saying: cannot import JSONDecodeError But this problem was solved in the issue thread #277 https://github.com/jofpin/trape/issues/277. And voila, the trape is working.
@neutron393 https://github.com/neutron393 Try pip install "Flask-SocketIO<5.0.0"
have installed, but new error
Traceback (most recent call last): File "trape.py", line 23, in from core.utils import utils # File "D:\GitHub\trape-master\core\utils.py", line 21, in import requests, json ImportError: No module named requests
requests installed
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jofpin/trape/issues/290#issuecomment-760551744, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASOUQS4EPMAJCV6A2Y6I6DTSZ574DANCNFSM4V2QXPKA .
pip install requests … On Thu, Jan 14, 2021 at 5:54 PM neutron393 @.***> wrote: Well I did little bit of research and found out the solution. Firstly I've found that flask-socketio doesn't support python since version 5.0.0 so I added the condition flask-socketio<5.0.0. Then I've also found out that bidict is not even needed. After that trape.py also wouldn't start, saying: cannot import JSONDecodeError But this problem was solved in the issue thread #277 <#277>. And voila, the trape is working. @neutron393 https://github.com/neutron393 Try pip install "Flask-SocketIO<5.0.0" have installed, but new error Traceback (most recent call last): File "trape.py", line 23, in from core.utils import utils # File "D:\GitHub\trape-master\core\utils.py", line 21, in import requests, json ImportError: No module named requests requests installed — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#290 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASOUQS4EPMAJCV6A2Y6I6DTSZ574DANCNFSM4V2QXPKA .
i said that requests installed
if i execute pip install requests, term says that Requirement already satisfied
use python2 some library versions used in trape dont support in python3!
pip install requests … On Thu, Jan 14, 2021 at 5:54 PM neutron393 @.***> wrote: Well I did little bit of research and found out the solution. Firstly I've found that flask-socketio doesn't support python since version 5.0.0 so I added the condition flask-socketio<5.0.0. Then I've also found out that bidict is not even needed. After that trape.py also wouldn't start, saying: cannot import JSONDecodeError But this problem was solved in the issue thread #277 <#277>. And voila, the trape is working. @neutron393 https://github.com/neutron393 Try pip install "Flask-SocketIO<5.0.0" have installed, but new error Traceback (most recent call last): File "trape.py", line 23, in from core.utils import utils # File "D:\GitHub\trape-master\core\utils.py", line 21, in import requests, json ImportError: No module named requests requests installed — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#290 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASOUQS4EPMAJCV6A2Y6I6DTSZ574DANCNFSM4V2QXPKA .
i said that requests installed
if i execute pip install requests, term says that Requirement already satisfied
Had the same issue with another tool yesterday, just try to remove env from the header of the file and leave just python instead (specify version 2 of python). I understand that this may not be a perfect solution but at least it works [for me].
install python-socketio==4.6.0
install
python-socketio==4.6.0
THANKS. It seems to work now
this is how i fixed it for termuxblack users
Could not find a version that satisfies the requirement bidict>=0.21.0 (from python-socketio->-r requirements.txt (line 11)) (from versions: 0.1.5, 0.2.1, 0.3.0, 0.3.1, 0.9.0rc0, 0.9.0.post1, 0.10.0, 0.10.0.post1, 0.11.0, 0.12.0.post1, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.14.2, 0.15.0.dev0, 0.15.0.dev1, 0.15.0rc1, 0.15.0, 0.16.0, 0.17.0, 0.17.1, 0.17.2, 0.17.3, 0.17.4, 0.17.5, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.18.4, 0.19.0, 0.20.0) No matching distribution found for bidict>=0.21.0 (from python-socketio->-r requirements.txt (line 11))