/home/gp/.local/lib/python3.6/site-packages/setuptools/command/easy_install.py:159: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
/home/gp/.local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
/home/gp/.local/lib/python3.6/site-packages/pkg_resources/__init__.py:119: PkgResourcesDeprecationWarning: 0.18ubuntu0.18.04.1 is an invalid version and will not be supported in a future release
  • $\begingroup$ I updated the setuptools and pip, i use python 3.6 as default and i still have the warning $\endgroup$
    – Wraith
    Commented Feb 7 at 7:56
  • $\begingroup$ Just a note that crystal has been out of support since December 2019. You may find that things don't work anymore. $\endgroup$
    – mjcarroll
    Commented Feb 8 at 14:25

1 Answer 1


You can suppress python warnings by setting the PYTHONWARNINGS environment variable. Note that this is a warning and not an error, so your packages should still compile.

In case you want to suppress the warning, you can take a look at this previously asked question on Robotics Stack Exchange. Although the post I mentioned targets Humble, it should work for Crystal as well.

Also, I will encourage you to take a tour of the Help Center. Formatting your error logs as code blocks make it easier for someone else to do a text-search on the log. This might come in handy later on when you will post longer error logs/compilation messages. :)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.