django-crm install - django

I am trying to install django-crm. I am using pip to install it:
pip install django-crm
I am getting:
Downloading/unpacking django-crm
Could not find any downloads that satisfy the requirements django-crm
No distributions at all found for django-crm
Storing complete log in C:\users\User\AppData\Roaming\pip\pip.log
Edit:
The log file includes the following:
------------------------------------------------------------
C:\Python27\Scripts\pip-script.py run on 06/27/12 00:33:50
Downloading/unpacking django-crm
Getting page http://pypi.python.org/simple/django_crm
Could not fetch URL http://pypi.python.org/simple/django_crm: HTTP Error 404: Not Found
Will skip URL http://pypi.python.org/simple/django_crm when looking for download links for django-crm
Getting page http://pypi.python.org/simple/
URLs to search for versions for django-crm:
* http://pypi.python.org/simple/django_crm/
Getting page http://pypi.python.org/simple/django_crm/
Could not fetch URL http://pypi.python.org/simple/django_crm/: HTTP Error 404: Not Found
Will skip URL http://pypi.python.org/simple/django_crm/ when looking for download links for django-crm
Could not find any downloads that satisfy the requirement django-crm
No distributions at all found for django-crm
Exception information:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip\basecommand.py", line 126, in main
self.run(options, args)
File "C:\Python27\lib\site-packages\pip\commands\install.py", line 223, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "C:\Python27\lib\site-packages\pip\req.py", line 954, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "C:\Python27\lib\site-packages\pip\index.py", line 152, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for django-crm
Can anyone help me out? How do I install django-crm? Is there anywhere I can see a demo of it instead of installing it myself?
Thanks!!

Since there is no PyPI entry for Django CRM, give pip the location where it could find the package:
$ pip install svn+http://django-crm.googlecode.com/svn/trunk/#egg=django-crm
It works for me.

try all new django crm in github
https://github.com/MicroPyramid/Django-CRM

Related

Installation failed with standard install instructions

