Deutsch English Français Italiano |
<mailman.6.1722730143.2890.python-list@python.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.nobody.at!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: dn <PythonList@DancesWithMice.info> Newsgroups: comp.lang.python Subject: Re: Help needed - - running into issues with python and its tools Date: Sun, 4 Aug 2024 12:08:54 +1200 Organization: DWM Lines: 96 Message-ID: <mailman.6.1722730143.2890.python-list@python.org> References: <CAPpdf5-D7kwCK=-kT9E7nZSxk_XqJtenMn08AngXEZjpairCSw@mail.gmail.com> <6c8e722a-ff27-4979-b299-a25fdcac0036@DancesWithMice.info> <CAPpdf58wNrm1n+M6uCH4CDazx-rTTnUjgt62vYaFGUw9QZL2Ng@mail.gmail.com> <9e360cba-5774-4676-a025-810e655f0918@DancesWithMice.info> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de HFIc1xIPAyzaPQSCtx6pngfPngvmNHS3q1AUWSEi0YTQ== Cancel-Lock: sha1:pk9WDvt3AjtgpQcZHn4NDBFBxwc= sha256:KLoCXrFcFzEElG3vxqgrhvh5+eogHQsTsPbkGU8DJ8s= Return-Path: <PythonList@DancesWithMice.info> X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org Authentication-Results: mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=danceswithmice.info header.i=@danceswithmice.info header.b=ksVNjNgv; dkim-adsp=pass; dkim-atps=neutral X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '(which': 0.04; 'subject:python': 0.06; 'aug': 0.07; 'please?': 0.07; 'subject:into': 0.07; 'wanting': 0.07; '=dn': 0.09; 'from:addr:danceswithmice.info': 0.09; 'from:addr:pythonlist': 0.09; 'itself,': 0.09; 'raspberry': 0.09; 'solution,': 0.09; 'subject:needed': 0.09; '"what': 0.16; '(being': 0.16; '2024': 0.16; 'c++': 0.16; 'interesting,': 0.16; 'machine.': 0.16; 'message-id:@DancesWithMice.info': 0.16; 'micropython': 0.16; 'o1bigtenor': 0.16; 'personally,': 0.16; 'received:51.254': 0.16; 'received:51.254.211': 0.16; 'received:51.254.211.219': 0.16; 'received:cloud': 0.16; 'received:rangi.cloud': 0.16; 'resources,': 0.16; 'subject:running': 0.16; 'usability': 0.16; 'usable': 0.16; 'versed': 0.16; 'wrote:': 0.16; 'python': 0.16; 'subject:Help': 0.17; 'uses': 0.19; 'installing': 0.19; 'subject:issues': 0.19; 'to:addr:python-list': 0.20; 'creates': 0.22; 'sat,': 0.22; 'install': 0.23; 'run': 0.23; '(and': 0.25; 'discussion': 0.25; 'seems': 0.26; 'tried': 0.26; 'attack': 0.26; 'bit': 0.27; '>>>': 0.28; 'fact': 0.28; 'ideas': 0.28; 'suggestions': 0.28; 'computer': 0.29; 'header:User-Agent:1': 0.30; 'header:Organization:1': 0.31; 'url-ip:188/8': 0.31; 'program': 0.31; 'question': 0.32; 'downloads': 0.32; 'python- list': 0.32; 'received:192.168.1': 0.32; 'but': 0.32; "i'm": 0.33; 'there': 0.33; 'able': 0.34; 'mean': 0.34; 'skip:" 20': 0.34; 'header:In-Reply-To:1': 0.34; 'question.': 0.35; 'runs': 0.35; 'possibly': 0.36; 'using': 0.37; 'hard': 0.37; 'received:192.168': 0.37; 'could': 0.38; 'least': 0.39; 'necessary': 0.39; 'enough': 0.39; 'list': 0.39; 'use': 0.39; 'finding': 0.39; '(see': 0.40; 'learn': 0.40; 'want': 0.40; 'sorry': 0.60; 'come': 0.62; 'skip:o 20': 0.63; 'hours': 0.63; 'personal': 0.64; 'clear': 0.64; 'received:51': 0.64; 'requirement': 0.64; 'your': 0.64; 'top': 0.65; 'look': 0.65; 'well': 0.65; 'less': 0.65; 'day': 0.66; 'shows': 0.67; 'back': 0.67; 'accept': 0.67; 'technical': 0.67; 'decision': 0.68; 'relate': 0.69; 'transfer': 0.69; 'url-ip:lookup error': 0.70; 'plus': 0.73; 'easy': 0.74; 'tools': 0.74; 'reasons': 0.84; "'how": 0.84; '(along': 0.84; 'absolutely': 0.84; 'eat': 0.84; 'differently': 0.91; 'objectives': 0.91 DKIM-Filter: OpenDKIM Filter v2.11.0 vps.rangi.cloud 7D8DD505B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info; s=staff; t=1722730140; bh=ENJpXzLgIR/GNs98dpQNOlBFi5jnk4S/j/DAvGc/mlQ=; h=Date:From:Subject:To:References:In-Reply-To:From; b=ksVNjNgvy/TiglI5hKBbs2hdjQk/oqCwkQI1+w1lh4J5MN+3F9yqEpnizMA3+SKEs ejEQBDa0VzVver2yPGmX7t+QgKg0M0YgJtN5L6qrTIOuI2xk+qjB9ICxDtsAWo3FMF PUBLZLZrOOplJNQodENLgJcIsSQlaL8+F+p6T2iMi126jXNa2OHSyhn7AGlROPG9PT TSb0g8NnPRZJroIGfXbgKBi3MCYZSgnBNzvoCiaDD6w+gsRMjf0fHMePGuaSn4ww0E le2YTAVtBwV3NpeefElo+nf0OJe5kQTTJryIsRAxeX1NYOVLNUBW6dJtHYWAHM78SR vi5/kApFQFNnw== User-Agent: Mozilla Thunderbird Content-Language: en-US In-Reply-To: <CAPpdf58wNrm1n+M6uCH4CDazx-rTTnUjgt62vYaFGUw9QZL2Ng@mail.gmail.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: General discussion list for the Python programming language <python-list.python.org> List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> List-Archive: <https://mail.python.org/pipermail/python-list/> List-Post: <mailto:python-list@python.org> List-Help: <mailto:python-list-request@python.org?subject=help> List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> X-Mailman-Original-Message-ID: <9e360cba-5774-4676-a025-810e655f0918@DancesWithMice.info> X-Mailman-Original-References: <CAPpdf5-D7kwCK=-kT9E7nZSxk_XqJtenMn08AngXEZjpairCSw@mail.gmail.com> <6c8e722a-ff27-4979-b299-a25fdcac0036@DancesWithMice.info> <CAPpdf58wNrm1n+M6uCH4CDazx-rTTnUjgt62vYaFGUw9QZL2Ng@mail.gmail.com> Bytes: 8941 On 4/08/24 09:34, o1bigtenor via Python-list wrote: > On Sat, Aug 3, 2024 at 4:06 PM dn via Python-list <python-list@python.org> > wrote: > >> On 4/08/24 08:17, o1bigtenor via Python-list wrote: >>> Greetings >>> >>> Looking at ESP8266 and wanting to program it using micropython (really >>> don't want to have to learn C++ (not enough hours in the day as it >> is!!)). >>> >>> One of the tools I need to be able to use is esptools - - well in the >>> devuan world you need to run that on either Devaun 3 or 5 - - - its just >>> not available on devuan 4. >>> >>> Tried installing all the tools I need using downloads and .deb installs >> but >>> then I need to have python3.12 and that's also not part of Devuan4. >>> >>> Not versed enough to set up a good venv (if that's possible) so that I >>> could work in that specific venv and have my cake (and get to eat it too >>> (grin!). >>> >>> Suggestions - - - ideas - - - please? >> >> Sorry if this offends, but this is a list of short-cuts and reasons why >> they don't work (immediately). >> >> >> Have just come from a discussion about 'how to start a project'. Amongst >> the questions to ask are: "what resources do we have (or can add) to >> achieve?". >> > > Fair question details interleaved - - - > >> >> In this case, if Python-skill is a "personnel-resource" (and C++ a >> "constraint"), will question the ESP over Raspberry Pi (say)? >> > > Well - - - RPi world technical specs is usable from -20 to 60 C (iirc on > the top number) > and for my project I absolutely need to have usability to at least -40 - - > could possibly do a bit less but -35 C is a hard requirement so the RPi > and Pico (which I would like to use) is out but ESP8266 runs in that -40 to > 65 C > range. Interesting, but creates a mis-match of tools - battles for you to fight... >> Why talking of Python 3.12 when the solution involves MicroPython? >> > > Because one uses psytool on one computer to transfer a program to the > MicroPython system. In fact there are a set of tools that need Python3.12 > to be able to do this and therefore the question. > >> >> >> Perhaps need to take a step back and look at 'options' - relate needs to >> resources, and evaluate the impact of each decision on later ones - as >> well as against your personal skills (modify objectives to limits, or >> accept that some learning/training will be necessary as pre-requisite to >> (being able to) attack the project). >> >> I have been investigating using a venv but am not finding clear directions > so > that I could set up Python3.12 inside (along with the other needed tools). > The > more I'm looking the less useful most of the information I'm finding is > becoming. > Therefore I thought I would go to the python gurus for information - - - > which I > have. > > So please - - - how do I set up a venv so that I can install and run python > 3.12 > (and other needed programs related to 3.12) inside? If you mean venv itself, which "directions" have you reviewed? This one (https://python.land/virtual-environments/virtualenv) seems very straight-forward and shows "What's inside a venv?" to include python.exe. Given that venv is more-or-less the official/traditional solution, what are you doing differently - perhaps the question is lacking detail. (see also @Cameron's take) Personally, I'm using Poetry (https://python-poetry.org) which seemed just as easy to pick-up; plus pyenv to maintain multiple versions of Python on one machine. -- Regards, =dn