Comments (4)
Guys please follow the documentation from here
from textbase.
I am also getting the same error :/
from textbase.
the path "C:\Users\HEMA S\Python_Projects\textbase\textbase\textbase_cli.py" are you sure you are installing python and poetry inside correct folder because it seem python is not able to recognise poetry
from textbase.
If python is not recognised, I should not be able to see the version under the "textbase" folder, right?
(textbase-client-py3.11) C:\Users\HEMA S\Python_Projects\textbase>python --version
Python 3.11.4
(textbase-client-py3.11) C:\Users\HEMA S\Python_Projects\textbase>poetry --version
Poetry (version 1.6.1)
(textbase-client-py3.11) C:\Users\HEMA S\Python_Projects\textbase>poetry shell
Virtual environment already activated: C:\Users\HEMA S\AppData\Local\pypoetry\Cache\virtualenvs\textbase-client-g5HXBmhY-py3.11
(textbase-client-py3.11) C:\Users\HEMA S\Python_Projects\textbase>poetry install
Updating dependencies
Resolving dependencies...
No dependencies to install or update
Writing lock file
Installing the current project: textbase-client (0.1.2)
(textbase-client-py3.11) C:\Users\HEMA S\Python_Projects\textbase>poetry run python textbase/textbase_cli.py test
Path to the main.py file: main.py
Traceback (most recent call last):
File "C:\Users\HEMA S\Python_Projects\textbase\textbase\textbase_cli.py", line 201, in
cli()
File "C:\Users\HEMA S\AppData\Local\pypoetry\Cache\virtualenvs\textbase-client-g5HXBmhY-py3.11\Lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HEMA S\AppData\Local\pypoetry\Cache\virtualenvs\textbase-client-g5HXBmhY-py3.11\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\HEMA S\AppData\Local\pypoetry\Cache\virtualenvs\textbase-client-g5HXBmhY-py3.11\Lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HEMA S\AppData\Local\pypoetry\Cache\virtualenvs\textbase-client-g5HXBmhY-py3.11\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HEMA S\AppData\Local\pypoetry\Cache\virtualenvs\textbase-client-g5HXBmhY-py3.11\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HEMA S\Python_Projects\textbase\textbase\textbase_cli.py", line 22, in test
server_path = importlib.resources.files('textbase').joinpath('utils', 'server.py')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HEMA S\AppData\Local\Programs\Python\Python311\Lib\importlib\resources_common.py", line 22, in files
return from_package(get_package(package))
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HEMA S\AppData\Local\Programs\Python\Python311\Lib\importlib\resources_common.py", line 55, in get_package
raise TypeError(f'{package!r} is not a package')
TypeError: 'textbase' is not a package
from textbase.
Related Issues (20)
- Empty Input on Send Button Click HOT 2
- Lacking sentiment analysis
- Add New Feature
- Issue: Shortening Open API Usage and Enhancing Customer Friendliness for Off-Topic Queries
- Image not loading on the texbase landing page HOT 7
- imahge issue HOT 1
- Resource not found error HOT 4
- Update the readme HOT 2
- add --port flag in test command so that user can change the port from 8080 to something else
- Network Error HOT 12
- File does not exist HOT 1
- what is your license detail
- Example Template Addition: Add a other popular Chatbot Template in the template section. HOT 6
- LLM Integration: implement Claude 2.0 in `models.py` HOT 8
- Stable Diffusion integration HOT 4
- In the website of the textbase.ai there is the horizontal scroll bar given unsual HOT 2
- add GIFs in the example section of doc HOT 4
- To develop Palm based application in examples main.py HOT 1
- setup CI/CD for updating PyPI version in the toml file whenever changes take place in PyPI package
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 textbase.