Tag Archives: ipynb

Anaconda makes. Ipynb file into. EXE file

Explain the function of static keyword and final keyword in Java in detail>>>

1. Open Anaconda prompt

# 2. Install pyinstaler (either in the default directory or in other directories)
enter the command:

pip install pyinstaller

note: if the

distributed 1.21.8 requires msgpack, which is not installed.

Msgpack needs to be installed:
the solution command is as follows:

pip install msgpack

If:

You are using pip version 10.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

the solution command is as follows:

python -m pip install --upgrade pip

# 3. Open the file ^. Ipynb in jupyter notebook

Download as. Py file and save the file in the directory (default directory or the directory selected above)

4. In the promt window, enter the command: * *

pyinstaller -F ***.py

###############################35

NameError: name ‘true’ is not defined when opening ipynb file in jupyter notebook

Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>

Error in opening ipynb file in jupyter Notebook:

File "e:\python36\lib\site-packages\traitlets\config\loader.py", line 457, in load_config
    self._read_file_as_dict()
  File "e:\python36\lib\site-packages\traitlets\config\loader.py", line 489, in _read_file_as_dict
    py3compat.execfile(conf_filename, namespace)
  File "e:\python36\lib\site-packages\ipython_genutils\py3compat.py", line 198, in execfile
    exec(compiler(f.read(), fname, 'exec'), glob, loc)
  File "C:\Users\xiaoqiu\.ipython\profile_default\ipython_config.py", line 513, in <module>
    c.Completer.greedy = true
NameError: name 'true' is not defined

resolution:

After executing the IPython profile create command (to activate the automatic completion function), C:: (users/Xiaoqiu). IPython profile_ Default generates two files

IPython needs to be modified_ The config. Py file is modified with the following three parameters