-
Notifications
You must be signed in to change notification settings - Fork 56
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
Installing with "make develop" using existing py2 environment #1073
Comments
I can replicate with a clean python 2 environment and newly downloaded copy of proteus. |
@dloney, just to clarify, do you intend to build proteus through |
Hi Alvin. Yes, that's what I was hoping. It appears to jump over to the conda build system though when it fails with hashdisk. |
Could you also post the commands you used to start the build? If you used |
@dloney I'd also recommend excluding anaconda python from your path since my understanding is that conda overrides pip, and we use that in the proteus build process. Hashdist should be fine with the system python2 to execute the build. When starting from a failed build like this, it's probably worth manually removing any old prefix directory, such as llinux and/or linux2. |
@zhang-alvin All I did was |
@cekees That makes sense. Even if you called pip within a conda environment, it would still target just that single directory. It's still strange that the build is throwing an error on making the folder though. How does removing conda from the path and bashrc affect the ability to use conda environments from the terminal for other applications? Wouldn't one need to have a secondary terminal like the Anaconda prompt to run conda environments then on a machine using proteus? |
When I use an anaconda python 2 environment, I have the issue where the proteus build does not create the linux directory as its build destination, but rather overwrites the existing python 2 conda environment to create a python 3 environment. The issue appears to be that the build has an issue creating the correct folder structure. Here's what I see in my build process:
Linking stack/default.yaml for this arch
ln -s /home/dloney/Documents/repo/proteus-dev/stack/examples/proteus.linux.yaml /home/dloney/Documents/repo/proteus-dev/stack/default.yaml
ln: failed to create symbolic link '/home/dloney/Documents/repo/proteus-dev/stack/default.yaml': File exists
make: [Makefile:139: stack/default.yaml] Error 1 (ignored)
ln -sf /home/dloney/Documents/repo/proteus-dev/linux/lib64/* /home/dloney/Documents/repo/proteus-dev/linux/lib
ln: failed to create symbolic link '/home/dloney/Documents/repo/proteus-dev/linux/lib': No such file or directory
make: [Makefile:191: develop] Error 1 (ignored)
ln -sf /home/dloney/Documents/repo/proteus-dev/linux/lib64/cmake/* /home/dloney/Documents/repo/proteus-dev/linux/lib/cmake
ln: failed to create symbolic link '/home/dloney/Documents/repo/proteus-dev/linux/lib/cmake': No such file or directory
make: [Makefile:192: develop] Error 1 (ignored)
Installing development version
Please include this information in all bug reports.
+======================================================================================================+
PROTEUS : /home/dloney/Documents/repo/proteus-dev
PROTEUS_ARCH : linux
PROTEUS_PREFIX : /home/dloney/anaconda3/envs/proteus_dev
PROTEUS_VERSION:
+====================
The text was updated successfully, but these errors were encountered: