kaushal-py / graceengine Goto Github PK
View Code? Open in Web Editor NEWAn AI based talking agent, which interacts with programmers to convert logic spoken in English to Python code.
License: Apache License 2.0
An AI based talking agent, which interacts with programmers to convert logic spoken in English to Python code.
License: Apache License 2.0
The external libraries that the project uses -
spacy
nltk
anytree
flask
flask-RESTful
flask-CORS
This is to the best of my knowledge. Though this should be tested on a fresh conda environment to see if it works before sending a PR.
@kaushal-py Just a few intuitions before getting into the topic. pip freeze
is a command used to list out the particular version of a library which you have installed in your local machine. So that's why it shows the ==
sign as it shows the version which has been installed in your particular local machine.
Now when you write the requirements.txt
file only write the files which are key to your particular project. For example, if I am working on a project where I did everything using TensorFlow
and not used PyTorch
but PyTorch
is installed on my local machine and I include that into the requirements.txt
it's unnecessary to download for a particular user.
So coming back to your project, always try to use >=
sign when writing the requirements.txt
as it will always install the latest version of a particular library. But do keep in mind that certain libraries after getting update may have changed earlier methods, generally doesn't happen like this as decrypted methods are still usable. I also see that you have included all the Flask dependencies which by default get installed when you install flask so this is why also we don't copy the entire pip freeze
I hope this helps. If you want just tell me the list of libraries which are absolutely necessary for your project I will make the changes in the requirements.txt
accordingly.
Originally posted by @TanveshT in #25 (comment)
Description
First of all, great project and initiative.
While setting up the project, I had to update two of the package dependencies in requirements.txt
in order to run the WSGI server successfully. I would have raised a PR for this, but I don't have the repo forked.
Platform
Ubuntu 18.04 LTS Bionic (WSL2)
Python3 3.6.9 + Pip3 9.0.1
Errors
# Werkzeug 0.14.1 causes this
from ..http import dump_csp_header
ImportError: cannot import name 'dump_csp_header' from 'werkzeug.http' (\fakepath\werkzeug\http.py)
Suggested fixes
Change the following in requirements.txt (these are minimum possible to make it work, I would recommend finding latest possible versions that keep backward compatibility with your code)
For MarkupSafe, its a bump to next stable version, it also fixes install on WSL2 (as 1.0 .whl is not available on PyPI)
Werkzeug==0.16.1
MarkupSafe==1.1.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.