Skip to content

Commit cff8efe

Browse files
authoredJan 28, 2022
Merge pull request #188 from rsokl/remove-jedi-warning
Remove jedi warning
2 parents 96add6a + a9bc21b commit cff8efe

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed
 

‎Python/Module1_GettingStartedWithPython/Informal_Intro_Python.md

-32
Original file line numberDiff line numberDiff line change
@@ -20,38 +20,6 @@ jupyter:
2020

2121
# An Informal Introduction to Python
2222

23-
<div class="alert alert-warning">
24-
25-
**Before You Start This Section**:
26-
27-
In the following section we will be using IPython or a Jupyter notebook to run our code.
28-
Presently, there is an incompatibility with these programs and a Python package called `jedi`, which typically is responsible for performing auto-completions in our code (when prompted by hitting `<TAB>`, which we will be doing below).
29-
It is really useful!
30-
31-
First, let's check to see if we have an incompatible version of `jedi` installed.
32-
In your terminal (before starting a Python/IPython/Jupyter session), run
33-
34-
```
35-
conda list
36-
```
37-
38-
And look for the line that starts with `jedi`
39-
40-
```
41-
jedi 0.18.0
42-
```
43-
44-
If you see that you have version `0.18.0` installed (as above), then you will want to downgrade it.
45-
In the same terminal, run the following command
46-
47-
```
48-
conda install jedi=0.17.2
49-
```
50-
You should be all set once you have followed the prompts and the installation has completed!
51-
52-
Note that you will need to repeat this process if you [create a new conda environment](https://www.pythonlikeyoumeanit.com/Module1_GettingStartedWithPython/Installing_Python.html#A-Brief-Introduction-to-Conda-Environments) with IPython/Jupter installed in it.
53-
</div>
54-
5523
Now that you have the Anaconda distribution of Python installed on your machine, let's write some simple Python code! We are going to forego writing a full Python script for now, and instead make use of a convenient tool for doing quick code scratchwork. The IPython console was installed as a part of Anaconda; it will allow us to build incrementally off of snippets of code, instead of having to execute an entire script all at once.
5624

5725
Let's open an IPython console. Open your terminal if you are a Mac/Linux user, or start `cmd.exe` if you are a Windows user. Now type `ipython` into the console and hit `<Enter>`. You should see the following display on your screen:

0 commit comments

Comments
 (0)
Failed to load comments.