unable to find timezone in django - python

What I am doing.
I am working on a very basic django project.
what is my problem.
When I am loading my webpage (locally) it is showing following error on webpage.
A server error occurred. Please contact the administrator
and error that I saw on terminal is
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key utc'

Running the command below in the terminal should fix the issue:
pip3 install tzdata
or
pip install tzdata

Related

Dataiku gensim install problem fatal error

I'm working with a python notebook in Dataiku, I used gensmin package and it worked fine till last week.
Now I've tried to pip install gensim again, and at first it seems that it loads the chached package:
'Using cached gensim-4.2.0.tar.gz'
But at the end I get a fatal error attached in the image below.
error
I appreciate any help!
From Dataiku support:
Navigate to Administrations>Code Envs>Python_xxx and add gensim in
Requested packages.
If the code-environment update fails, please reach out to the admin to
install the system package python3-devel. ​The admin should be able
to install this depending on the OS the DSS is installed.

pip3 cannot determine archive format - atlasplots installation

i am trying to install Atlas Plots, but i am getting some errors. I tried to install it with the following command line:
pip3 install https://github.com/joeycarter/atlas-plots
But when i run it, terminal shows me the following error:
Cannot determine archive format of /tmp/pip-req-build-o2c8xrmg
And this command line is the only option available in the installation tutorial on the software site, which is:
https://atlas-plots.readthedocs.io/en/latest/getting_started.html#installing-atlasplots
And i need this atlasplots in my research, so i would appreciate any help.
The correct syntax to install from a Github repo are:
pip install "git+https://github.com/joeycarter/atlas-plots.git#egg=atlasplots"
or
pip install "git+ssh://git#github.com/joeycarter/atlas-plots.git#egg=atlasplots"
See the docs at https://pip.pypa.io/en/stable/cli/pip_install/#vcs-support
Report the problem at https://github.com/joeycarter/atlas-plots/issues or better send a pull request fixing https://github.com/joeycarter/atlas-plots/blob/master/docs/getting_started.rst

Error installing with pip - Please check proxy URL. It is malformed and could be missing the host

When trying to install any packages on my computer using "pip install" i get returned the error
ERROR: Could not install packages due to an EnvironmentError: Please check proxy URL. It is malformed and could be missing the host.
i came across this when trying to run "pip install captcha-harvester" or any other similar command
there have been other posts on stack overflow where they suggested to use the command shown below
set http_proxy=http://[username:password#]proxyserver:port
when using the commands the error continues so any help with my problem would be greatly appreciated.

Issues with installing tweepy with Anaconda

I'm getting this error while trying to install Tweepy Package for python (i'm working with anconda prompt):
ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'conda-forge::pyjwt-1.5.3-py_0'.
CondaError: Cannot link a source that does not exist. C:\ProgramData\Anaconda2\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
Attempting to roll back.
CondaError: Cannot link a source that does not exist. C:\ProgramData\Anaconda2\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
I followed the suggestion and ran 'conda clean --packages' and then tried to install it again, using conda install -c conda-forge tweepy, suffice to say it didn't work and I'm getting the following error :
ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'conda-forge::pyjwt-1.5.3-py_0'.
CondaError: Cannot link a source that does not exist. C:\ProgramData\Anaconda2\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
Attempting to roll back.
CondaError: Cannot link a source that does not exist. C:\ProgramData\Anaconda2\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
Any help here? I'm using python 2.7, Anconda2-5.0.1 and Windows 10
I got the same exact error as yours. If you check tweepy's Github https://github.com/tweepy/tweepyyou you will read that the easiest way to install tweepy is by using pip, so you should follow that way instead.
So in case you haven't installed pip using conda, then type at the conda command prompt
conda install pip
Then again on the command prompt
pip install tweepy
It should work now

Getting missing dependency error on installing erpnext on cpanel centos

I am trying to install ERPnext on my cpanel.
But I am getting Missing Dependency: libmysqlclient_r.so.15()(64bit) this message from the script.
I have googled it but no helpful material was found .
As far as I knows from my research I have to install mysql-devel on my server but when I tryed to install it. I gets a message that it is already installed on the server.
Any idea how can I get it resolved or what should I do
Image of my terminal
I got this error resolved by changing in yum.config file of etc directory.
We have to remove mysql from exclude-list.
Look for more info i the Cpanel mysql python forum.

Categories

Resources