Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Help with pyinstaller "No module named"
Post: RE: Help with pyinstaller "No module named"
me again
same problem with another package
C:\>cd C:\Users\user\Documents\Codes\Python\Projects\pythonProject4\dist
C:\Users\user\Documents\Codes\Python\Projects\pythonProject4\dist>Ebus.exe... |
|
korenron |
General Coding Help |
9 |
9,000 |
Jun-15-2023, 10:07 AM |
|
|
Thread: Help with pyinstaller "No module named"
Post: RE: Help with pyinstaller "No module named"
everything is install wand working on my Py-Charm
now that I install using pip3 - it's working
so why the Pyinstaller won't take the package and put it in the exe file ?
isn't it all the purpose of... |
|
korenron |
General Coding Help |
9 |
9,000 |
Jun-07-2023, 05:59 AM |
|
|
Thread: Help with pyinstaller "No module named"
Post: Help with pyinstaller "No module named"
Hello,
I'm trying to create a EXE file from my (Working) python code.
When I try to run the exe file I get the error:
Traceback (most recent call last):
File "Test_data.py", line 4, in <module&... |
|
korenron |
General Coding Help |
9 |
9,000 |
Jun-06-2023, 12:35 PM |
|
|
Thread: create exe file for linux?
Post: RE: create exe file for linux?
so all I have to do is to install Pyinstaller on my linux computer ?
I will try
Thank you! |
|
korenron |
General Coding Help |
2 |
975 |
Mar-22-2023, 01:42 PM |
|
|
Thread: create exe file for linux?
Post: create exe file for linux?
Hello,
is there any way to create kind of exe file for my python code ?
in Windows I use
pyinstaller --onefile test.pyand I have test.exe file
can I do the same on linux ?
Thanks, |
|
korenron |
General Coding Help |
2 |
975 |
Mar-22-2023, 01:23 PM |
|
|
Thread: Some help with picamera ROI setting?
Post: RE: Some help with picamera ROI setting?
Thank you for the code
I didn't know there is a ROI function in cv2
make everything so easy now :-)
Thank you! , |
|
korenron |
Data Science |
3 |
1,586 |
Feb-28-2023, 02:33 PM |
|
|
Thread: Some help with picamera ROI setting?
Post: Some help with picamera ROI setting?
Hello,
I'm trying to take a picture and zoom it ,using camera.zoom
zoom
Retrieves or sets the zoom applied to the camera’s input.
When queried, the zoom property returns a (x, y, w, h) tuple of floa... |
|
korenron |
Data Science |
3 |
1,586 |
Feb-27-2023, 12:54 PM |
|
|
Thread: REST API using flask - limit connection?
Post: REST API using flask - limit connection?
Hello,
I have a REST APi that take a picture , analyze it - and return an answer to the user.
the all process it taking ~ 25 seconds.
how can I limit , and not take another picture until the first w... |
|
korenron |
Web Scraping & Web Development |
1 |
1,265 |
Feb-05-2023, 12:11 PM |
|
|
Thread: first time use plot - I get empty graph
Post: RE: first time use plot - I get empty graph
how can I do this?
Quote:how do I Plot the entire list with one call to plot() ?
import matplotlib.pyplot as plt
def GetDataFunction()
t= 0
while t <250:
Speed = GetData()
pr... |
|
korenron |
General Coding Help |
6 |
2,092 |
Feb-01-2023, 01:40 PM |
|
|
Thread: first time use plot - I get empty graph
Post: RE: first time use plot - I get empty graph
OK
now I have added a marker and I can see the points - thanks ,
can I connected the dots? with a line ?
I have try this
plt.plot(t, Speed[t], color='green', marker='o', linestyle='dashed',line... |
|
korenron |
General Coding Help |
6 |
2,092 |
Jan-23-2023, 01:37 PM |
|
|
Thread: first time use plot - I get empty graph
Post: first time use plot - I get empty graph
Hello,
I want to show variable in a graph , I don't have "x" only the value of y
so I thought to create an int for numbers of time I get the speed and increase it every time
I will explain
I'm rea... |
|
korenron |
General Coding Help |
6 |
2,092 |
Jan-23-2023, 01:22 PM |
|
|
Thread: Set string in custom format
Post: RE: Set string in custom format
I will try it ,
Thank you ! |
|
korenron |
General Coding Help |
4 |
1,089 |
Jan-16-2023, 02:06 PM |
|
|
Thread: Set string in custom format
Post: Set string in custom format
Hello,
wanted to know how can I do the following :
I have a function the return 8 digits(as string)
12345678I want to return it as
123-45-678 how can I do it ?
is there a "clean" way for it ?
or ju... |
|
korenron |
General Coding Help |
4 |
1,089 |
Jan-16-2023, 12:26 PM |
|
|
Thread: try catch not working?
Post: RE: try catch not working?
Ok
I will catch it and see what cause it .
meanwhile (until it will catch the error again):
can it be because I don't get addr in the response?
Thanks , |
|
korenron |
General Coding Help |
2 |
844 |
Jan-15-2023, 01:54 PM |
|
|
Thread: try catch not working?
Post: try catch not working?
Hello,
I have this code for checking modem connection
import os
import sys
import time
import datetime
import requests
import threading
import socket
import netifaces as ni
import schedule
Error_Co... |
|
korenron |
General Coding Help |
2 |
844 |
Jan-15-2023, 01:31 PM |
|
|
Thread: using threading.Timer for function
Post: using threading.Timer for function
Hello,
I have a simple function that I want it to run every 1 min
the function check internet connection - ping to google (8.8.8.8)
this is all the code
import os
import sys
import time
import dat... |
|
korenron |
General Coding Help |
1 |
1,201 |
Dec-20-2022, 10:07 AM |
|
|
Thread: PiCamera - print exceptions?
Post: PiCamera - print exceptions?
Hello ,
I'm trying to handle exception but it said
NameError: name 'Picamera' is not definedwhat did I miss?
from picamera import PiCamera
try:
camera = PiCamera()
except picamera.PiCameraE... |
|
korenron |
General Coding Help |
2 |
834 |
Dec-15-2022, 12:03 PM |
|
|
Thread: using paramiko to see resualt
Post: RE: using paramiko to see resualt
thank you
I can use this in another app I'm building
Thanks! |
|
korenron |
General Coding Help |
4 |
1,459 |
Dec-06-2022, 10:28 AM |
|
|
Thread: using paramiko to see resualt
Post: RE: using paramiko to see resualt
for some reason I thought printing is enough and not read line in the stdout
thank you! |
|
korenron |
General Coding Help |
4 |
1,459 |
Dec-06-2022, 09:49 AM |
|
|
Thread: using paramiko to see resualt
Post: using paramiko to see resualt
Hello,
I'm trying to connect using SSH and send some commands
how can I see the result of the command ?
for example
answer = ssh.exec_command('ls Documents/ ')
print (answer)
I get
(<param... |
|
korenron |
General Coding Help |
4 |
1,459 |
Dec-06-2022, 09:36 AM |