-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named "setuptools" #720
Comments
The following changes in pyproject.toml solved the issue
|
Thanks! Would you mind to create a PR to fix it? |
sure |
Hi @suhascv @Nolski, thanks for your interest in GrimoireLab. Sorry for popping in late. I think we have faced this issue earlier and we found a workaround for it. We are using the same workaround in the CI workflow too. It is always advised to use a virtual environment, in case if you aren't using one.
Installing perceval from source code
@suhascv, can you try this and let us know if this solves the issue? If we still want to proceed with adding setuptools to the requirements and poetry configuration, we need to make sure it doesn't affect any other tools, and also maybe we need to update the github actions workflows too. I can help with testing that. |
@vchrombie thanks for your response, I followed the above procedure using virtual environment, I still got the same error. It seems like this is the issue here. |
Hi @suhascv
Strange, I have tested the steps just now and it works really fine for me.
Do you mind sharing any error log you have? Just a small trivia, you can try Also, are you interested to try the developer installation of grimoirelab? I understand you are working with only perceval right now, but this can very much helpful. I can help you with the setup if needed. |
@suhascv do you have doubts or update about the installation? |
@suhascv can we close this issue for now? We, right now, need to downgrade the version of the setuptools as a workaround but I am hoping this error would be resolved in the coming version of setuptools. If it didn't, I will try to implement the changes which you have proposed. But, I need to evaluate if this is needed for all the grimoirelab tools. |
@vchrombie you can close this issue. |
I've been facing the same problems @suhascv had. I think we should add it to avoid the problem while the issue with setuptools is fixed. |
Hello, I followed suhascv's tip and put
I created a new virtualenv and tried again, but same error. Any fix for this error? |
Hi @rohanreddych, thanks for your interest in GrimoireLab.
Okay, I haven't really tried that solution but it should solve the problem.
I will check this soon and provide the required PR. You can also try the steps given in this chaoss/grimoirelab-perceval#720 (comment). This is a workaround which we are currently using now. Let us know if you need any help. |
@rohanreddych I think you need to update I forked both these repos and updated |
This commit adds the setuptools version to the poetry setup configurations. This is needed to fix the 'No module named "setuptools"' bug. chaoss/grimoirelab-perceval#720
This commit adds the setuptools version to the poetry setup configurations. This is needed to fix the 'No module named "setuptools"' bug. chaoss/grimoirelab-perceval#720
This commit adds the setuptools version to the poetry setup configurations. This is needed to fix the 'No module named "setuptools"' bug. chaoss/grimoirelab-perceval#720 Signed-off-by: Venu Vardhan Reddy Tekula <venu@bitergia.com>
This commit adds the setuptools version to the poetry setup configurations. This is needed to fix the 'No module named setuptools' bug. chaoss#720 Signed-off-by: Venu Vardhan Reddy Tekula <venu@bitergia.com>
This commit adds the setuptools version to the poetry setup configurations. This is needed to fix the 'No module named "setuptools"' bug. chaoss#720 Signed-off-by: Venu Vardhan Reddy Tekula <venu@bitergia.com>
This commit adds the setuptools version to the poetry setup configurations. This is needed to fix the 'No module named "setuptools"' bug. chaoss#720 Signed-off-by: Venu Vardhan Reddy Tekula <venu@bitergia.com>
This commit adds the setuptools version to the poetry setup configurations. This is needed to fix the 'No module named "setuptools"' bug. chaoss#720 Signed-off-by: Venu Vardhan Reddy Tekula <venu@bitergia.com> Signed-off-by: lfpratik <pratikkaranje03@gmail.com>
This commit adds the setuptools version to the poetry setup configurations. This is needed to fix the 'No module named "setuptools"' bug. chaoss#720 Signed-off-by: Venu Vardhan Reddy Tekula <venu@bitergia.com>
Error while installing requirements from toolkit
pip3 install -r requirements.txt
I get the same error even after
@Nolski
The text was updated successfully, but these errors were encountered: