Closed shijie6688 closed 3 months ago
You're mixing dependencies from pypi and conda-forge in the same conda environment, this can have unintended side-effects, see https://github.com/LCA-ActivityBrowser/activity-browser/issues/1067#issuecomment-1770661896 for more context.
I suggest you create a new environment and install the activity-browser and anything else you need from conda-forge. I'm confident this will fix your issue.
I tried to install AB in a new environment, but can not succeed. As shown in below:
(ab_eco391_pure2) C:\Users\weisj>conda install conda-forge::activity-browser Collecting package metadata (current_repodata.json): done Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve. Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source. Collecting package metadata (repodata.json): done Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve. Solving environment: \ Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Can you try to reinstall using the standard command? Warning: this will totally overwrite the original ab
environment. Change ab
into something else if you don't mean to do this.
conda create -n ab -c conda-forge --solver libmamba activity-browser
Can you try to reinstall using the standard command? Warning: this will totally overwrite the original
ab
environment. Changeab
into something else if you don't mean to do this.conda create -n ab -c conda-forge --solver libmamba activity-browser
I have had an environment "ab" but I want to keep it. So can I change the command to "conda create -n ab_eco391_pure2 -c conda-forge --solver libmamba activity-browser"?
Yes, that should work
Thank you both @haasad @mrvisscher for your answers. It works now!
Updating AB
What happened?
I got the following reminder when conducting the scenario calculation, how can I resolve it? Thanks a lot!
Relevant errors
Operating system
Windows 10
Conda environment