Comments (25)
I solved this problem installing the common version:
sudo apt-get install python-celery-common
from iky.
- Kali 2020?
- What method did you use to install iKy?
- What version of python are you using? (python --version)
- What is the output of the following command?
pip install celery
from iky.
- i use the latest version of kali
- i just follow the 2019 installation video and manual installation (detailed) of yours
- (Python 3.8.2)
- 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.
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.
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.
kali@kali:$ python --version$ pip install celery
Python 2.7.17
kali@kali:
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.
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.
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.
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.
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.
Please run this command
sudo update-alternatives --config python
And send my the output
from iky.
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.
Ok
python --version
Output
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 3
Output
python --version
Output
from iky.
Ok
python --version
Output
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 3
Output
python --version
Output
kali@kali:$ python --version$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 3
Python 2.7.17
kali@kali:
[sudo] password for kali:
update-alternatives: using /usr/bin/python3 to provide /usr/bin/python (python) in auto mode
kali@kali:$ python --version$ Thanks!
Python 3.8.2
kali@kali:
from iky.
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.
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.
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//iKy$ cd backend
kali@kali:
kali@kali:/iKy/backend$ ./celery.sh/iKy/backend$
./celery.sh: line 3: celery: command not found
kali@kali:
from iky.
Ok.
sudo apt-get install python3-celery
And again, inside backend directory
./celery.sh
from iky.
Ok.
sudo apt-get install python3-celery
And again, inside backend directory
./celery.sh
kali@kali:/iKy/backend$ ./celery.sh/iKy/backend$ ./celery.sh
./celery.sh: line 3: celery: command not found
kali@kali:
./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.
And python --version is 3.7???
from iky.
python --version
Python 3.8.2
from iky.
It must be 3.7.X
from iky.
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.
[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.
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)
- celery command not found HOT 3
- Resizing the window HOT 1
- ERROR: Failed building wheel for aiohttp HOT 2
- Graphic Error with TASKEXEC HOT 1
- ERROR in Could not resolve module
- La aplicación funciona bien en localhost, pero no puedo verla desde otra maquina.- HOT 1
- Problem with python HOT 4
- endless loop HOT 4
- Service TOR DISABLED HOT 1
- HELP´! HOT 1
- Issue with npm, both manually and with easy install HOT 1
- Problem with backend HOT 4
- error en el backend (docker) y posible solución HOT 3
- Jinja error HOT 1
- problem tiktok HOT 1
- iKy stops after submitting email to gatherer HOT 1
- npm start error HOT 1
- Can't update API Key HOT 1
- Report question HOT 2
- Error al iniciar npm en Frontend HOT 2
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 iky.