Python Forum
Instigating python script from via
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Instigating python script from via
#4
(Sep-02-2022, 08:46 PM)reddwarfcrew Wrote: I've found out that in cmd prompt I need to 'activate base' first, then the cmd prompt is prefixed with (base), then the script runs.
Then you use Anaconda or Miniconda.
(Sep-02-2022, 08:46 PM)reddwarfcrew Wrote: Checking my python version in cmd prompt it states:

Quote:WARNING: This python interpreter is in a condo environment, but the environment has not been activated
Explains why I need the 'activate base' in the cmd window. So how do I keep the environment activated so I dont need this?
Yes you most always activate environment when in cmd or use Anaconda Prompt which activate base environment automatic.
There also a Navigator,i never use it always command line and not crappy cmd🔨 but cmder.

You should try to learn about Anaconda as that what you use.
It's come with both conda and pip for installing stuff.

Can also make new environments example in my post here,
then it's like new Python version with pandas matplotlib requests spyder and,
Python version of choice eg now can use python=3.10.5 this has no connection with base or other Python that's installed.
Reply


Messages In This Thread
RE: Instigating python script from via - by snippsat - Sep-02-2022, 10:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a *.bat DOS batch script to *.py Python Script converter? pstein 3 3,699 Jun-29-2023, 11:57 AM
Last Post: gologica
  How to kill a bash script running as root from a python script? jc_lafleur 4 6,144 Jun-26-2020, 10:50 PM
Last Post: jc_lafleur
  crontab on RHEL7 not calling python script wrapped in shell script benthomson 1 2,412 May-28-2020, 05:27 PM
Last Post: micseydel
  Package python script which has different libraries as a single executable or script tej7gandhi 1 2,715 May-11-2019, 08:12 PM
Last Post: keames
  How to run python script which has dependent python script in another folder? PrateekG 1 3,240 May-23-2018, 04:50 PM
Last Post: snippsat
  How to call one python script and use its output in another python script lravikumarvsp 3 32,607 May-16-2018, 02:08 AM
Last Post: lravikumarvsp
  Check Python version from inside script? Run Pythons script in v2 compatibility mode? pstein 2 9,939 Jul-07-2017, 08:59 AM
Last Post: snippsat
  Cant pass corect variables to python script in bash script neradp 3 6,321 Nov-05-2016, 01:26 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020