Install venv with this command:
pip install virtual env
Create a directory and type the following commandin terminal:
python -m venv virtual <-- "The last word in command is the name of the venv, you can call it whatever you want."
Activate virtual environment:
source virtual/bin/activate
# to activate the virtual environment, type:
.venvScriptsactivate
# into the terminal. # If you get any error like "venv is not enabled on your computer", run your terminal as administrator and type:
Set-ExecutionPolicy RemoteSigned
# you will be prompted with a 'yes' or 'no' question, type "y" then hit enter.# then try to activate the virtual environment, it will work
#open directory with terminal where you crated vertual environment#python3 -m venv data_analysis_env#example your venv name <visualscrapy>
teamspirit:~$ cd visualscrapy
#teamspirit:~/visualscrapy$ <-- output#Now type bellow commandsource ./bin/activate
#(visualscrapy) teamspirit:~/visualscrapy$ <-- output
#conda activate your_environment_name, e.g. let's assume our environment name is Tensorflow
conda activate Tensorflow
#And to deactivate, just replace activate with deactivate: e.g.
conda deactivate Tensorflow
(tutorial-env) $ pip search astronomy
skyfield - Elegant astronomy for Python
gary - Galactic astronomy and gravitational dynamics.
novas - The United States Naval Observatory NOVAS astronomy library
astroobs - Provides astronomy ephemeris to plan telescope observations
PyAstronomy - A collection of astronomy related tools for Python.
...