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
Issue with Building ActivityWatch: ModuleNotFoundError: No module named 'aw_server' #1041
Comments
Hi there! |
Facing the same issue on linux. Any update on this issue? |
The error most frequently occurs if you have not activated a Python virtual environment before starting the build. |
I have activated the Python virtual environment |
Then you need to figure out why it can't find |
basically the following command does not have any output which indicates it is not installed.
I'll try to figure out what is the main reason then update this thread. |
@ErikBjare which is in I could fix the issue by changing line 49 from the following: to
|
@MohammadAliAfsahi Which Nodejs version are you running? I don't think that occurs for Node 18+ (at least not for Node 20 in CI). |
Yep. The main reason is Node version which is 16 in my case. |
Should update the docs to mention needing Node v20+, since that's what we
use in CI.
…On Fri, May 10, 2024, 19:20 MohammadAliAfsahi ***@***.***> wrote:
@MohammadAliAfsahi <https://github.com/MohammadAliAfsahi> Which Nodejs
version are you running? I don't think that occurs for Node 18+ (at least
not for Node 20 in CI).
Yep. The main reason is Node version which is 16 in my case.
—
Reply to this email directly, view it on GitHub
<#1041 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKXDOXMWOYVZBLSZMAQMDDZBT6WDAVCNFSM6AAAAABFYUSFC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBUHE4DONZQGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I fixed the issue where the aw-server build failed silently, causing the later error: 0520dd0 Will also update the docs. |
Discussed in https://github.com/orgs/ActivityWatch/discussions/1039
Originally posted by kcs-santoshahire April 4, 2024
I encountered an issue while trying to build ActivityWatch following the steps outlined in the documentation (https://docs.activitywatch.net/). After cloning the project repository and attempting to build it using the make build command, I received the following error:
python -c "import aw_server; print(aw_server.__version__)" Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'aw_server' make: *** [build] Error 1
Description:
It seems that the build process is failing due to a missing module named 'aw_server'. I followed the installation instructions provided in the documentation, but I'm unable to proceed with the build due to this error.
Steps to Reproduce:
Clone the ActivityWatch repository from GitHub.
Follow the installation instructions provided in the documentation.
Attempt to build the project using the make build command.
Expected Behavior:
The build process should complete successfully without any errors, allowing me to proceed with running ActivityWatch.
Actual Behavior:
The build process fails with a ModuleNotFoundError for 'aw_server', preventing me from completing the build and running the application.
Additional Information:
Operating System: Windows 11
Python Version: 3.8.0
Any other relevant details about your environment or setup.
I would appreciate any assistance in resolving this issue so that I can successfully build and use ActivityWatch. Thank you for your attention to this matter.
Best regards,
Santosh Ahire
The text was updated successfully, but these errors were encountered: