Open jonnytest1 opened 4 years ago
Hello,
Pls install with this command: sudo pip3 install opencv-contrib-python==3.4.3.18
If you have any other questions, please feel free to contact us, we will do our best to help you.
Best! 2020-08-03
Adeept Technical Support Team Shenzhen Adeept Technology Co., Ltd. E-mail: support@adeept.com Website: www.adeept.com
发件人:jonnytest1 notifications@github.com 发送时间:2020-08-01 23:12 主题:[adeept/Adeept_RaspTank] missing modules after setup on webserver.py (#15) 收件人:"adeept/Adeept_RaspTank"Adeept_RaspTank@noreply.github.com 抄送:"Subscribed"subscribed@noreply.github.com
had to do pip install smbus but then https://www.piwheels.org/project/opencv-python/ has no support for python3 versions after 3.4.7.28 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
thanks - i downgraded my python to version 3.4.3 but now i get syntax errors in the webserver.py oO - which version is it written in ?
Hello,
Pls send a specific error. Generally, webServer.py reports an error because the camera is not connected or there is no sudo killall python3.
If you have any other questions, please feel free to contact us, we will do our best to help you.
Best!
2020-08-07
Adeept Technical Support Team Shenzhen Adeept Technology Co., Ltd. E-mail: support@adeept.com Website: www.adeept.com
发件人:jonnytest1 notifications@github.com 发送时间:2020-08-07 02:40 主题:Re: [adeept/Adeept_RaspTank] missing modules after setup on webserver.py (#15) 收件人:"adeept/Adeept_RaspTank"Adeept_RaspTank@noreply.github.com 抄送:"Adeept"support@adeept.com,"Comment"comment@noreply.github.com
thanks - i downgraded my python to version 3.4.3 but now i get syntax errors in the webserver.py oO - which version is it written in ? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
it literally says File "/home/jonathan/tankrobot/adeept_rasptank/server/webServer.py", line 339 with open(f'{projectPath}/config.json', 'r') as f1: ^ SyntaxError: invalid syntax
(arrow up is below h of projectPath)
Hello,
What command did you run when this error occurred? Pls take a screenshot to our team. In addition, you need to run sudo killall python3 before manually running webserver.py.
Best! 2020-08-08
Adeept Technical Support Team Shenzhen Adeept Technology Co., Ltd. E-mail: support@adeept.com Website: www.adeept.com
发件人:jonnytest1 notifications@github.com 发送时间:2020-08-07 19:11 主题:Re: [adeept/Adeept_RaspTank] missing modules after setup on webserver.py (#15) 收件人:"adeept/Adeept_RaspTank"Adeept_RaspTank@noreply.github.com 抄送:"Adeept"support@adeept.com,"Comment"comment@noreply.github.com
it literally says File "/home/jonathan/tankrobot/adeept_rasptank/server/webServer.py", line 339 with open(f'{projectPath}/config.json', 'r') as f1: ^ SyntaxError: invalid syntax — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
what version of python are you using to run this on your end ?
i refactored out all the template strings but now it complains about async def which only exists as of version 3.5 as far as i reasearched however opencv-contrib-python only exists up to version 3.4.10 and then from 4.0.1
I have the same issue and have used python3 on the command but I still get the same error any help is appreciated!
$ sudo python3 adeept_rasptank/server/webServer.py File "adeept_rasptank/server/webServer.py", line 339 with open(f'{projectPath}/config.json', 'r') as f1: ^ SyntaxError: invalid syntax
Hello,
According to your picture, you can see that the video can already be delivered to the web via the Raspberry Pi. The inability to see the real-time video may be caused by the network.
If you want smooth real-time video, you can go through the tutorial: Turn on the Raspberry Pi hotspot Steps:
If you have any other questions, please feel free to contact us, we will do our best to help you.
Best!
Technical Support support@adeept.com
签名由 网易邮箱大师 定制
On 9/8/2020 22:58,1scainotifications@github.com wrote:
I have the same issue and have used python3 on the command but I still get the same error any help is appreciated! $ sudo python3 adeept_rasptank/server/webServer.py File "adeept_rasptank/server/webServer.py", line 339 with open(f'{projectPath}/config.json', 'r') as f1: ^ SyntaxError: invalid syntax — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Hello, According to your picture, you can see that the video can already be delivered to the web via the Raspberry Pi. The inability to see the real-time video may be caused by the network. If you want smooth real-time video, you can go through the tutorial: Turn on the Raspberry Pi hotspot Steps: 1. Turn on the Raspberry Pi hotspot 2. Connect to the Raspberry Pi hotspot via a computer 3. Run the webServer.py program 4. The computer connected to the Raspberry Pi hotspot is accessed through a browser: "192.168.12.1:5000". The IP address when the Raspberry Pi turns on the hotspot is "192.168.12.1" Note: The Raspberry Pi cannot connect to the Internet after turning on the hotspot. Please reconnect the wifi when the Raspberry Pi needs to use the Internet. If you have any other questions, please feel free to contact us, we will do our best to help you. Best! Technical Support support@adeept.com 签名由 网易邮箱大师 定制 On 9/8/2020 22:58,1scainotifications@github.com wrote: I have the same issue and have used python3 on the command but I still get the same error any help is appreciated! $ sudo python3 adeept_rasptank/server/webServer.py File "adeept_rasptank/server/webServer.py", line 339 with open(f'{projectPath}/config.json', 'r') as f1: ^ SyntaxError: invalid syntax — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
What picture? are you saying that creating a hot spot on the pi fixes the syntax issue?
pretty sure that reply was not meant for this post
pretty sure that reply was not meant for this post
Did you fix this error by chance?
Hello,
Please try to download the code again: Steps:
If you have any other questions, please feel free to contact us, we will do our best to help you.
Best!
Technical Support support@adeept.com
签名由 网易邮箱大师 定制
On 9/9/2020 23:32,1scainotifications@github.com wrote:
pretty sure that reply was not meant for this post Did you fix this error by chance? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Hello, I am a customer who bought a rasptank and I got mine working, it is actually very cool, so I can verify that it does indeed work. I am going to try to help you, firstly I would start from the bottom and make certain that things work, for example are you positive that your raspberry pi has a good installation of raspbian? You could verify this by plugging in a mouse, keyboard and monitor and see if you can use it like a normal computer (without taking the tank apart).
If you're certain the os is working, how about the camera?
raspistill -o Desktop/image.jpg
from the terminal should take a snapshot more info here https://projects.raspberrypi.org/en/projects/getting-started-with-picamera/3
Are you connected to the wifi? try to go to a webpage. Seriously, I'm not being condescending.
I would verify that Python and pip are both installed and running. pip --version should work for pip, but you might need pip3 --version, I do not remember which ran it successfully, just know that there is a difference between python and python3 including pip and pip3 respectively.
Did you get setup.py to run successfully? That file installs many dependencies that could cause errors similar to the one you're experiencing if any of them failed to install.
The actual line of code you are referring to is attempting to open a file, config.json which should be in the project folder if you cloned the github repo successfully, can you confirm that it is there as seen in photo.
One issue that I ran into a lot is powering the board, it is often difficult to tell whether or not it is really on, raspberry pi seems to be sensitive, working well with some power cords and just blinking lights but not actually booting with others. That turned out to be half of the problem I had was trying to get the thing powered instead of just looking like it was powered.
Let me know if you have any specific questions.
Hello,
Thank you for your recommend and support.
We will try to improve the point you have mentioned.
If you have any other questions, please feel free to contact us, we will do our best to help you.
Best!
Technical Support support@adeept.com
签名由 网易邮箱大师 定制
On 9/10/2020 14:15,matteo1123notifications@github.com wrote:
Hello, I am a customer who bought a rasptank and I got mine working, it is actually very cool, so I can verify that it does indeed work. I am going to try to help you, firstly I would start from the bottom and make certain that things work, for example are you positive that your raspberry pi has a good installation of raspbian? You could verify this by plugging in a mouse, keyboard and monitor and see if you can use it like a normal computer (without taking the tank apart). If you're certain the os is working, how about the camera? raspistill -o Desktop/image.jpg from the terminal should take a snapshot more info here https://projects.raspberrypi.org/en/projects/getting-started-with-picamera/3 Are you connected to the wifi? try to go to a webpage. Seriously, I'm not being condescending. I would verify that Python and pip are both installed and running. pip --version should work for pip, but you might need pip3 --version, I do not remember which ran it successfully, just know that there is a difference between python and python3 including pip and pip3 respectively. Did you get setup.py to run successfully? That file installs many dependencies that could cause errors similar to the one you're experiencing if any of them failed to install. The actual line of code you are referring to is attempting to open a file, config.json which should be in the project folder if you cloned the github repo successfully, can you confirm that it is there as seen in photo.
One issue that I ran into a lot is powering the board, it is often difficult to tell whether or not it is really on, raspberry pi seems to be sensitive, working well with some power cords and just blinking lights but not actually booting with others. That turned out to be half of the problem I had was trying to get the thing powered instead of just looking like it was powered. Let me know if you have any specific questions. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
had to do pip install smbus
but then https://www.piwheels.org/project/opencv-python/ has no support for python3 versions after 3.4.7.28