... | ... | @@ -38,4 +38,24 @@ I had some issues there because of the port 8888 already used, but it's the only |
|
|
|
|
|
`jupyter-lab --port=8888 --no-browser --ip=0.0.0.0`
|
|
|
|
|
|
Copy the last link suggested, and you should be good to go. |
|
|
\ No newline at end of file |
|
|
Copy the last link suggested, and you should be good to go.
|
|
|
|
|
|
Installing packages
|
|
|
---
|
|
|
- To import any package with the command `import`, one must install the package before. The way it worked for me is the following (for every python usual packages):
|
|
|
|
|
|
`import sys`
|
|
|
|
|
|
`!{sys.executable} -m pip install #anything`
|
|
|
|
|
|
- Though, installing Corsika lead to some issues which could be corrected using the following command:
|
|
|
|
|
|
`!{sys.executable} -m pip install --user --upgrade pyarrow==0.17.0 numpy pyyaml boost_histogram pandas -e /cr/data03/bertrand/corsika/python`
|
|
|
|
|
|
Of course, one needs to use the appropriate directory where Corsika is installed for you. If this is not working, one could try to change the version of pyarrow. It could be that your python version and the pyarrow one are not compatible.
|
|
|
|
|
|
For the record, the version of python I use is the 3.6.9, if you want to know yours, just type this in your command box:
|
|
|
|
|
|
`from platform import python_version`
|
|
|
|
|
|
`print(python_version())` |
|
|
\ No newline at end of file |