Following the instructions in the documentation, I attempt to create my new project, and get the following error:
EDIT: I should not post questions late at night. Added more detail to the terminal output. Prior to this, I verified pip was upgraded, djangocms-installer is installed and the virtualenv was installed.
(djangoenv) [ec2-user#web01 ~]$ djangocms jbi
Creating the project
Please wait while I install dependencies
If I am stuck for a long time, please check for connectivity / PyPi issues
Dependencies installed
Creating the project
The installation has failed.
*****************************************************************
Check documentation at https://djangocms-installer.readthedocs.io
*****************************************************************
Traceback (most recent call last):
File "/home/ec2-user/djangoenv/bin/djangocms", line 8, in <module>
sys.exit(execute())
File "/home/ec2-user/djangoenv/lib/python3.7/site-packages/djangocms_installer/main.py", line 44, in execute
django.setup_database(config_data)
File "/home/ec2-user/djangoenv/lib/python3.7/site-packages/djangocms_installer/django/__init__.py", line 353, in setup_database
output = subprocess.check_output(command, env=env, stderr=subprocess.STDOUT)
File "/usr/lib64/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/usr/lib64/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/home/ec2-user/djangoenv/bin/python', '-W', 'ignore', 'manage.py', 'migrate']' returned non-zero exit status 1.
Using Django inside a virtual environment created on an AWS EC2 instance, running Amazon Linux 2. I'm OK with burning the instance down and using another distro if the issue is the distro.

Youtube-dl error messages & infinite looping

I've used youtube-dl successfully for quite a while, until recently. Now it seems to me to be useless for grabbing videos off of YouTube or Odysee, which are the only platforms I really use.
I have already tried uninstalling & reinstalling.
Here are the error messages; similar errors occur regardless of the way I format the command, or which video I'm attempting to grab.
Here is an example from Odysee:
will#will-Inspiron-15-7579:~$ youtube-dl https://odysee.com/#betterthanfood:4/brave-new-world-aldous-huxley-book:f
[generic] brave-new-world-aldous-huxley-book:f: Requesting header
WARNING: Falling back on generic information extractor.
[generic] brave-new-world-aldous-huxley-book:f: Downloading webpage
[generic] brave-new-world-aldous-huxley-book:f: Extracting information
[generic] f0338bc5ed0263d3832d5288807d43fb222e0a10?: Requesting header
[redirect] Following redirect to https://odysee.com/$/embed/brave-new-world-aldous-huxley-book/f0338bc5ed0263d3832d5288807d43fb222e0a10
[generic] f0338bc5ed0263d3832d5288807d43fb222e0a10: Requesting header
WARNING: Falling back on generic information extractor.
[generic] f0338bc5ed0263d3832d5288807d43fb222e0a10: Downloading webpage
[generic] f0338bc5ed0263d3832d5288807d43fb222e0a10: Extracting information
[generic] f0338bc5ed0263d3832d5288807d43fb222e0a10?: Requesting header
[redirect] Following redirect to https://odysee.com/$/embed/brave-new-world-aldous-huxley-book/f0338bc5ed0263d3832d5288807d43fb222e0a10
[generic] f0338bc5ed0263d3832d5288807d43fb222e0a10: Requesting header
WARNING: Falling back on generic information extractor.
[generic] f0338bc5ed0263d3832d5288807d43fb222e0a10: Downloading webpage
^C
ERROR: Interrupted by user
As you can see, this command triggered infinite recursion/iteration which would have continued indefinitely; I had to manually terminate the program with CTRL+C
Here's an example from Youtube, which has a different problem:
will#will-Inspiron-15-7579:~$ youtube-dl https://www.youtube.com/watch?v=U5afsxvz75c
[youtube] U5afsxvz75c: Downloading webpage
[youtube] U5afsxvz75c: Downloading video info webpage
WARNING: unable to download video info webpage: HTTP Error 404: Not Found
WARNING: unable to download video info webpage: HTTP Error 404: Not Found
WARNING: unable to download video info webpage: HTTP Error 404: Not Found
WARNING: unable to download video info webpage: HTTP Error 404: Not Found
WARNING: unable to download video info webpage: HTTP Error 404: Not Found
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 6, in <module>
youtube_dl.main()
File "/usr/lib/python3/dist-packages/youtube_dl/__init__.py", line 476, in main
_real_main(argv)
File "/usr/lib/python3/dist-packages/youtube_dl/__init__.py", line 466, in _real_main
retcode = ydl.download(all_urls)
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 1989, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 785, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 440, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1607, in _real_extract
token = video_info.get('token') or video_info.get('account_playback_token')
AttributeError: 'NoneType' object has no attribute 'get'
Again, I just uninstalled and reinstalled youtube-dl using apt, so this should be the latest version. Output of youtube-dl --version is 2018.03.14.
Thanks for any help you may be able to provide :)
You are using a very outdated version. First, uninstall apt package, then run:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
and
sudo chmod a+rx /usr/local/bin/youtube-dl
Latest version is now 2021-05-16, and works well with your URL

googlecloudsdk.core.exceptions.RequiresAdminRightsError: You cannot perform this action because you do not have permission

