-
Notifications
You must be signed in to change notification settings - Fork 3
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
Problems encountered with dependencies and versions during Installation #4
Comments
Hello @Joey-Tai ! Thank you for reaching out! As noted in the README, the package dependencies have been tested and verified with Python 3.8 and 3.9. I am also running a local version with Python 3.10 and can confirm that all dependencies install successfully in this environment as well. If you're encountering any issues, please double-check your Python version and ensure it matches one of the supported versions. If the problem persists, feel free to provide additional details, and I’ll do my best to assist you further. Best |
Thank you for your prompt response and for clarifying the supported Python versions! I have taken your advice and ensured that I am using Python 3.9.21 within an Anaconda environment. |
You are using poetry, right? |
I don't think I'm using poetry. I followed this in the readme file: 'Assuming you have access to the repo and ssh keys are set up in your GitHub account, you can install the package with to install dependencies in the terminal of anaconda virtual environment. |
I do not use Anaconda so I am not sure I can be helpful there. Something else to be aware of is that |
Thanks a lot! Poetry works a lot better!
RuntimeError Unable to find installation candidates for jaxlib (0.4.7) at D:\Anaconda\envs\env39withpoetry\lib\site-packages\poetry\installation\chooser.py:74 in choose_for Cannot install jaxlib. It seems jaxlib 0.4.7 cannot be fetched. Thank you once again for your support! |
I just tested the poetry installation on Python 3.9.20 (Unfortunately I cannot test 3.9.21 on my system as not provided by pyenv) and everything gets installed properly. What's your system/OS? |
Windows11 |
Dear Authors,
I hope this message finds you well. I am currently attempting to integrate the DifFlexMM project into my development environment within PyCharm, but I have encountered a series of challenges that I believe may require your expertise.
Upon following the installation commands provided in the README file, it appears that the dependencies are being installed at their latest versions. However, certain functions within the project are reliant on older versions of these dependencies. As a result, despite a successful installation, I am encountering errors such as:
from jax.abstract_arrays import ShapedArray
ModuleNotFoundError: No module named 'jax.abstract_arrays'
In an effort to resolve these issues, I attempted to manually install the dependencies as listed in the pyproject.toml file. Unfortunately, I found that the list is not comprehensive, and there are conflicts among some of the dependencies, notably with older versions of jax, chex, optax, and others.
I am seeking guidance on how to correctly install the specific versions of dependencies that are compatible with this project. Your assistance in this matter would be greatly appreciated.
Thank you in advance for your time and support.
Best Regards
The text was updated successfully, but these errors were encountered: