Open nerd-lab opened 5 years ago
hi, try to re install it from the beginning, i was done by that.
$ pip uninstall enigma-catalyst $ pip install enigma-catalyst
if it possible, also try to install the requirements one by one, yes it's a pain but...it's working for me.
wish you luck.
hi, try to re install it from the beginning, i was done by that.
$ pip uninstall enigma-catalyst $ pip install enigma-catalyst
if it possible, also try to install the requirements one by one, yes it's a pain but...it's working for me.
wish you luck.
Hi. Could you please clarify what do you mean by "install the requirements one by one"? I have Python 3.6.8 :: Anaconda, Inc.. I tried installing catalyst via conda env create -f python3.6-environment.yml, it failed. Installing catalyst through pip gives me the exact same issue as the OP has. Do you have any other suggestions?
I tried with different version of python already 3.6.5, 3.6.8, also tried both ways - via conda and via pip - nothing works. I also tried uninstalling all Python instances, then installing Python 3.6.8 via anaconda and it still throwing me the same error.
Upgrading numpy
to 1.16.0 fixed this problem for me, which is suggested here: https://github.com/scikit-learn-contrib/hdbscan/issues/272. Unfortunately this breaks the lock file because numpy == 1.14.0
is required by catalyst.
Upgrading
numpy
to 1.16.0 fixed this problem for me, which is suggested here: scikit-learn-contrib/hdbscan#272. Unfortunately this breaks the lock file becausenumpy == 1.14.0
is required by catalyst.
Thank you! This did the trick on Mac OS Mojave. Surprisingly, I didn't have to do install numpy 1.16.0 on Mac OS Sierra (tried it on a different mac). Ultimately, the successful installation process was as follows:
conda env remove --name catalyst
conda create --name catalyst python=3.6 scipy zlib
source activate catalyst
pip install numpy==1.16.0
pip install enigma-catalyst matplotlib --ignore-installed
To make sure Catalyst has been properly installed, run:
which catalyst
If a path to your catalyst environment is returned, you're good.
@kudko has a good solution - but as of right now it installs a copy of numpy for both pip and conda - and only works if python will prefer pip versions of packages to conda versions of packages
I think a better long term change would involve modifying the default .yml
file used for the recommended install step
Simply change numpy version from 1.14.0 to 1.16.0 (or a higher version if you want and it gives you no errors) as I've done in the attached file. Note: I had to change the extension to .txt to upload, but it should work fine if you remove that suffix and use .yml instead. python3.6-environment.txt
I also submitted a PR/file change proposal
@kudko It works! Thanks
Dear Catalyst Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment
conda env create -f python3.6-environment.yml python=3.6
Now that you know a little about me, let me tell you about the issue I am having: when I try to execute any command with catalyst in the conda environment it throws following error (
catalyst --version
is just an example, also happens withcatalyst ingest-exchange
)Description of Issue
Here is how you can reproduce this issue on your machine:
Reproduction Steps
What steps have you taken to resolve this already?
Reinstalling the environment and conda. Happens with conda and miniconda alike
Since the issuer of #525 doesn't answer I opened this new issue
Sincerely, Johannes