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

Newer decorator versions do not install on OSX #5

Closed
npavlovikj opened this issue Jun 24, 2019 · 11 comments
Closed

Newer decorator versions do not install on OSX #5

npavlovikj opened this issue Jun 24, 2019 · 11 comments

Comments

@npavlovikj
Copy link

Hi,

I tried installing decorator on OSX, and for every version >=4.3.0 I am getting the following error:

Executing transaction: failed
ERROR conda.core.link:_execute(568): An error occurred while installing package 'conda-forge::decorator-4.4.0-py_0'.
OSError(2, 'No such file or directory')
Attempting to roll back.
Rolling back transaction: done
CondaMultiError: [Errno 2] No such file or directory

for every Python version (2,7, >=3).

I looked at this error a bit, and I believe the main reason is that python3.6 (or the respective versions) is not found in the /bin/ directory of the environment.

On the other hand, decorator 4.2.1 and below, installed from conda-forge work fine on OSX.

Also, this issue with the newet decocrator versions doesn't occur on Linux.

I haven't had chance to investigte this further, but I just wanted to let you know.

Thank you,
Natasha

@ocefpaf
Copy link
Member

ocefpaf commented Jun 24, 2019

I do not have a macOS to test but decorator 4.4.0 is noarch and it worked for me on Linux. Can you please fill the required information in the issue template to help us debug this? (All the stuff you deleted when you opened the issue.)

@scopatz
Copy link
Member

scopatz commented Jun 24, 2019

Maybe do a build number bump and rerender to fix this?

@ocefpaf
Copy link
Member

ocefpaf commented Jun 24, 2019

Maybe do a build number bump and rerender to fix this?

Can you confirm the problem on your macOS? Everything is working on my Windows and Linux machine, it is more likely that there is something wrong with the environment, that is why I request the issue template data.

@scopatz
Copy link
Member

scopatz commented Jun 24, 2019

Sorry I don't have the time to do that 😉

@jakirkham
Copy link
Member

We're seeing this in the Docker image build as well. Maybe this is another case of having issues with Conda installing noarch packages, which are its dependencies? If so, maybe we should convert this back to arch and pull the noarch packages.

@ocefpaf
Copy link
Member

ocefpaf commented Jun 24, 2019

I just upgraded to conda 4.7.4, like in the docker image, and it still works for me locally in a new env. Not sure if making it arch again is the solution here.

@jakirkham
Copy link
Member

The Docker image build also upgrades to the latest Conda. So I don't think that is the fix.

@npavlovikj
Copy link
Author

npavlovikj commented Jun 24, 2019

I am sorry for the lack of information @ocefpaf . I was encountering this issue only on OSX, but it worked fine on Linux.
I did conda update --all on my OSX machine, and decorator works fine now. I know I had conda 4.6.14 earlier, but I can not recall what other packages got updated that must have fixed the issue. I can replicate the error with conda 4.5.11, but I guess that is outdated version now. I will try to roll-back my earlier conda env and will let you know if I replicate the error.

@ocefpaf
Copy link
Member

ocefpaf commented Jun 24, 2019

I will try to roll-back my earlier conda env and will let you know if replicate the error.

Thanks!

@jakirkham
Copy link
Member

Starting with Miniconda 4.6.14 also seems to avoid this issue in the Docker image build. ( conda-forge/docker-images#96 )

@ocefpaf
Copy link
Member

ocefpaf commented Mar 2, 2020

@npavlovikj closing this b/c I believe it was fixed. Please reopen if you are still experiencing this.

@ocefpaf ocefpaf closed this as completed Mar 2, 2020
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

4 participants