Re: Multithread and locking issue
Op 15/05/20 om 00:36 schreef Stephane Tougard: Hello, A multithreaded software written in Python is connected with a Postgres database. To avoid concurrent access issue with the database, it starts a thread who receive all SQL request via queue.put and queue.get (it makes only insert, so no issue with the return of the SQL request). As long as it runs with 10 threads, no issues. At 100 threads, the software is blocked by what I think is a locking issue. I guess Python multithreading and queue are working good enough that it can handle 100 threads with no issue (give me wrong here), so I guess the problem is in my code. It is not the number of threads in itself that can cause problems. But my experience is that if you have an unbounded queue and your producers out pace the consumers, that can cause problems. And if you have 100 times more producers as you have consumers that can easily be the case. So my advice it to never use an unbounded queue. If the number of producers is small I go for a size of 10. If the number of producers gets larger, I go for a size between the number of producerers and the double of that. -- Antoon. -- https://mail.python.org/mailman/listinfo/python-list
Re: Multithread and locking issue
On 15May2020 05:57, Stephane Tougard wrote: On 2020-05-15, Chris Angelico wrote: Seconded. If you know how many threads you're going to have, just open that many connections. If not, there's a connection-pooling feature as part of psycopg2 (if I'm not mistaken). This would be far far easier to work with than a fragile queueing setup. I've done like that (more or less), it works fine. I note that que queuing module or Python is "fragile". It isn't fragile, it is very robust. Chris' statement (to my mind) means either that it is an additional layer of complexity to your programme (which you need to debug) or the pervasive fear of threaded programming, which has its pitfalls but is very rewarding and not hard to do safely and easily unless you do something agressive and complex. Cheers, Cameron Simpson -- https://mail.python.org/mailman/listinfo/python-list
Re: Multithread and locking issue
On Fri, May 15, 2020 at 6:25 PM Cameron Simpson wrote: > > On 15May2020 05:57, Stephane Tougard wrote: > >On 2020-05-15, Chris Angelico wrote: > >> Seconded. If you know how many threads you're going to have, just > >> open > >> that many connections. If not, there's a connection-pooling feature as > >> part of psycopg2 (if I'm not mistaken). This would be far far easier > >> to work with than a fragile queueing setup. > > > >I've done like that (more or less), it works fine. > > > >I note that que queuing module or Python is "fragile". > > It isn't fragile, it is very robust. Chris' statement (to my mind) means > either that it is an additional layer of complexity to your programme > (which you need to debug) or the pervasive fear of threaded programming, > which has its pitfalls but is very rewarding and not hard to do safely > and easily unless you do something agressive and complex. > Correct. The complexity caused by not simply embracing threaded programming is what's fragile. ChrisA -- https://mail.python.org/mailman/listinfo/python-list
Re: Decorators with arguments?
Christopher de Vidal wrote: > Help please? Creating an MQTT-to-Firestore bridge and I know a decorator > would help but I'm stumped how to create one. I've used decorators before > but not with arguments. > > The Firestore collection.on_snapshot() method invokes a callback and sends > it three parameters (collection_snapshot, changes, and read_time). I need > the callback to also know the name of the collection so that I can publish > to the equivalent MQTT topic name. I had thought to add a fourth parameter > and I believe a decorator is the right approach but am stumped how to add > that fourth parameter. How would I do this with the code below? > > #!/usr/bin/env python3 > from google.cloud import firestore > import firebase_admin > from firebase_admin import credentials > import json > import mqtt > > firebase_admin.initialize_app(credentials.Certificate("certs/firebase.json")) > db = firestore.Client() > mqtt.connect() > > > def load_json(contents): > try: > return json.loads(contents) > except (json.decoder.JSONDecodeError, TypeError): > return contents > > > def on_snapshot(col_name, col_snapshot, changes, read_time): > data = dict() > for doc in col_snapshot: > serial = doc.id > contents = load_json(doc.to_dict()['value']) > data[serial] = contents > for change in changes: > serial = change.document.id > mqtt_topic = col_name + '/' + serial > contents = data[serial] > if change.type.name in ['ADDED', 'MODIFIED']: > mqtt.publish(mqtt_topic, contents) > elif change.type.name == 'REMOVED': > mqtt.publish(mqtt_topic, None) > > > # Start repeated code section > # TODO Better to use decorators but I was stumped on how to pass arguments > def door_status_on_snapshot(col_snapshot, changes, read_time): > on_snapshot('door_status', col_snapshot, changes, read_time) > > > door_status_col_ref = db.collection('door_status') > door_status_col_watch = > door_status_col_ref.on_snapshot(door_status_on_snapshot) > > # Repetition... > def cpu_temp_on_snapshot(col_snapshot, changes, read_time): > on_snapshot('cpu_temp', col_snapshot, changes, read_time) > > > cpu_temp_col_ref = db.collection('cpu_temp') > cpu_temp_col_watch = cpu_temp_col_ref.on_snapshot(cpu_temp_on_snapshot) > # End repeated code section > > # Start repeated code section > door_status_col_watch.unsubscribe() > cpu_temp_col_watch.unsubscribe() > # Repetition... > # End repeated code section > > Christopher de Vidal You might also consider a contextmanager: https://docs.python.org/3/library/contextlib.html # untested @contextmanager def subscribe(name, col_snapshot, changes, read_time): def status_on_snapshot(col_snapshot, changes, read_time): on_snapshot(name, col_snapshot, changes, read_time) status_col_ref = db.collection(name) status_col_watch = status_col_ref.on_snapshot(door_status_on_snapshot) try: yield status_col_ref finally: status_col_watch.unsubscribe() with subscribe("door_status", ...) as door_status_col_ref: with subscribe("cpu_temp", ...) as cpu_temp_col_ref: ... If there are many uniform ones the nested with statements can be generalized: NAMES = "door_status", "cpu_temp", ... with ExitStack() as stack: col_refs = [ stack.enter_context(subscribe(name)) for name in NAMES ] And if you like Camoron's suggestion or the subscribe() generator above just gets too unwieldy: a custom class can act as a contextmanager, too. https://docs.python.org/3/reference/compound_stmts.html#with -- https://mail.python.org/mailman/listinfo/python-list
Help with installation please
Hello, I downloaded python 3.8 in my windows, I selected the box for the path but when I try to run it in powershell it brought me to app store to get it again. Please let me know Thanks Melissa -- https://mail.python.org/mailman/listinfo/python-list
RV: CodecRegistryError problem for an IDE.
Hi, I'm trying to insall an INET package for an IDE called OMNeT++ and when I try to build the INET the following happens in the command window: Fatal Python error: Py_Initialize: unable to load the file system codec File "C:\Python27\Lib\encodings\__init__.py", line 123 raise CodecRegistryError,\ ^ SyntaxError: invalid syntax I did python repair from the setup installer but it still doesn't work. Do you know what should I do in order to solve the problem ? Best regards, Thank you, Bryan Cabrera Ramirez -- https://mail.python.org/mailman/listinfo/python-list
Re: php to python code converter
On 15/05/20 12:58 AM, Jon Ribbens via Python-list wrote: On 2020-05-14, MRAB wrote: Look at the date of the original post. It says "8 May 2009". That's over 11 years ago! Since then, Google Code has ceased to exist. Disgraceful, all URLs should continue to work for at least as long as this one has: http://info.cern.ch/hypertext/WWW/TheProject.html ;-) Is there then a lesson to be learned here? Should you place trust in a company that (repeatedly) behaves in such a fashion, yet feels entitled to lecture others about 'what is good for the web'? -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list
Re: RV: CodecRegistryError problem for an IDE.
On 2020-05-15 18:53, Bryan Cabrera Ramírez wrote: Hi, I'm trying to insall an INET package for an IDE called OMNeT++ and when I try to build the INET the following happens in the command window: Fatal Python error: Py_Initialize: unable to load the file system codec File "C:\Python27\Lib\encodings\__init__.py", line 123 raise CodecRegistryError,\ ^ SyntaxError: invalid syntax I did python repair from the setup installer but it still doesn't work. Do you know what should I do in order to solve the problem ? That syntax is valid for Python 2.7. (Python 2 has reached end-of-life.) I'm wondering if it's due to a confusion between Python 2 and Python 3, with Python 3 trying to run code intended for Python 2. -- https://mail.python.org/mailman/listinfo/python-list
Re: Help with installation please
On 2020-05-15 05:18, Jhoana Kacheva Melissa Joseph wrote: Hello, I downloaded python 3.8 in my windows, I selected the box for the path but when I try to run it in powershell it brought me to app store to get it again. How are you running Python? What are you putting on the command line? When I try: python3 it takes me to the store. The recommended way these days is to use the Python launcher. py That starts the default one for me. -- https://mail.python.org/mailman/listinfo/python-list
Re: Help with installation please
Windows has a default python 3. that is not installed but registered (which is as wierd as Microsoft). That is why you are redirected everytime to the store. You might want to check app execution aliases in the search bar an scroll down to find the two pythons and then uncheck one of them to avoid future confusions. On Sat, 16 May, 2020, 12:01 am Jhoana Kacheva Melissa Joseph, < kachev...@gmail.com> wrote: > Hello, > > I downloaded python 3.8 in my windows, I selected the box for the path but > when I try to run it in powershell it brought me to app store to get it > again. > > Please let me know > > Thanks > Melissa > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list
Re: Help with installation please
App execution aliases is not on store. Search it in the start menu. On Sat, 16 May, 2020, 6:27 am Jhoana Kacheva Melissa Joseph, < kachev...@gmail.com> wrote: > Thanks for the tip! But there is nothing to unchecked. > > I typed python on powershell, once redirected to the app store I type app > execution aliases in search bar, hit enter and I see this picture attached. > Am I missing something please ? > > > > On Fri, May 15, 2020, 7:59 PM Souvik Dutta > wrote: > >> Windows has a default python 3. that is not installed but >> registered (which is as wierd as Microsoft). That is why you are redirected >> everytime to the store. You might want to check app execution aliases in >> the search bar an scroll down to find the two pythons and then uncheck one >> of them to avoid future confusions. >> >> On Sat, 16 May, 2020, 12:01 am Jhoana Kacheva Melissa Joseph, < >> kachev...@gmail.com> wrote: >> >>> Hello, >>> >>> I downloaded python 3.8 in my windows, I selected the box for the path >>> but >>> when I try to run it in powershell it brought me to app store to get it >>> again. >>> >>> Please let me know >>> >>> Thanks >>> Melissa >>> -- >>> https://mail.python.org/mailman/listinfo/python-list >>> >> -- https://mail.python.org/mailman/listinfo/python-list
Re: Help with installation please
Have you added python into path? On Sat, 16 May, 2020, 8:15 am Jhoana Kacheva Melissa Joseph, < kachev...@gmail.com> wrote: > Thanks for the tip! Now that I turned it off. This is what it says. > > Please see attached > > > > On Fri, May 15, 2020, 9:10 PM Souvik Dutta > wrote: > >> App execution aliases is not on store. Search it in the start menu. >> >> On Sat, 16 May, 2020, 6:27 am Jhoana Kacheva Melissa Joseph, < >> kachev...@gmail.com> wrote: >> >>> Thanks for the tip! But there is nothing to unchecked. >>> >>> I typed python on powershell, once redirected to the app store I type >>> app execution aliases in search bar, hit enter and I see this picture >>> attached. Am I missing something please ? >>> >>> >>> >>> On Fri, May 15, 2020, 7:59 PM Souvik Dutta >>> wrote: >>> Windows has a default python 3. that is not installed but registered (which is as wierd as Microsoft). That is why you are redirected everytime to the store. You might want to check app execution aliases in the search bar an scroll down to find the two pythons and then uncheck one of them to avoid future confusions. On Sat, 16 May, 2020, 12:01 am Jhoana Kacheva Melissa Joseph, < kachev...@gmail.com> wrote: > Hello, > > I downloaded python 3.8 in my windows, I selected the box for the path > but > when I try to run it in powershell it brought me to app store to get it > again. > > Please let me know > > Thanks > Melissa > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list
Re: Help with installation please
Have you switched off both the pythons? If so then switch on one off them and try. If it still doesn't work then switch on the previous one and off the other and try again. On Sat, 16 May, 2020, 8:29 am Souvik Dutta, wrote: > Have you added python into path? > > On Sat, 16 May, 2020, 8:15 am Jhoana Kacheva Melissa Joseph, < > kachev...@gmail.com> wrote: > >> Thanks for the tip! Now that I turned it off. This is what it says. >> >> Please see attached >> >> >> >> On Fri, May 15, 2020, 9:10 PM Souvik Dutta >> wrote: >> >>> App execution aliases is not on store. Search it in the start menu. >>> >>> On Sat, 16 May, 2020, 6:27 am Jhoana Kacheva Melissa Joseph, < >>> kachev...@gmail.com> wrote: >>> Thanks for the tip! But there is nothing to unchecked. I typed python on powershell, once redirected to the app store I type app execution aliases in search bar, hit enter and I see this picture attached. Am I missing something please ? On Fri, May 15, 2020, 7:59 PM Souvik Dutta wrote: > Windows has a default python 3. that is not installed but > registered (which is as wierd as Microsoft). That is why you are > redirected > everytime to the store. You might want to check app execution aliases in > the search bar an scroll down to find the two pythons and then uncheck one > of them to avoid future confusions. > > On Sat, 16 May, 2020, 12:01 am Jhoana Kacheva Melissa Joseph, < > kachev...@gmail.com> wrote: > >> Hello, >> >> I downloaded python 3.8 in my windows, I selected the box for the >> path but >> when I try to run it in powershell it brought me to app store to get >> it >> again. >> >> Please let me know >> >> Thanks >> Melissa >> -- >> https://mail.python.org/mailman/listinfo/python-list >> > -- https://mail.python.org/mailman/listinfo/python-list
Fwd: Uninstall was succesful - but actually nothing happened
Hey, I noticed that the uninstaller says that the installation completed, but actually nothing really happened and all of my Python 3.6.8 installation was still completely installed on my machine and all files were located inside Python/Python36 folder still. See the picture attached. My computer is Windows 10, version 1909, build 10.0.18363. -- https://mail.python.org/mailman/listinfo/python-list
Re: Help with installation please
When I turn off the other one, it brought me to the store. Yes, I did the path On Fri, May 15, 2020, 11:01 PM Souvik Dutta wrote: > Have you switched off both the pythons? If so then switch on one off them > and try. If it still doesn't work then switch on the previous one and off > the other and try again. > > On Sat, 16 May, 2020, 8:29 am Souvik Dutta, > wrote: > >> Have you added python into path? >> >> On Sat, 16 May, 2020, 8:15 am Jhoana Kacheva Melissa Joseph, < >> kachev...@gmail.com> wrote: >> >>> Thanks for the tip! Now that I turned it off. This is what it says. >>> >>> Please see attached >>> >>> >>> >>> On Fri, May 15, 2020, 9:10 PM Souvik Dutta >>> wrote: >>> App execution aliases is not on store. Search it in the start menu. On Sat, 16 May, 2020, 6:27 am Jhoana Kacheva Melissa Joseph, < kachev...@gmail.com> wrote: > Thanks for the tip! But there is nothing to unchecked. > > I typed python on powershell, once redirected to the app store I type > app execution aliases in search bar, hit enter and I see this picture > attached. Am I missing something please ? > > > > On Fri, May 15, 2020, 7:59 PM Souvik Dutta > wrote: > >> Windows has a default python 3. that is not installed but >> registered (which is as wierd as Microsoft). That is why you are >> redirected >> everytime to the store. You might want to check app execution aliases in >> the search bar an scroll down to find the two pythons and then uncheck >> one >> of them to avoid future confusions. >> >> On Sat, 16 May, 2020, 12:01 am Jhoana Kacheva Melissa Joseph, < >> kachev...@gmail.com> wrote: >> >>> Hello, >>> >>> I downloaded python 3.8 in my windows, I selected the box for the >>> path but >>> when I try to run it in powershell it brought me to app store to get >>> it >>> again. >>> >>> Please let me know >>> >>> Thanks >>> Melissa >>> -- >>> https://mail.python.org/mailman/listinfo/python-list >>> >> -- https://mail.python.org/mailman/listinfo/python-list
Re: Help with installation please
Then you will have to use python3 forever in your life (atleast as long as you don't change your os... 🤣🤣). On Sat, 16 May, 2020, 8:42 am Jhoana Kacheva Melissa Joseph, < kachev...@gmail.com> wrote: > When I turn off the other one, it brought me to the store. > > Yes, I did the path > > On Fri, May 15, 2020, 11:01 PM Souvik Dutta > wrote: > >> Have you switched off both the pythons? If so then switch on one off them >> and try. If it still doesn't work then switch on the previous one and off >> the other and try again. >> >> On Sat, 16 May, 2020, 8:29 am Souvik Dutta, >> wrote: >> >>> Have you added python into path? >>> >>> On Sat, 16 May, 2020, 8:15 am Jhoana Kacheva Melissa Joseph, < >>> kachev...@gmail.com> wrote: >>> Thanks for the tip! Now that I turned it off. This is what it says. Please see attached On Fri, May 15, 2020, 9:10 PM Souvik Dutta wrote: > App execution aliases is not on store. Search it in the start menu. > > On Sat, 16 May, 2020, 6:27 am Jhoana Kacheva Melissa Joseph, < > kachev...@gmail.com> wrote: > >> Thanks for the tip! But there is nothing to unchecked. >> >> I typed python on powershell, once redirected to the app store I type >> app execution aliases in search bar, hit enter and I see this picture >> attached. Am I missing something please ? >> >> >> >> On Fri, May 15, 2020, 7:59 PM Souvik Dutta >> wrote: >> >>> Windows has a default python 3. that is not installed but >>> registered (which is as wierd as Microsoft). That is why you are >>> redirected >>> everytime to the store. You might want to check app execution aliases in >>> the search bar an scroll down to find the two pythons and then uncheck >>> one >>> of them to avoid future confusions. >>> >>> On Sat, 16 May, 2020, 12:01 am Jhoana Kacheva Melissa Joseph, < >>> kachev...@gmail.com> wrote: >>> Hello, I downloaded python 3.8 in my windows, I selected the box for the path but when I try to run it in powershell it brought me to app store to get it again. Please let me know Thanks Melissa -- https://mail.python.org/mailman/listinfo/python-list >>> -- https://mail.python.org/mailman/listinfo/python-list
Re: Help with installation please
🤣🤣 but I still get the error in powershell. What should I do Souvik? On Fri, May 15, 2020, 11:20 PM Souvik Dutta wrote: > Then you will have to use python3 forever in your life (atleast as long as > you don't change your os... 🤣🤣). > > On Sat, 16 May, 2020, 8:42 am Jhoana Kacheva Melissa Joseph, < > kachev...@gmail.com> wrote: > >> When I turn off the other one, it brought me to the store. >> >> Yes, I did the path >> >> On Fri, May 15, 2020, 11:01 PM Souvik Dutta >> wrote: >> >>> Have you switched off both the pythons? If so then switch on one off >>> them and try. If it still doesn't work then switch on the previous one and >>> off the other and try again. >>> >>> On Sat, 16 May, 2020, 8:29 am Souvik Dutta, >>> wrote: >>> Have you added python into path? On Sat, 16 May, 2020, 8:15 am Jhoana Kacheva Melissa Joseph, < kachev...@gmail.com> wrote: > Thanks for the tip! Now that I turned it off. This is what it says. > > Please see attached > > > > On Fri, May 15, 2020, 9:10 PM Souvik Dutta > wrote: > >> App execution aliases is not on store. Search it in the start menu. >> >> On Sat, 16 May, 2020, 6:27 am Jhoana Kacheva Melissa Joseph, < >> kachev...@gmail.com> wrote: >> >>> Thanks for the tip! But there is nothing to unchecked. >>> >>> I typed python on powershell, once redirected to the app store I >>> type app execution aliases in search bar, hit enter and I see this >>> picture >>> attached. Am I missing something please ? >>> >>> >>> >>> On Fri, May 15, 2020, 7:59 PM Souvik Dutta >>> wrote: >>> Windows has a default python 3. that is not installed but registered (which is as wierd as Microsoft). That is why you are redirected everytime to the store. You might want to check app execution aliases in the search bar an scroll down to find the two pythons and then uncheck one of them to avoid future confusions. On Sat, 16 May, 2020, 12:01 am Jhoana Kacheva Melissa Joseph, < kachev...@gmail.com> wrote: > Hello, > > I downloaded python 3.8 in my windows, I selected the box for the > path but > when I try to run it in powershell it brought me to app store to > get it > again. > > Please let me know > > Thanks > Melissa > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list
Re: Help with installation please
I dont know if you should shift from powershell to cmd. Python kinda does not work in powershell. Souvik flutter dev On Sat, May 16, 2020, 8:54 AM Jhoana Kacheva Melissa Joseph < kachev...@gmail.com> wrote: > 🤣🤣 but I still get the error in powershell. What should I do Souvik? > > On Fri, May 15, 2020, 11:20 PM Souvik Dutta > wrote: > >> Then you will have to use python3 forever in your life (atleast as long >> as you don't change your os... 🤣🤣). >> >> On Sat, 16 May, 2020, 8:42 am Jhoana Kacheva Melissa Joseph, < >> kachev...@gmail.com> wrote: >> >>> When I turn off the other one, it brought me to the store. >>> >>> Yes, I did the path >>> >>> On Fri, May 15, 2020, 11:01 PM Souvik Dutta >>> wrote: >>> Have you switched off both the pythons? If so then switch on one off them and try. If it still doesn't work then switch on the previous one and off the other and try again. On Sat, 16 May, 2020, 8:29 am Souvik Dutta, wrote: > Have you added python into path? > > On Sat, 16 May, 2020, 8:15 am Jhoana Kacheva Melissa Joseph, < > kachev...@gmail.com> wrote: > >> Thanks for the tip! Now that I turned it off. This is what it says. >> >> Please see attached >> >> >> >> On Fri, May 15, 2020, 9:10 PM Souvik Dutta >> wrote: >> >>> App execution aliases is not on store. Search it in the start menu. >>> >>> On Sat, 16 May, 2020, 6:27 am Jhoana Kacheva Melissa Joseph, < >>> kachev...@gmail.com> wrote: >>> Thanks for the tip! But there is nothing to unchecked. I typed python on powershell, once redirected to the app store I type app execution aliases in search bar, hit enter and I see this picture attached. Am I missing something please ? On Fri, May 15, 2020, 7:59 PM Souvik Dutta wrote: > Windows has a default python 3. that is not installed > but registered (which is as wierd as Microsoft). That is why you are > redirected everytime to the store. You might want to check app > execution > aliases in the search bar an scroll down to find the two pythons and > then > uncheck one of them to avoid future confusions. > > On Sat, 16 May, 2020, 12:01 am Jhoana Kacheva Melissa Joseph, < > kachev...@gmail.com> wrote: > >> Hello, >> >> I downloaded python 3.8 in my windows, I selected the box for the >> path but >> when I try to run it in powershell it brought me to app store to >> get it >> again. >> >> Please let me know >> >> Thanks >> Melissa >> -- >> https://mail.python.org/mailman/listinfo/python-list >> > -- https://mail.python.org/mailman/listinfo/python-list
Re: Help with installation please
Ok, thanks Souvik. Appreciate your help. On Fri, May 15, 2020, 11:47 PM Souvik Dutta wrote: > I dont know if you should shift from powershell to cmd. Python kinda does > not work in powershell. > > Souvik flutter dev > > On Sat, May 16, 2020, 8:54 AM Jhoana Kacheva Melissa Joseph < > kachev...@gmail.com> wrote: > >> 🤣🤣 but I still get the error in powershell. What should I do Souvik? >> >> On Fri, May 15, 2020, 11:20 PM Souvik Dutta >> wrote: >> >>> Then you will have to use python3 forever in your life (atleast as long >>> as you don't change your os... 🤣🤣). >>> >>> On Sat, 16 May, 2020, 8:42 am Jhoana Kacheva Melissa Joseph, < >>> kachev...@gmail.com> wrote: >>> When I turn off the other one, it brought me to the store. Yes, I did the path On Fri, May 15, 2020, 11:01 PM Souvik Dutta wrote: > Have you switched off both the pythons? If so then switch on one off > them and try. If it still doesn't work then switch on the previous one and > off the other and try again. > > On Sat, 16 May, 2020, 8:29 am Souvik Dutta, > wrote: > >> Have you added python into path? >> >> On Sat, 16 May, 2020, 8:15 am Jhoana Kacheva Melissa Joseph, < >> kachev...@gmail.com> wrote: >> >>> Thanks for the tip! Now that I turned it off. This is what it says. >>> >>> Please see attached >>> >>> >>> >>> On Fri, May 15, 2020, 9:10 PM Souvik Dutta >>> wrote: >>> App execution aliases is not on store. Search it in the start menu. On Sat, 16 May, 2020, 6:27 am Jhoana Kacheva Melissa Joseph, < kachev...@gmail.com> wrote: > Thanks for the tip! But there is nothing to unchecked. > > I typed python on powershell, once redirected to the app store I > type app execution aliases in search bar, hit enter and I see this > picture > attached. Am I missing something please ? > > > > On Fri, May 15, 2020, 7:59 PM Souvik Dutta < > souvik.vik...@gmail.com> wrote: > >> Windows has a default python 3. that is not installed >> but registered (which is as wierd as Microsoft). That is why you are >> redirected everytime to the store. You might want to check app >> execution >> aliases in the search bar an scroll down to find the two pythons and >> then >> uncheck one of them to avoid future confusions. >> >> On Sat, 16 May, 2020, 12:01 am Jhoana Kacheva Melissa Joseph, < >> kachev...@gmail.com> wrote: >> >>> Hello, >>> >>> I downloaded python 3.8 in my windows, I selected the box for >>> the path but >>> when I try to run it in powershell it brought me to app store to >>> get it >>> again. >>> >>> Please let me know >>> >>> Thanks >>> Melissa >>> -- >>> https://mail.python.org/mailman/listinfo/python-list >>> >> -- https://mail.python.org/mailman/listinfo/python-list
Re: Help with installation please
On 15/05/20 4:18 PM, Jhoana Kacheva Melissa Joseph wrote: Hello, I downloaded python 3.8 in my windows, I selected the box for the path but when I try to run it in powershell it brought me to app store to get it again. Please advise if the following reference is accurate, and works for you: https://docs.python.org/3/using/windows.html -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list