how are folks building connectors locally, i run i...
# help-connector-development
r
how are folks building connectors locally, i run into python issues on m1.
Copy code
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':airbyte-integrations:bases:base-normalization:checkPython'.
> Python not found: .venv/bin/python. This must be a bug of virtualenv support, please report it (<https://github.com/xvik/gradle-use-python-plugin/issues>). You can disable virtualenv usage with 'python.scope = USER'.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':airbyte-commons:compileJava'.
> error: invalid source release: 17

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
==============================================================================
k
A message from kapa.ai
If you have an M1 or other problems, you can refer to the [Developing Locally | Airbyte Documentation](https://docs.airbyte.com/contributing-to-airbyte/developing-locally/#build-with-gradle) for guidance on building connectors locally. For the Python issue, make sure you have the correct Python version installed. Airbyte requires Python
3.9.11
. You can find more information on setting up your development environment in the [Developing Locally](https://docs.airbyte.com/contributing-to-airbyte/developing-locally) documentation. For the Java issue, it seems like you have an invalid source release. Make sure you have the correct Java version installed. You can find more information on setting up your development environment in the [Developing Locally](https://docs.airbyte.com/contributing-to-airbyte/developing-locally) documentation as well.
m
What task are you running?
r
Copy code
./gradlew :airbyte-integrations:connectors:destination-clickhouse:build
m
Are you using Java 17 and the correct Python version as described in the project tech stack?
r
can. you point me to that doc?
m
r
Copy code
> Task :airbyte-integrations:bases:base-normalization:checkPython FAILED

> Task :airbyte-api:generateApiDocs
################################################################################
# Thanks for using OpenAPI Generator.                                          #
# Please consider donation to help us maintain this project šŸ™                 #
# <https://opencollective.com/openapi_generator/donate>                          #
################################################################################
Successfully generated code to /Users/ramkumar/workspace/airbyte/airbyte-api/build/generated/api/docs

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':airbyte-integrations:bases:base-normalization:checkPython'.
> Python not found: .venv/bin/python. This must be a bug of virtualenv support, please report it (<https://github.com/xvik/gradle-use-python-plugin/issues>). You can disable virtualenv usage with 'python.scope = USER'.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.

* Get more help at <https://help.gradle.org>

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See <https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings>

BUILD FAILED in 19s
21 actionable tasks: 2 executed, 19 up-to-date
S3 cache 540ms wasted on misses, reads: 1, elapsed: 540ms
āžœ  airbyte git:(master) āœ— python --version
Python 3.11.2
@Marcos Marx (Airbyte) same error
have both java and python version upgraded