Skip to content

Running chisurf on MacOS #38

Description

@AndersBarth

Hi Thomas,

the latest Mac release of ChiSurf is quite old, and I would like to use the newest version natively on Mac.

Here is what I did:

  1. Clone the repository.
  2. Make a new conda environment from the environment.yml file.
  3. Activate this environment.
  4. Run python setup.py install
  5. Run chisurf from terminal.

Here is the error I get.

(chisurf) Anders@Anders-MBP chisurf % chisurf
Traceback (most recent call last):
  File "/Users/Anders/opt/anaconda3/envs/chisurf/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2458, in resolve
    return functools.reduce(getattr, self.attrs, module)
AttributeError: module 'chisurf.gui' has no attribute 'gui'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/Anders/opt/anaconda3/envs/chisurf/bin/chisurf", line 11, in <module>
    load_entry_point('chisurf==19.9.22', 'gui_scripts', 'chisurf')()
  File "/Users/Anders/opt/anaconda3/envs/chisurf/lib/python3.7/site-packages/pkg_resources/__init__.py", line 490, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/Users/Anders/opt/anaconda3/envs/chisurf/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2859, in load_entry_point
    return ep.load()
  File "/Users/Anders/opt/anaconda3/envs/chisurf/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2450, in load
    return self.resolve()
  File "/Users/Anders/opt/anaconda3/envs/chisurf/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2460, in resolve
    raise ImportError(str(exc))
ImportError: module 'chisurf.gui' has no attribute 'gui'

Not sure what is going wrong. I also tried running chisurf from code (base.py), but I get import errors.

What did I do wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions