How to Start IPython with Any Version?

Estimated read time 1 min read

To start IPython with any version, you can use the following command:

ipythonX.Y

where X.Y is the version of IPython you want to use.

For example, to start IPython version 7.26.0, you would use the following command:

ipython7.26

If you have multiple versions of IPython installed, you can use the which command to find the location of each version, and then use the full path to start IPython with the desired version.

For example, on a Unix-based system, you can use the following command to find the location of all IPython executables:

which -a ipython*

This will return a list of all IPython executables, along with their paths. You can then use the full path to start IPython with the desired version.

For example, if the output of the which command includes the following line:

/usr/local/bin/ipython3.8

you can use the following command to start IPython version 3.8:

/usr/local/bin/ipython3.8

On a Windows-based system, you can use the where command to find the location of IPython executables:

where ipython*

This will return a list of all IPython executables, along with their paths. You can then use the full path to start IPython with the desired version.

You May Also Like

More From Author

+ There are no comments

Add yours

Leave a Reply