dirt
dirt copied to clipboard
setup error when use colab
Building wheels for collected packages: dirt Building wheel for dirt (setup.py) ... error ERROR: Failed building wheel for dirt Running setup.py clean for dirt Failed to build dirt ERROR: tensorflow 1.15.0 has requirement tensorboard<1.16.0,>=1.15.0, but you'll have tensorboard 2.0.1 which is incompatible. ERROR: tensorflow 1.15.0 has requirement tensorflow-estimator==1.15.1, but you'll have tensorflow-estimator 2.0.1 which is incompatible. ERROR: tensorboard 2.0.1 has requirement grpcio>=1.24.3, but you'll have grpcio 1.15.0 which is incompatible. ERROR: google-colab 1.0.0 has requirement google-auth~=1.4.0, but you'll have google-auth 1.6.3 which is incompatible. Installing collected packages: google-auth, tensorboard, tensorflow-estimator, tensorflow-gpu, dirt Found existing installation: google-auth 1.4.2 Uninstalling google-auth-1.4.2: Successfully uninstalled google-auth-1.4.2 Found existing installation: tensorboard 1.15.0 Uninstalling tensorboard-1.15.0: Successfully uninstalled tensorboard-1.15.0 Found existing installation: tensorflow-estimator 1.15.1 Uninstalling tensorflow-estimator-1.15.1: Successfully uninstalled tensorflow-estimator-1.15.1 Running setup.py install for dirt ... error ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-idwy8yj3/setup.py'"'"'; file='"'"'/tmp/pip-req-build-idwy8yj3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-e3r18up2/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
use python3 and gpu . thanks
I have the same error.
This requires installing a compatible version of tensorflow, and setting some compile flags. See this gist for an example (this assumes you start with a clean runtime with a GPU).