I am trying to install google-cloud-sdk in ubuntu-18.04. I am following offical docs given here. When I run ./google-cloud-sdk/install.sh I get following error:-
Welcome to the Google Cloud SDK!
To help improve the quality of this product, we collect anonymized usage data
and anonymized stacktraces when crashes are encountered; additional information
is available at <https://cloud.google.com/sdk/usage-statistics>. This data is
handled in accordance with our privacy policy
<https://policies.google.com/privacy>. You may choose to opt in this
collection now (by choosing 'Y' at the below prompt), or at any time in the
future by running the following command:
gcloud config set disable_usage_reporting false
Do you want to help improve the Google Cloud SDK (y/N)? N
Traceback (most recent call last):
File "/home/vineet/./google-cloud-sdk/bin/bootstrapping/install.py", line 225, in <module>
main()
File "/home/vineet/./google-cloud-sdk/bin/bootstrapping/install.py", line 200, in main
Prompts(pargs.usage_reporting)
File "/home/vineet/./google-cloud-sdk/bin/bootstrapping/install.py", line 123, in Prompts
scope=properties.Scope.INSTALLATION)
File "/home/vineet/google-cloud-sdk/lib/googlecloudsdk/core/properties.py", line 2406, in PersistProperty
config.EnsureSDKWriteAccess()
File "/home/vineet/google-cloud-sdk/lib/googlecloudsdk/core/config.py", line 198, in EnsureSDKWriteAccess
raise exceptions.RequiresAdminRightsError(sdk_root)
googlecloudsdk.core.exceptions.RequiresAdminRightsError: You cannot perform this action because you do not have permission to modify the Google Cloud SDK installation directory [/home/vineet/google-cloud-sdk].
Re-run the command with sudo: sudo /home/vineet/google-cloud-sdk/bin/gcloud ...
I tried to search it on stackoverflow and github-issues but in vain.
Would appreciate any hint to solve it.
As stated on the error message.
Re-run the command with sudo: sudo /home/vineet/google-cloud-sdk/bin/gcloud ...
The install.sh script should be run using sudo.
There are also other alternatives to install the Google Cloud SDK in Ubuntu 18.04 just as installing the package with apt-get as explained on the documentation.

webapp2 application not running locally

I am starting with webapp2. I have created an application at following directory.
/home/github_projects/hellowebapp2
But when I try to fire up a server using:
/usr/lib/google-cloud-sdk/bin/dev_appserver.py github_projects/hellowebapp2
I get following error:
This action requires the installation of components: [app-engine-python]
You cannot perform this action because this Cloud SDK installation is
managed by an external package manager. If you would like to get the
latest version, please see our main download page at:
https://cloud.google.com/sdk/
Traceback (most recent call last):
File "/usr/lib/google-cloud-sdk/bin/dev_appserver.py", line 35, in <module>
main()
File "/usr/lib/google-cloud-sdk/bin/dev_appserver.py", line 22, in main
command=__file__)
File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/updater/update_manager.py", line 189, in EnsureInstalledAndRestart
return manager._EnsureInstalledAndRestart(components, msg, command)
File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/updater/update_manager.py", line 1139, in _EnsureInstalledAndRestart
restart_args=restart_args):
File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/updater/update_manager.py", line 660, in Install
restart_args=restart_args)
File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/updater/update_manager.py", line 690, in Update
self._EnsureNotDisabled()
File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/updater/update_manager.py", line 357, in _EnsureNotDisabled
'The component manager is disabled for this installation')
googlecloudsdk.core.updater.update_manager.UpdaterDisableError: The component manager is disabled for this installation
P.S I have already installed sdk from https://cloud.google.com/sdk/docs/#deb
Ok I solved this by installing specific python package from :
https://cloud.google.com/sdk/downloads#apt-get
sudo apt-get install google-cloud-sdk-app-engine-python

Could not find any downloads that satisfy the requirement django-1.6.1

I am going through this tutorial on Django. I have Django installed outside of the virtualenv, but inside, I try to use the same version as the linked video. I use the command
pip install django--1.6.1
but get the following error message:
(skillshare)skillshare$ pip install django--1.6.1
Downloading/unpacking django-1.6.1
Could not find any downloads that satisfy the requirement django-1.6.1
Cleaning up...
No distributions at all found for django-1.6.1
Storing debug log for failure in /Users/NAThompson/.pip/pip.log
The log file reads:
Getting page https://pypi.python.org/simple/django--1.6.1/
Could not fetch URL https://pypi.python.org/simple/django--1.6.1/:
404 Client Error: Not Found
Will skip URL https://pypi.python.org/simple/django--1.6.1/ when looking for
download
links for django-1.6.1
Getting page https://pypi.python.org/simple/
URLs to search for versions for django-1.6.1:
* https://pypi.python.org/simple/django--1.6.1/
Getting page https://pypi.python.org/simple/django--1.6.1/
Could not fetch URL https://pypi.python.org/simple/django--1.6.1/:
404 Client Error: Not Found
How can this be fixed?
your command is wrong, that's right:
pip install django==1.6.1