# Update pandas version in swan notebook

**URL:** <https://swan-community.web.cern.ch/t/update-pandas-version-in-swan-notebook/209>\
**Category:** Jupyter Notebooks\
**Created:** [March 17, 2020, 5:12pm UTC](https://swan-community.web.cern.ch/t/update-pandas-version-in-swan-notebook/209 "2020-03-17T17:12:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ebocchi](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/e/35a633/32.png) [@ebocchi](https://swan-community.web.cern.ch/u/ebocchi)\
**Post date:** [March 18, 2020, 4:56pm UTC](https://swan-community.web.cern.ch/t/update-pandas-version-in-swan-notebook/209/4 "2020-03-18T16:56:11Z")

</div>

Dear Zhen,

It might be that your home directory on lxplus is still on AFS.

SWAN, however, uses EOS/CERNBox only, hence the path you should add to the PYTHONPATH is `/eos/user/z/zyan/.local/lib/python3.6/site-packages`.

You should set this path in a bash script that is loaded when starting your sessions.  
For instance,

- create the file `/eos/user/z/zyan/swan_config.sh` with content `export PYTHONPATH=/eos/user/z/zyan/.local/lib/python3.6/site-packages:$PYTHONPATH`
- use this file (`/eos/user/z/zyan/swan_config.sh`) in the field “Environment script” when you are asked to configure your environment at [swan.cern.ch](https://swan.cern.ch/)

Regards,  
Enrico

---

_[View the full topic](https://swan-community.web.cern.ch/t/update-pandas-version-in-swan-notebook/209)._
