Giter VIP home page Giter VIP logo

Comments (4)

KartikeyMish avatar KartikeyMish commented on July 16, 2024 2

Guys please follow the documentation from here

from textbase.

iamansingh0 avatar iamansingh0 commented on July 16, 2024

I am also getting the same error :/

from textbase.

imshourya007 avatar imshourya007 commented on July 16, 2024

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.

HemalathaRamanujam2022 avatar HemalathaRamanujam2022 commented on July 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.