# Can't start Slicer on Linux on one machine

**URL:** <https://discourse.slicer.org/t/cant-start-slicer-on-linux-on-one-machine/8175>\
**Category:** Support\
**Created:** [August 26, 2019, 7:12am UTC](https://discourse.slicer.org/t/cant-start-slicer-on-linux-on-one-machine/8175 "2019-08-26T07:12:06Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [September 1, 2019, 8:01pm UTC](https://discourse.slicer.org/t/cant-start-slicer-on-linux-on-one-machine/8175/21 "2019-09-01T20:01:01Z")

</div>

This information is very helpful. Have you tried to google for possible solutions?

For example, this one is interesting:

> <https://stackoverflow.com/questions/49921336/sysconfigdata-error-when-trying-to-freeze-a-python-3-6-5-application>

The problem is that user site packages are attempted to loaded (`...user_site = getusersitepackages()...`). They shouldn’t be loaded (see [here](https://github.com/Slicer/Slicer/blob/cbf742277b5b96cb81f66088d2ab2242b15f4a13/Base/QTCore/qSlicerCorePythonManager.cxx#L48-L56)).

Does any of the followings work?

1. `./PythonSlicer`
2. `./PythonSlicer -s`
3. `./PythonSlicer -S`

Does settings `PYTHONNOUSERSITE=1` environment variable make any difference?

Can you investigate why user site packages loading is not prevented (by reviewing content and adding print statements to the .py files listed in the call stack)?

---

_[View the full topic](https://discourse.slicer.org/t/cant-start-slicer-on-linux-on-one-machine/8175)._
