andyalam / django_instagram Goto Github PK
View Code? Open in Web Editor NEWPhoto sharing social media site built with Python/Django. Based on Instagram's design.
Photo sharing social media site built with Python/Django. Based on Instagram's design.
Hey andyalam,
I am facing this issue after cloning and running your project. Can you please help me out?
env/lib/python3.6/site-packages/asgi_redis/core.py", line 269, in new_channel assert pattern.endswith("?") builtins.AssertionError:
During installing of requirements.txt file with the use of python3 and pip3 terminal is throwing this error :
pip3 install -r requirements.txt
Downloading/unpacking django-annoying==0.8.1 (from -r requirements.txt (line 1))
Downloading django-annoying-0.8.1.tar.gz
Running setup.py (path:/tmp/pip-build-0f7ean85/django-annoying/setup.py) egg_info for package django-annoying
Downloading/unpacking channels==0.17.3 (from -r requirements.txt (line 2))
Downloading channels-0.17.3-py2.py3-none-any.whl (53kB): 53kB downloaded
Downloading/unpacking Django==1.10.3 (from -r requirements.txt (line 3))
Downloading Django-1.10.3-py2.py3-none-any.whl (6.8MB): 6.8MB downloaded
Downloading/unpacking django-imagekit==3.3 (from -r requirements.txt (line 4))
Downloading django-imagekit-3.3.tar.gz (56kB): 56kB downloaded
Running setup.py (path:/tmp/pip-build-0f7ean85/django-imagekit/setup.py) egg_info for package django-imagekit
no previously-included directories found matching 'tests'
Downloading/unpacking imagekit==1.0.0 (from -r requirements.txt (line 5))
Downloading imagekit-1.0.0.tar.gz
Running setup.py (path:/tmp/pip-build-0f7ean85/imagekit/setup.py) egg_info for package imagekit
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip-build-0f7ean85/imagekit/setup.py", line 21, in
with open('LICENSE') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'LICENSE'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip-build-0f7ean85/imagekit/setup.py", line 21, in
with open('LICENSE') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'LICENSE'
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-0f7ean85/imagekit
Storing debug log for failure in /home/pratyush/.pip/pip.log
Hello
Please write detailed installation and start-up instructions.
Thank you very much for your efforts.
Yours faithfully
When I try and run your example I upon doing
python manage.py runworker
2019-10-26 18:17:48,242 - INFO - runworker - Using single-threaded worker.
2019-10-26 18:17:48,242 - INFO - runworker - Running worker against channel layer default (asgi_redis.core.RedisChannelLayer)
2019-10-26 18:17:48,242 - INFO - worker - Listening on channels http.request, websocket.connect, websocket.disconnect, websocket.receive
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/skyler/Documents/pyvenvs/insta-django/lib/python3.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
utility.execute()
File "/home/skyler/Documents/pyvenvs/insta-django/lib/python3.7/site-packages/django/core/management/__init__.py", line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/skyler/Documents/pyvenvs/insta-django/lib/python3.7/site-packages/django/core/management/base.py", line 294, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/skyler/Documents/pyvenvs/insta-django/lib/python3.7/site-packages/django/core/management/base.py", line 345, in execute
output = self.handle(*args, **options)
File "/home/skyler/Documents/pyvenvs/insta-django/lib/python3.7/site-packages/channels/management/commands/runworker.py", line 82, in handle
worker.run()
File "/home/skyler/Documents/pyvenvs/insta-django/lib/python3.7/site-packages/channels/worker.py", line 88, in run
channel, content = self.channel_layer.receive_many(channels, block=True)
File "/home/skyler/Documents/pyvenvs/insta-django/lib/python3.7/site-packages/asgiref/base_layer.py", line 34, in receive_many
raise NotImplementedError()
NotImplementedError
I tried running regis server and with regis-cli i got a ping back on the right port.
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.