-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Unable to download web3 on Mac #1761
Comments
I'm not quite sure what's going on here. Initially I was thinking that maybe the version of cytoolz might not be compatible with web3, but I was able to install cytoolz==0.11.0 and run web3 with no problem. Does starting over in a new virtual environment solve the problem? |
Let me try that |
OK I just spun up a virtual enviroment, upgraded pip and retried downloading web3 by Below is the original unedited error message: |
I'm going to look into this a little more because it keeps coming up, but I've had success in the past uninstalling and then reinstalling gcc. I haven't taken the time to figure out the root cause, however. It may be Cython not being installed like you mentioned, but I don't see it installed on my machine, so I don't think that's it. You might try running I'd also like to note that I think the solution to this issue deserves being put in the troubleshooting section of the docs. |
So I just checked and I am able to replicate the failed install in a fresh env but it's not quite the same problem as yours. It looks like mine is due to the watchdog library, but for whatever reason upgrading pip fixes my issue. I'll keep digging on Monday. |
Thank you for you help |
also had trouble mac os x 10.15 ended up just bumping down to python 3.7 and got it to work |
3.7 worked for me as well. Thanks for the tip @maxwolff |
have the same issue tried everything in here including bumping down to python 3.7 any more alternative solutions? |
We have a ticket opened in |
Here is the error message I am getting:
Using cached cytoolz-0.11.0.tar.gz (477 kB)
ERROR: Command errored out with exit status 1:
command: /Users/username/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/sf/0ffx9bz14q5dl2xtstpccbxr0000gn/T/pip-install-rzitfoh2/cytoolz/setup.py'"'"'; file='"'"'/private/var/folders/sf/0ffx9bz14q5dl2xtstpccbxr0000gn/T/pip-install-rzitfoh2/cytoolz/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/sf/0ffx9bz14q5dl2xtstpccbxr0000gn/T/pip-pip-egg-info-atyua5lz
cwd: /private/var/folders/sf/0ffx9bz14q5dl2xtstpccbxr0000gn/T/pip-install-rzitfoh2/cytoolz/
Complete output (39 lines):
[1/5] Cythonizing cytoolz/dicttoolz.pyx
[2/5] Cythonizing cytoolz/functoolz.pyx
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.### What was wrong?
I am using a Mac 10.14 mojave,
python versionPython 3.6.3 :: Anaconda, Inc.
I have already tried the following:
xcode-select --install
sudo xcode-select --reset
and then attempted to reinstall web3, getting the above error again.
I was able to install ipython no problem. I am wondering if my issue is anaconda being set as my default python? If so how do I fix this. If not, any suggestions?
The text was updated successfully, but these errors were encountered: