Skip to content
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

pkg_resources ResolutionError, DeprecationWarning #7

Open
raysas opened this issue Mar 1, 2024 · 1 comment
Open

pkg_resources ResolutionError, DeprecationWarning #7

raysas opened this issue Mar 1, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@raysas
Copy link

raysas commented Mar 1, 2024

I followed the installation steps until

python setup.py install

then running prokfunfind raises this error:
DEPRECATION: Loading egg at /home/st-wk/mambaforge/envs/ProkFun/lib/python3.12/site-packages/ProkFunFind-0.2.2-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
How can i fix this

@keithdt keithdt self-assigned this Mar 1, 2024
@keithdt keithdt added bug Something isn't working documentation Improvements or additions to documentation and removed bug Something isn't working labels Mar 1, 2024
@keithdt
Copy link
Collaborator

keithdt commented Mar 1, 2024

Hello,
Thanks for your interest in ProkFunFind.
This appears to be an issue with the older method of installing being deprecated in newer versions of pip.

Could you try to install using pip instead of using python setup.py install.

First make sure that your pip version is up to date. the version number should be v24.0.
Then from the ProkFunFind git repository base directory (the one that includes the files like README.md, and LICENSE.txt, you can run

pip install . 

This should install prokfunfind and resolve the issues with trying to install via the .egg distribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants