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

Cannot Run ViTables 3.0.0 with Anaconda 4.4.0 and Python 3.6 on macOS Sierra 10.12.5 #74

Closed
jgarci40 opened this issue Jun 24, 2017 · 3 comments

Comments

@jgarci40
Copy link

I have installed ViTables 3.0.0 using Anaconda 4.4.0 and Python 3.6, using the following command:

conda install -c conda-forge vitables=3.0.0

Unfortunately, after attempting to run vitables, I get the following error:

$ vitables
Traceback (most recent call last):
  File "/Users/joshua/anaconda/bin/vitables", line 6, in <module>
    from pkg_resources import load_entry_point
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 646, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 616, in _load_backward_compatible
  File "/Users/joshua/anaconda/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/__init__.py", line 2985, in <module>
  File "/Users/joshua/anaconda/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/__init__.py", line 2971, in _call_aside
  File "/Users/joshua/anaconda/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/__init__.py", line 2998, in _initialize_master_working_set
  File "/Users/joshua/anaconda/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/__init__.py", line 660, in _build_master
  File "/Users/joshua/anaconda/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/__init__.py", line 968, in require
  File "/Users/joshua/anaconda/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg/pkg_resources/__init__.py", line 854, in resolve
pkg_resources.DistributionNotFound: The 'ViTables==3.0.0' distribution was not found and is required by the application

I am using macOS Sierra 10.12.5.

I have also tried installing ViTables using source and python setup.py install. I have further attempted using Anaconda 4.4.0 with Python 2.7. None of these attempts have been successful.

Could you please help me resolve this issue?

@uvemas
Copy link
Owner

uvemas commented Jun 25, 2017

Hi Joshua,

I'm afraid I cannot help you very much. I have no Mac OS X platforms available for testing your problem. And I'm not the conda packager or an Anaconda user.

Installing from sources works fine here (Windows and Linux).

At the moment two things come to my mind:

  • firstly I'm going to install Anaconda and ViTables and see how it works for me. This could help if the problem is not Mac OS X specific.
  • secondly you should ask your question in the ViTables Users group. Currently the group has only a few subscribers but maybe some of them are Mac OS X users and can help a bit (or a lot)

Sorry for not being more helpful.

@uvemas
Copy link
Owner

uvemas commented Jun 25, 2017

With a fresh installation of Anaconda on Windows I can install ViTables from sources and run it successfully (I met an installation problem about PyQt5 not being found. As I know it is installed I simply have removed the PyQt5 requirement from the install_requires line in setup.py). Hope it helps.

If you find a solution to your problems with the conda package (maybe in some conda forum or in stackoverflow) please, let me know.

PS: if you face the PyQt5 problem mentioned above just be sure to NOT to download PyQt5 via pip as it would break your ananconda installation according to ContinuumIO/anaconda-issues#1554

@jgarci40
Copy link
Author

I pulled down the latest ViTables from GitHub. After intially running python setup.py install, I ran into an issue with PyQt5 like you did. Similar to your case, I also verified that PyQt5 was already installed, so I removed the requirement from install_requires in setup.py, as you suggested. That worked for me. Thanks for the help!

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