-
Notifications
You must be signed in to change notification settings - Fork 51
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
How to install the library? #79
Comments
Hi @AnandN5! I would reccomend installing
Alternatively, you can write sage/python files and run them from the command line via e.g. |
I'm using this library through |
Hi, I'm trying to run this package locally, but I keep running into errors. I started by running:
Then when I tried to run
But then when I try to run
From some Googling, it seems like this is a version error, and I need tensorflow and tensorflow-estimator version 2.1.0, but I don't think these versions are compatible with Python 3.9. I'm currently trying to set up a conda environment with Python 3.7 (though this is not natively compatible with my M1 Mac), and I'm wondering if there's a simpler way to do all of this? Thank you! |
Hi there,
From googling, it looks like this is actually a case of an unfortunate name
collision:
https://pypi.org/project/estimator/
That is, that estimator is not the same as this estimator.
You should, though, just be able to import this project by downloading this
repository and then importing it in Sagemath (Ben's earlier comment
describes how to do this).
…On Thu, 4 Jan 2024, 21:56 TrishaDatta, ***@***.***> wrote:
Hi, I'm trying to run this package locally, but I keep running into errors.
I started by running:
pip3 install estimator
Then when I tried to run from estimator import * in my Python file, I got
an error that tensorflow was not installed, so I ran
pip3 install tensorflow
But then when I try to run from estimator import *, I get the following
error:
AttributeError: module 'tensorflow' has no attribute 'clip_by_average_norm'
From some Googling, it seems like this is a version error, and I need
tensorflow and tensorflow-estimator version 2.1.0, but I don't think these
versions are compatible with Python 3.9. I'm currently trying to set up a
conda environment with Python 3.7 (though this is not natively compatible
with my M1 Mac), and I'm wondering if there's a simpler way to do all of
this? Thank you!
—
Reply to this email directly, view it on GitHub
<#79 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF7CASBSB3HIIX3YEECSETTYM4QPTAVCNFSM6AAAAAA3MZMYH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXHAYTGMZWG4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
ahhh thank you so much!!! very silly mistake on my part |
I'm reviving this thread! Alas, when I run How do I resolve this? |
How can I install the library to a Linux or OSX system?
The text was updated successfully, but these errors were encountered: