-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[HELP WANTED] What's the recommended platform & python environment? #1563
Comments
can you provide some info on what you're trying to run and any resulting error messages you see? |
occurs when I run the /examples/benchmark/moivelens.ipynb, of the first cell, It seems that, the Numpy's version has conflicted to other package, my current Numpy's version is 1.19.5 |
@laserprec we saw this in the tests a while back, I know there was a conda package that fixed this, but I think there was also another approach to resolve this numpy problem. Do you have any suggestions here? |
by the way, if I change the Numpy's version, instead of 1.19.5, it conflicts to the other packages that the recommenders requires, such as TF. |
@mokeeqian I am sorry about the frustration you are experiencing. Yes, our documentation is scattered across different places and it is a much needed improvement to clean up the instructions.
I would recommend trying the installation on Linux in a virtual environment, and the installation instructions for Linux containers from Setup.md can also be used for any Linux machine: sudo apt-get -y update
sudo apt-get -y install python3.6
sudo apt-get -y install python3-pip
sudo apt-get -y install python3.6-venv
sudo apt-get -y install libpython3.6-dev
sudo apt-get -y install cmake
sudo apt-get install -y libgomp1 openjdk-8-jre
python3.6 -m venv .env
source .env/bin/activate
pip install --upgrade pip setuptools wheel
export PYSPARK_DRIVER_PYTHON=$VIRTUAL_ENV/bin/python
export PYSPARK_PYTHON=$VIRTUAL_ENV/bin/python
echo "export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64" >> .env/bin/activate
echo "export PYSPARK_PYTHON=$VIRTUAL_ENV/bin/python" >> .env/bin/activate
pip install recommenders[all] After running these commands, you should have an virtual environment
I hope this should set up the notebook environment correctly. Please do let us know if you run into any issues! |
Thank you very much! |
@gramhagen, is this the error you are referring to? If so, I think this is a different one that I haven't encountered before. A preliminary search on the internet suggests that it could be a |
Is it possible to use numpy >= 1.20 |
Is there any reason to limit python to < 3.8? |
Could not work |
We currently have a dependency on TF v1.15, which does not support python 3.8+. We are working on an upgrade to TF2, so 3.8 will be in the route map after it's done. |
latest release should address issues with numpy compatibility (as well as tf2 support), closing this issue now, but feel free to open another one if there are problems using the lastest version |
Description
I have tried again and again on my local Windows 10 OS, using Conda python3.6 and venv python3.6, but still faild to run the project, due to the conflict version of Numpy and other problems.
So, are there anyone successfuily run it on Windows?
I need your help!
Other Comments
By the way, should I try the Linux platform, or any other way???
The text was updated successfully, but these errors were encountered: