Open itsblings opened 12 months ago
Hi, i'm facing the same issue. did you found a solutions ?
+1
Hi, I also ran into this issue. Just make sure you use the required Python version 3.11.x
. That's really important.
ℹ️: Not sure if this is Mac-only, but at least I am using a Mac and the following will be Mac-specific, but the information might still help others.
So like I said, I also ran into this issue, the Python version that I had installed was something around 3.9.x
. You can check this by typing the following into the terminal:
python3 --version
In my case, it is now Python 3.11.5
. Just check it if you have something else than 3.11.x
it will not work. I tried it with 3.9
and 3.12
and both showed me different errors. You can also check if you have a version specific installed; you can have multiple Python versions installed on your device. So just type:
python3.11 --version
If you get an answer to that, then you are also good to go. If not, just go to https://www.python.org/downloads/macos/ and download any Python 3.11.x
. For me, it worked with Python 3.11.5
, but it is up to you. And obviously install it.
Once you did that you can check again with:
python3 --version
or
python3.11 --version
Because python3
might still use a different Python version. If python3
shows you the correct version, then you should be good to go to reuse the commands from the readme. If not, just use the following.
python3.11 -m venv ./.venv
source ./.venv/bin/activate
pip3.11 install -r requirements.txt
sudo python3.11 main.py
This will make sure the commands are using the correct versions. Also important to have your device in developer mode and plugged in when running the last command.
Enjoy ☺️
@Siyuanw please include info above in the readme
file
Hi, i've managed to run pip3 install -r requirements.txt, waited around 7 mins and got notified that program was installed. I did see ERROR: Could not build wheels for pytun-pmd3, which is required to install pyproject.toml-based projects. However, upon running sudo python3. py I get :
Traceback (most recent call last): File "/Users/dinoshawn/Desktop/kinesis-main/main.py", line 1, in
from cryptography.hazmat.primitives.asymmetric import rsa
ModuleNotFoundError: No module named 'cryptography'
Anyone can help with this? TIA
steps took: