Closed chloeh13q closed 4 years ago
see the issue I opened some days ago https://github.com/lacava/feat/issues/263
There is a featenv.yml file at the very bottom that I used to successfully create a proper conda environment to build FEAT. Maybe it can help you as well.
@folivetti Thanks for your reply. I tried your conda environment setup, but am getting a bunch of ResolvePackageNotFound errors, which I think might be due to platform-specific build constraints. Manually installing these doesn't seem to work either, as I'm getting package conflicts in conda. Could you do a conda env export with the --no-build flag?
@folivetti thanks for sharing the conda environment from #263 !
@chloeh13q I haven't built FEAT on a mac, but I imagine getting the conda environment right would work. I'm working on providing a minimal conda env in the repo. At some point this summer an updated conda install began causing a package conflict for FEAT, probably in relation to shogun. the miniconda install we use for testing (Miniconda3-4.7.12.1) still seems to work ok, as well as the environment @folivetti provided.
Let me know if the environment setup fixes the issue.
@folivetti @lacava Hi! Thank you both for your help and the info! I think it might in fact have to do with the fact that I'm using a Mac - I tried to create a new conda environment using @folivetti 's yml configurations, but keep running into package conflicts, after which conda would just run for hours trying to resolve these conflicts, and I've had to kill it because it was taking way too long. I think other Mac users have also run into this problem where conda is reporting weird conflicts when theoretically there should be none. @lacava I followed your .travis_install.sh script and installed all of the relevant packages (apart from the fact that I use Anaconda instead of miniconda). I also checked against @folivetti 's yml file to make sure that I have the same versions. But no luck so far. Just a side note, not sure if this might have to do with the issue: I actually struggled with running the ./install script, and had to manually add the path of shogun library into link.txt in order to run it. Anyways, I'll keep trying!
@folivetti @lacava Update: With @folivetti 's environment yml, I successfully installed the package on Ubuntu (Ubuntu 20.04.1)! Although I did run into a couple of problems here and there in the installation, it was much, much smoother than the macOS installation. I think the issue might just be due to OS and conda imcompatibilities. I don't know if you want to look into macOS installations in the future, but I'll go ahead and close this issue for now. Once again, thank you both for your help!
glad to hear it @chloeh13q! if there are any specific problems you ran into with Ubuntu 20, let me know. I know the eigen source needs to be updated (#265) and the environment specified, but there may be other issues I'm not aware of. I'll open up a separate issue for addressing macOS install.
Hi!
I went through quite an ordeal to try to install FEAT, and finally succeded. However, when I tried to test the package with
./build/feat docs/examples/data/d_enc.csv -rs 42 -g 2 -p 5
, I ran into a segmentation fault. I also wasn't able to import the package into Jupyter notebook. Details are as follows:- System: macOS Catalina
- Conda environment: I built a conda environment from scratch for FEAT so it should only contain packages required by it.
- Terminal error message:
- Jupyter notebook error message: When I do "from feat import Feat", I get the following in terminal: