Giter VIP home page Giter VIP logo

Comments (25)

w17h0u7m3rcy avatar w17h0u7m3rcy commented on July 16, 2024 2

I solved this problem installing the common version:

sudo apt-get install python-celery-common

from iky.

KennBro avatar KennBro commented on July 16, 2024 1
  1. Kali 2020?
  2. What method did you use to install iKy?
  3. What version of python are you using? (python --version)
  4. What is the output of the following command?
pip install celery

from iky.

 avatar commented on July 16, 2024
  1. i use the latest version of kali
  2. i just follow the 2019 installation video and manual installation (detailed) of yours
  3. (Python 3.8.2)
  4. kali@kali:/$ pip install celery
    Defaulting to user installation because normal site-packages is not writeable
    Requirement already satisfied: celery in /home/kali/.local/lib/python3.7/site-packages (4.3.0)
    Requirement already satisfied: vine>=1.3.0 in /home/kali/.local/lib/python3.7/site-packages (from celery) (1.3.0)
    Requirement already satisfied: billiard<4.0,>=3.6.0 in /home/kali/.local/lib/python3.7/site-packages (from celery) (3.6.0.0)

Requirement already satisfied: kombu<5.0,>=4.4.0 in /home/kali/.local/lib/python3.7/site-packages (from celery) (4.6.3)
Requirement already satisfied: pytz>dev in /home/kali/.local/lib/python3.7/site-packages (from celery) (2017.3)
Requirement already satisfied: amqp<3.0,>=2.5.0 in /home/kali/.local/lib/python3.7/site-packages (from kombu<5.0,>=4.4.0->celery) (2.5.0)

from iky.

KennBro avatar KennBro commented on July 16, 2024

Ok. Kali 2020 has python 2.7 as default
Send me a screenshot of the following commands

python --version
pip install celery

Maybe, you have python 3.8.2 installed, but python 2.7 is still active

Please, run

sudo apt-cache search celery

And send me the output

from iky.

KennBro avatar KennBro commented on July 16, 2024

kali@kali:~$ pip install celery
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: celery in ./.local/lib/python3.7/site-packages (4.3.0)
Requirement already satisfied: vine>=1.3.0 in ./.local/lib/python3.7/site-packages (from celery) (1.3.0)
Requirement already satisfied: billiard<4.0,>=3.6.0 in ./.local/lib/python3.7/site-packages (from celery) (3.6.0.0)
Requirement already satisfied: pytz>dev in ./.local/lib/python3.7/site-packages (from celery) (2017.3)
Requirement already satisfied: kombu<5.0,>=4.4.0 in ./.local/lib/python3.7/site-packages (from celery) (4.6.3)
Requirement already satisfied: amqp<3.0,>=2.5.0 in ./.local/lib/python3.7/site-packages (from kombu<5.0,>=4.4.0->celery) (2.5.0)

You forgot the python --version before the pip install celery

from iky.

 avatar commented on July 16, 2024

kali@kali:$ python --version
Python 2.7.17
kali@kali:
$ pip install celery
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: celery in ./.local/lib/python3.7/site-packages (4.3.0)
Requirement already satisfied: vine>=1.3.0 in ./.local/lib/python3.7/site-packages (from celery) (1.3.0)
Requirement already satisfied: billiard<4.0,>=3.6.0 in ./.local/lib/python3.7/site-packages (from celery) (3.6.0.0)
Requirement already satisfied: pytz>dev in ./.local/lib/python3.7/site-packages (from celery) (2017.3)
Requirement already satisfied: kombu<5.0,>=4.4.0 in ./.local/lib/python3.7/site-packages (from celery) (4.6.3)
Requirement already satisfied: amqp<3.0,>=2.5.0 in ./.local/lib/python3.7/site-packages (from kombu<5.0,>=4.4.0->celery) (2.5.0)

from iky.

 avatar commented on July 16, 2024

kali@kali:~$ sudo apt-cache search celery
[sudo] password for kali:
prospector - comprehensive static Python code analyzer
python-amqp-doc - Low-level AMQP client (Documentation)
python-celery-common - async task/job queue based on message passing (common files)
python-celery-doc - async task/job queue based on message passing (Documentation)
python-dask-doc - Minimal task scheduling abstraction documentation
python-django-celery-beat-doc - Database-backed Periodic Tasks (Python3 version)
python-django-celery-results-doc - Celery result backends for Django (Documentation)
python3-amqp - Low-level AMQP client (Python3 version)
python3-celery - async task/job queue based on message passing (Python3 version)
python3-celery-batches - Task class that buffers messages and processes them as a list
python3-dask - Minimal task scheduling abstraction for Python 3
python3-django-celery-beat - Database-backed Periodic Tasks (Documentation)
python3-django-celery-haystack - utilize Celery for automatic haystack index updates (Python3 version)
python3-django-celery-results - Celery result backends for Django (Python3 version)
python3-pylint-celery - Pylint plugin for code using the Celery library (Python3)
python3-pylint-plugin-utils - Utilities and helpers for writing Pylint plugins (Python 3)
python3-socketio - python3 implementation of the Socket.IO realtime client and server
python3-sphinx-celery - Sphinx Celery theme

from iky.

KennBro avatar KennBro commented on July 16, 2024

kali@kali:$ python --version Python 2.7.17 kali@kali:$ pip install celery
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: celery in ./.local/lib/python3.7/site-packages (4.3.0)
Requirement already satisfied: vine>=1.3.0 in ./.local/lib/python3.7/site-packages (from celery) (1.3.0)
Requirement already satisfied: billiard<4.0,>=3.6.0 in ./.local/lib/python3.7/site-packages (from celery) (3.6.0.0)
Requirement already satisfied: pytz>dev in ./.local/lib/python3.7/site-packages (from celery) (2017.3)
Requirement already satisfied: kombu<5.0,>=4.4.0 in ./.local/lib/python3.7/site-packages (from celery) (4.6.3)
Requirement already satisfied: amqp<3.0,>=2.5.0 in ./.local/lib/python3.7/site-packages (from kombu<5.0,>=4.4.0->celery) (2.5.0)

Like I said, Kali 2020 has python 2.7 by default.
This is why you can't find celery. You must switch to python 3

from iky.

 avatar commented on July 16, 2024

kali@kali:$ python --version Python 2.7.17 kali@kali:$ pip install celery
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: celery in ./.local/lib/python3.7/site-packages (4.3.0)
Requirement already satisfied: vine>=1.3.0 in ./.local/lib/python3.7/site-packages (from celery) (1.3.0)
Requirement already satisfied: billiard<4.0,>=3.6.0 in ./.local/lib/python3.7/site-packages (from celery) (3.6.0.0)
Requirement already satisfied: pytz>dev in ./.local/lib/python3.7/site-packages (from celery) (2017.3)
Requirement already satisfied: kombu<5.0,>=4.4.0 in ./.local/lib/python3.7/site-packages (from celery) (4.6.3)
Requirement already satisfied: amqp<3.0,>=2.5.0 in ./.local/lib/python3.7/site-packages (from kombu<5.0,>=4.4.0->celery) (2.5.0)

Like I said, Kali 2020 has python 2.7 by default

so i will switch to kali 2019? sorry im just a newbie
how to switch to default python 3
i installed python 3.8 but python2 is still there

from iky.

KennBro avatar KennBro commented on July 16, 2024

kali@kali:$ python --version Python 2.7.17 kali@kali:$ pip install celery
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: celery in ./.local/lib/python3.7/site-packages (4.3.0)
Requirement already satisfied: vine>=1.3.0 in ./.local/lib/python3.7/site-packages (from celery) (1.3.0)
Requirement already satisfied: billiard<4.0,>=3.6.0 in ./.local/lib/python3.7/site-packages (from celery) (3.6.0.0)
Requirement already satisfied: pytz>dev in ./.local/lib/python3.7/site-packages (from celery) (2017.3)
Requirement already satisfied: kombu<5.0,>=4.4.0 in ./.local/lib/python3.7/site-packages (from celery) (4.6.3)
Requirement already satisfied: amqp<3.0,>=2.5.0 in ./.local/lib/python3.7/site-packages (from kombu<5.0,>=4.4.0->celery) (2.5.0)

