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

Error when installing #49

Closed
RasmusFonseca opened this issue Feb 10, 2018 · 4 comments
Closed

Error when installing #49

RasmusFonseca opened this issue Feb 10, 2018 · 4 comments
Assignees
Labels

Comments

@RasmusFonseca
Copy link

I followed instructions, but when running pip install pycontact I get:

  warning: manifest_maker: MANIFEST.in, line 1: 'recursive-include' expects <dir> <pattern1> <pattern2> ...

  writing manifest file 'pycontact.egg-info/SOURCES.txt'
  Copying pycontact.egg-info to build/bdist.macosx-10.6-x86_64/wheel/pycontact-1.0.1-py2.7.egg-info
  running install_scripts
  error: [Errno 2] No such file or directory: 'LICENSE'

  ----------------------------------------
  Failed building wheel for pycontact
  Running setup.py clean for pycontact
Failed to build pycontact
Installing collected packages: pycontact
  Running setup.py install for pycontact ... done
Successfully installed pycontact-1.0.1
@RasmusFonseca
Copy link
Author

I can actually run pycontact after, but it gives me

(py27) MBPro:~/Programs/pyinteraph/tutorial $ pycontact
Traceback (most recent call last):
  File "/Users/rfonseca/Programs/miniconda3/envs/py27/bin/pycontact", line 11, in <module>
    load_entry_point('pycontact==1.0.1', 'console_scripts', 'pycontact')()
  File "/Users/rfonseca/Programs/miniconda3/envs/py27/lib/python2.7/site-packages/pkg_resources/__init__.py", line 572, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/Users/rfonseca/Programs/miniconda3/envs/py27/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2755, in load_entry_point
    return ep.load()
  File "/Users/rfonseca/Programs/miniconda3/envs/py27/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2408, in load
    return self.resolve()
  File "/Users/rfonseca/Programs/miniconda3/envs/py27/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2414, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/Users/rfonseca/Programs/miniconda3/envs/py27/lib/python2.7/site-packages/PyContact/pycontact.py", line 11, in <module>
    from .gui.MainWindow import MainWindow
  File "/Users/rfonseca/Programs/miniconda3/envs/py27/lib/python2.7/site-packages/PyContact/gui/MainWindow.py", line 18, in <module>
    from SasaWidgets import SasaWidget
  File "/Users/rfonseca/Programs/miniconda3/envs/py27/lib/python2.7/site-packages/PyContact/gui/SasaWidgets.py", line 17, in <module>
    from Dialogues import TopoTrajLoaderDialog
  File "/Users/rfonseca/Programs/miniconda3/envs/py27/lib/python2.7/site-packages/PyContact/gui/Dialogues.py", line 8, in <module>
    from PyContact.core.ContactAnalyzer import Analyzer
  File "/Users/rfonseca/Programs/miniconda3/envs/py27/lib/python2.7/site-packages/PyContact/core/ContactAnalyzer.py", line 21, in <module>
    from .aroundPatch import AroundSelection
  File "/Users/rfonseca/Programs/miniconda3/envs/py27/lib/python2.7/site-packages/PyContact/core/aroundPatch.py", line 7, in <module>
    class AroundSelection(DistanceSelection):
NameError: name 'DistanceSelection' is not defined

@maxscheurer
Copy link
Owner

Which version of mdanalysis are you using?
I think PyContact needs 0.15, I will apply some changes in the code for mdanalysis 0.17 support.

@maxscheurer maxscheurer assigned ghost and maxscheurer and unassigned ghost Feb 10, 2018
@RasmusFonseca
Copy link
Author

pip install MDAnalysis==0.15 worked. Thanks

@maxscheurer
Copy link
Owner

Okay. Sorry for the inconvenience, I will leave your issue open until the problem is finally fixed on the PyContact side.

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

No branches or pull requests

2 participants