Comments (15)
from recommenders.
Also here
from recommenders.
But maybe the typing
dependency is the problem.
from recommenders.
Thanks, so pandera
needs to handle this. We need to remove the dependency then.
from recommenders.
from recommenders.datasets import movielens
I could only replicate the issue in 3.7, not in 3.8. @john0isaac what machine did you use? mine is a Standard_E4ds_v4 (4 cores, 32 GB RAM, 150 GB disk). What did you do to get this error? I tried
conda create -n foo python=3.8
conda activate foo
pip install recommenders
python
Python 3.8.18 (default, Sep 11 2023, 13:40:15)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from recommenders.datasets import movielens
>>>
from recommenders.
Thanks @john0isaac I don't have quota for this type of machine, I am afraid. I should make a commit for Python 3.8 too. What happens if you try with higher Python versions on that machine?
from recommenders.
@anargyri It's serverless doesn't consume lots of money and enables the spark jobs don't worry about quota.
As for your question as this is a preconfigured compute there are only two options python 3.8 or python 3.10 and python 3.10 is not supported by the recommenders package so, you need to fix this in order for this environment to work on Azure ML.
from recommenders.
I am fixing this in a new PR. Until we release the fix on PyPI, one way to bypass the issue is after you have done pip install recommenders
you do a pip install "pandera[strategies]>=0.6.5,<0.18"
This should uninstall the latest version of pandera (which is causing the error) and install the previous one.
from recommenders.
@loomlike it seems we only use pandera when creating a fake movielens dataset, do you know why we are using that dependency and if we can drop it?
from recommenders.
FYI @SimonYansenZhao @anargyri more problems with dependencies
from recommenders.
This is strange because they say that pandera requires Python >=3.7
from recommenders.
@anargyri the error @miguelgfierro is sharing is from Python 3.7.17 so technically it is >= 3.7.
Yes, tracing the error goes back to the typing thing.
there is a stalk overflow post about two solutions to this problem. https://stackoverflow.com/questions/77247446/cannot-import-name-self-from-typing
from recommenders.
This is the original commit that introduced pandera
btw fd33efe
from recommenders.
Serverless Spark compute on Azure ML
This is the machine config: 4 vCPU, 32 GB memory, 64 GB disk
Python 3.8, Scala 2.12.15, Java 1.8.0_282, .Net Core 3.1, .Net for Apache Spark 2.0, Delta Lake 1.2
from recommenders.
Thanks
from recommenders.
Related Issues (20)
- [FEATURE] Add tests in SAR for remove seen feature
- [FEATURE] Improve Issue template HOT 3
- [BUG] Azure Databricks movielens.load_spark_df errors HOT 2
- [ASK] How do you get the recommendations from NAML?
- [BUG] inconsistent dependency on Pymanopt HOT 2
- [ASK] How to predict new user score?
- [BUG] GPU Nightly builds failing HOT 3
- [FEATURE] remove notebook unit-tests HOT 2
- [FEATURE] Support `steps` to newsrec models
- Issue during pip install HOT 4
- [BUG] OOM in nightly SliRec and DKN HOT 3
- [BUG] NameError in ImplicitCF HOT 3
- [BUG] Upgrade GitHub Action azure/login HOT 2
- [BUG] Migrate AzureML SDK from v1 to v2 HOT 1
- [FEATURE] Add r-precision metric HOT 1
- [ASK] Multi Modal Recommendation HOT 1
- [BUG] tensorflow-estimator is removed from tensorflow 2.16.1
- [ASK] Stopped the support of new Tensorflow versions >= 2.16
- [BUG] Issue with SARplus in the latest merge to main issue with permissions HOT 1
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 recommenders.