Skip to content
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

requirements.txt errors on OSX Python2 and Python3 #3

Closed
obsidiandevel opened this issue Feb 25, 2021 · 5 comments
Closed

requirements.txt errors on OSX Python2 and Python3 #3

obsidiandevel opened this issue Feb 25, 2021 · 5 comments

Comments

@obsidiandevel
Copy link

No description provided.

@DidierRLopes
Copy link
Collaborator

Hey there,

Python2 isn't supported.

Can you attempt Python3 again, I believe this has been fixed by one of the latest PRs

@obsidiandevel
Copy link
Author

Maybe consider a Dockerfile?

Requirement already satisfied: aiohttp==3.7.3 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (3.7.3)
Requirement already satisfied: async-timeout==3.0.1 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 6)) (3.0.1)
Requirement already satisfied: attrs==20.3.0 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 7)) (20.3.0)
Requirement already satisfied: chardet==3.0.4 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 12)) (3.0.4)
Requirement already satisfied: cssselect==1.1.0 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 17)) (1.1.0)
Requirement already satisfied: cycler==0.10.0 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 18)) (0.10.0)
Requirement already satisfied: decorator==4.4.2 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 20)) (4.4.2)
Requirement already satisfied: filelock==3.0.12 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 22)) (3.0.12)
Requirement already satisfied: future==0.18.2 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 28)) (0.18.2)
Requirement already satisfied: idna==2.10 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 41)) (2.10)
Requirement already satisfied: inflection==0.5.1 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 43)) (0.5.1)
Requirement already satisfied: kiwisolver==1.3.1 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 48)) (1.3.1)
Requirement already satisfied: lxml==4.6.2 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 52)) (4.6.2)
Requirement already satisfied: multidict==5.1.0 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 57)) (5.1.0)
Requirement already satisfied: networkx==2.5 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 59)) (2.5)
Requirement already satisfied: oauthlib==3.1.0 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 61)) (3.1.0)
Requirement already satisfied: pyasn1==0.4.8 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 75)) (0.4.8)
Requirement already satisfied: pyasn1-modules==0.2.8 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 76)) (0.2.8)
Requirement already satisfied: pyparsing==2.4.7 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 78)) (2.4.7)
Requirement already satisfied: PySocks==1.7.1 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 79)) (1.7.1)
Requirement already satisfied: python-dateutil==2.8.1 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 80)) (2.8.1)
Requirement already satisfied: regex==2020.11.13 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 85)) (2020.11.13)
Requirement already satisfied: requests==2.25.1 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 86)) (2.25.1)
Requirement already satisfied: requests-oauthlib==1.3.0 in /usr/local/lib/python3.9/site-packages (from -r requirements.txt (line 87)) (1.3.0)
Requirement already satisfied: six==1.15.0 in /usr/local/Cellar/protobuf/3.14.0/libexec/lib/python3.9/site-packages (from -r requirements.txt (line 94)) (1.15.0)
ERROR: Could not find a version that satisfies the requirement tensorflow==2.4.1
ERROR: No matching distribution found for tensorflow==2.4.1

@micheloosterhof
Copy link

Tensorflow is not yet supported on Python 3.9 tensorflow/tensorflow#44485
But it seems to be close.

@DidierRLopes
Copy link
Collaborator

The Python that I used was Python 3.6.8.

That one should work.

@shadycuz
Copy link
Contributor

shadycuz commented Mar 4, 2021

I'm going to close this now. Lots has changed since this was opened. You can run git checkout main, git pull main to fetch the latest and attempt to reinstall.

The project has been testest to work with Pythons 3.6.8, 3.7 and 3.8. Tensorflow doesn't support python 3.9 yet.

We are using poetry to manage the project and that is one option for installing. The other is to install with the requirements.txt. Feel free to use any virtual environment you want.

Just make sure to run pip install --upgrade pip as that was affecting some people as tensorflow requires pip >= 2.19 (or something like that).

We also have a dockerfile if you would prefer to use docker. We will also soon be offering an "official image" on dockerhub.

Oh and Windows is only supported with docker because pystan is not available for windows (officially).

If you are having problems please open a new issue =).

🚀 GamestonkTerminal 🌔

@shadycuz shadycuz closed this as completed Mar 4, 2021
DidierRLopes pushed a commit that referenced this issue Apr 17, 2021
Improve user experience of disc/ratings
DidierRLopes pushed a commit that referenced this issue Apr 19, 2021
DidierRLopes pushed a commit that referenced this issue Jan 8, 2022
Baseclass refactoring improvement
jmaslek added a commit that referenced this issue Mar 29, 2022
martinb-ai added a commit that referenced this issue Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants