# WARN\_MISC\_CODE\_ENV\_USE\_PYSPARK: pyspark installed in a code environment[¶](https://doc.dataiku.com/dss/latest/troubleshooting/errors/WARN_MISC_CODE_ENV_USE_PYSPARK.html#warn-misc-code-env-use-pyspark-pyspark-installed-in-a-code-environment "Permalink to this headline")

The package pyspark has been manually installed in a code environment. It is not recommended to install pyspark manually.

## Remediation[¶](https://doc.dataiku.com/dss/latest/troubleshooting/errors/WARN_MISC_CODE_ENV_USE_PYSPARK.html#remediation "Permalink to this headline")

Remove pyspark from the list of required packages of the code env.

Note

Please refer to the documentation to find out how to install and interact with Spark in the recommended way. Running the Spark integration in DSS automatically adds pyspark to code envs.
