Git Product home page Git Product logo

Comments (5)

aparnajyothi-y avatar aparnajyothi-y commented on September 28, 2024

Hello @avy-dunamu, Thank you for creating this issue and we will look into it :)

from setup-python.

priyagupta108 avatar priyagupta108 commented on September 28, 2024

Hello @avy-dunamu👋,
From the error message, it seems like the 'six' Python module is not being found during the test run.
There could be a couple of reasons for this:

  1. The 'six' module is not installed in your Python environment.
  2. The Python environment where your tests are running might not be the same as the environment where 'six' is installed.

Here are a few things you can try:

  • Ensure that the 'six' module is installed in your Python environment. You can do so by adding a step in your workflow file to install 'six' before running the tests, using pip:
- name: Install dependencies
  run: pip install six
  • If 'six' is already installed, ensure that your tests are running in the correct Python environment where 'six' is installed.
  • if 'six' is not required for your project, check if any of your dependencies are outdated and need to be
    updated, as they might be trying to import 'six' unnecessarily.



Please review these aspects on your self-hosted runner. If the issue persists, could you please provide a link to a minimal repository that reproduces the problem? A specific example would greatly assist us in investigating this issue more effectively.
Looking forward to your response :)

from setup-python.

avy-dunamu avatar avy-dunamu commented on September 28, 2024
스크린샷 2024-06-20 오전 11 29 32

@priyagupta108, thank you for your kind reply!
I already tried installing 'six' before running the test, but the error occurred again.
The issue seems to be with the 'ddtrace' library, which I need to use.

스크린샷 2024-06-20 오후 1 03 09

Interestingly, the same workflow succeeded in a Python 3.11 environment
It also worked in a previous 3.10 environment, so I believe something might be broken in the 3.10.14-9004012336 version of Python.

from setup-python.

priyagupta108 avatar priyagupta108 commented on September 28, 2024

@avy-dunamu👋, Thank you for your response. I've tried to reproduce the issue but was unsuccessful. Everything appears to be functioning as expected with the new Python 3.10.14 package.
As you've mentioned that the issue seems to be with the ddtrace library, it's possible that the problem lies within the ddtrace package. It appears to be trying to import 'six', which might be causing the problem. I would suggest trying to install/upgrade the ddtrace package, as this could potentially resolve the problem.

I hope this helps! If you continue to encounter issue, could you kindly share a link to a minimal repository that replicates the problem?

from setup-python.

priyagupta108 avatar priyagupta108 commented on September 28, 2024

Hello, @avy-dunamu! I'm just giving you a little ping to see if there are any updates on your end. Has the issue been fixed? Your response is greatly appreciated. Thank you in advance :)

from setup-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.