Comments (7)
This issue is because of the reason that Colab has updated the python version to 3.10 and python 3.10 support for TFDV is still work in progress. Meanwhile we are working on Python 3.10 support for all TFX packages, we have introduced an workaround to run Colab tutorials as mentioned here.
You can refer this example gist for TFDV installation steps in Colab. Thank you!
from data-validation.
Getting the same issue with Qwiklabs "Introduction to TensorFlow Data Validation"
https://github.com/GoogleCloudPlatform/training-data-analyst
navigate to training-data-analyst > courses > machine_learning > deepdive2 > production_ml > labs, and open tfdv_basic_spending.ipynb.
The example gist for TFDV installation doesn't seem to work there
%%shell
update-alternatives
# !pip install tfx
%%shell
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 3
curl -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py
Result:
Cell In[13], line 3
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 3
^
SyntaxError: invalid syntax
from data-validation.
@AdrienLemaire, This workaround is specific to Colab notebooks where we downgrade the python version in colab runtime. I am not sure if this workaround will work on other platforms. You can try running the notebooks in Colab environment or downgrade the Python version to 3.9 in your environment meanwhile we work on introducing python 3.10 support.
Thank you!
from data-validation.
But isn't downloading python version a temporary workaround?. I hope you can also update your documentation.
from data-validation.
TFX tutorials is updated with Caution
section to inform users about the issue and the temporary workaround. Thanks.
from data-validation.
Python 3.10 support is introduced in TFDV 1.14.0 release. Please let us know if you face any issues in TFDV installation. Thank you!
from data-validation.
Closing this due to inactivity. Please take a look into the answers provided above, feel free to reopen and post your comments(if you still have queries on this). Thank you!
from data-validation.
Related Issues (20)
- Support for manual numerical distribution constraints in schema/anomalies HOT 5
- Dependency Issues HOT 4
- Dipslay schema and stats in dashboard HOT 2
- The potential security vulnerability on the joblib library HOT 2
- hot key issue HOT 4
- The latest numpy release 1.24.0 broke TFDV HOT 3
- Support for statistics of discrete numerical data HOT 4
- Installation of tensorflow data validation still failing for mac m1/m2 chips HOT 3
- Request to update source distributions in pypi repository HOT 3
- Error building data-validation HOT 5
- Remove pyarrow dependency upper bound cap HOT 1
- Descriptor can not be created directly
- Python 3.10 Support HOT 7
- Lack of understandable documentation for Custom Data Validation HOT 6
- Use all the CPU available on a single node for `generate_statistics_from_tfrecord` HOT 4
- EVA HOT 3
- Update pyarrow version range to address vulnerability CVE-2023-47248 HOT 3
- Installation of tensorflow data validation still failing for mac m2 chips? HOT 1
- Upgrade pandas version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data-validation.