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

pycomplexes env - pkg_resources is missing #44

Open
erbad opened this issue Jun 8, 2022 · 1 comment
Open

pycomplexes env - pkg_resources is missing #44

erbad opened this issue Jun 8, 2022 · 1 comment

Comments

@erbad
Copy link

erbad commented Jun 8, 2022

Dear all,

I am facing a problem when running the tutorials. Commands starting with !pycomplexes return these traceback:

File "/usr/local/bin/pycomplexes", line 6, in <module> from pkg_resources import load_entry_point ModuleNotFoundError: No module named 'pkg_resources'

setuptools contains this pkg_resources. I am working in the pycomplexes conda environment and the command conda list display
setuptools 62.3.2 py39hf3d152e_0 conda-forge.

What I tried to do is (by searching for solution on StackExchange):

  • to upgrade setuptools
  • to uninstall and reinstall setuptools

But none of them works. Do you have any suggestion of why this happens?

Thank you,
Davide

@kain88-de
Copy link
Contributor

Sure you installed the conda environment correctly? I just noticed there was a typo in the install instructions that prevented the conda environment to be created.

conda create -n pycomplexes --file conda-lock-64.lock

Please note we only provide a lock file for linux. If you are using another os, you can create a lock file yourself from the pyproject.toml using conda-lock.

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

No branches or pull requests

2 participants