Cannot Run ViTables 3.0.0 with Anaconda 4.4.0 and Python 3.6 on macOS Sierra 10.12.5
Closed this issue · 3 comments
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?
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.
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
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!