Like I said, Kali 2020 has python 2.7 by default

so i will switch to kali 2019? sorry im just a newbie

No, no. Give me a second.

from iky.

KennBro avatar KennBro commented on July 16, 2024

Please run this command

sudo update-alternatives --config python

And send my the output

from iky.

 avatar commented on July 16, 2024

Please run this command

sudo update-alternatives --config python

And send my the output

kali@kali:~$ sudo update-alternatives --config python
[sudo] password for kali:
update-alternatives: error: no alternatives for python

from iky.

KennBro avatar KennBro commented on July 16, 2024

Ok

python --version

Output

sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 3

Output

python --version

Output

from iky.

 avatar commented on July 16, 2024

Ok

python --version

Output

sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 3

Output

python --version

Output

kali@kali:$ python --version
Python 2.7.17
kali@kali:
$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 3
[sudo] password for kali:
update-alternatives: using /usr/bin/python3 to provide /usr/bin/python (python) in auto mode
kali@kali:$ python --version
Python 3.8.2
kali@kali:
$ Thanks!

from iky.

KennBro avatar KennBro commented on July 16, 2024

Ok, wait. Run inside backend directory

./celery.sh

And if it's work remember run

sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 2

to get back to python 2

from iky.

KennBro avatar KennBro commented on July 16, 2024

kali@kali:$ cd iKy/ kali@kali:/iKy$ cd backend
kali@kali:/iKy/backend$ ./selery.sh bash: ./selery.sh: No such file or directory kali@kali:/iKy/backend$

./celery.sh # With C

from iky.

 avatar commented on July 16, 2024

kali@kali:$ cd iKy/ kali@kali:/iKy$ cd backend
kali@kali:/iKy/backend$ ./selery.sh bash: ./selery.sh: No such file or directory kali@kali:/iKy/backend$

./celery.sh # With C

kali@kali:$ cd iKy/
kali@kali:
/iKy$ cd backend
kali@kali:/iKy/backend$ ./celery.sh
./celery.sh: line 3: celery: command not found
kali@kali:
/iKy/backend$

from iky.

KennBro avatar KennBro commented on July 16, 2024

Ok.

sudo apt-get install python3-celery

And again, inside backend directory

./celery.sh

from iky.

 avatar commented on July 16, 2024

Ok.

sudo apt-get install python3-celery

And again, inside backend directory

./celery.sh

kali@kali:/iKy/backend$ ./celery.sh
./celery.sh: line 3: celery: command not found
kali@kali:
/iKy/backend$ ./celery.sh
./celery.sh: line 3: celery: command not found
kali@kali:~/iKy/backend$
i install this but still not working sudo apt-get install python3-celery

from iky.

KennBro avatar KennBro commented on July 16, 2024

And python --version is 3.7???

from iky.

 avatar commented on July 16, 2024

python --version

Python 3.8.2

from iky.

KennBro avatar KennBro commented on July 16, 2024

It must be 3.7.X

from iky.

shanow7 avatar shanow7 commented on July 16, 2024

iKy/backend$ python --version
Python 3.7.7
/iKy/backend$ sudo apt-get install python3-celery
python3-celery is already the newest version (4.4.2-5).
/iKy/backend$ ./celery.sh
celery: command not found

what next?

from iky.

mubu98 avatar mubu98 commented on July 16, 2024

[email protected] start /home/mubu/tools/iKy/frontend
ng serve

An unhandled exception occurred: Job name "..getProjectMetadata" does not exist.
See "/tmp/ng-BkhoGd/angular-errors.log" for further details.
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] start: ng serve
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/mubu/.npm/_logs/2020-08-23T23_35_30_715Z-debug.log

from iky.

Aesir-coder avatar Aesir-coder commented on July 16, 2024

I solved this problem installing the common version:

sudo apt-get install python-celery-common

Thank you so much for sharing. That is the only command that solved my problem too.

from iky.

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.