pip/pip3 install kivy not working in terminal (edited) - python

from what Ive tried Kivy is the only library i cant install, ive tried pip install kivy and pip3 install kivy heres the error.
error
https://docs.google.com/document/d/1ouhC90oO2AdTLmisFlzN8EVPEEzRsu-AbgIm9V980eA/edit
(its to long to post here)
this error is similar to this but the solution does not work and i get the same error.

I think, you cannot install kiwy just through "pip install kivy"
Here are the installation instructions.
You need "Installing the kivy stable release"
https://kivy.org/doc/stable/installation/installation-windows.html

Run this in cmd:
python -m pip install kivy==2.0.0rc1
Source: https://www.youtube.com/watchv=bMHK6NDVlCM&list=PLHU4Ue3mC6j7n5DuLVYao09hZx0tgOIGZ

Related

How do I install packages in pycharm venv?

I've been using pycharm for a while now and I haven't really run into any problems until now, I just started a new project using Pygame and I started up pycharm and found that I could no longer install pygame. I have used it before in pycharm and had no problem. When I try to use pip I get this error:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Alarm-1202\AppData\Local\Temp\pip-install-xdvgbolk\pygame\
I have tried installing it outside pycharm and that works fine but it seems I don't have the same permissions inside the pycharm venv.
I think the issue was caused by an older version of pip which I didn't manage to fix but I could install pygame using easy_install instead.
After opening pycharm terminal:
python -m pip install -U --force-reinstall pip
pip install your_package_name

Python Kivy library installation on Ubuntu OS got dependency errors

I'm trying to convert my Python file to APK file on virtual machine(Ubuntu OS) but at first I have to install Kivy library on Ubuntu. In the Udemy video that I watch, I must only do 1 thing:
bash kivy-buildozer-installer.sh
When I run this, everything goes well until here:
After that I got more than 100 lines of errors. This is a part of them:
I tried also
pip install kivy
pip3 install kivy
sudo pip install kivy
and they got the same error with bash kivy-buildozer-installer.sh.
I don't know what to do else.
Kivy wheel is not yet available for python 3.8
This issue is mentioned in github issues
You can still install it using
pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/
I had a lot of problems too when I tried to install it your way but sudo apt install python3-kivy worked for me. I advise you to try that.

How to fix "Python quit unexpectedly" when trying to install a module through pip install? Terminal Crashes with message "zsh: abort"

I think I broke my terminal. For some reason I am unable to use pip install to install anything on my Macbook Pro.
When I try to install such as
pip install Flask
I get
zsh: abort pip install Flask
I've tried both on pip and pip, but I get the same error on both.
Now I am unable to install any python module. I thought it was due to Bash -> zsh from Catalina update but when I changed it to Bash and tried the same, I get the same result.
Any idea how I can fix this? I am unable to do any python work due to needed modules unable to being install now
setting DYLD_LIBRARY_PATH before installing any packages with pip solved the issue for me:
export DYLD_LIBRARY_PATH=/usr/local/Cellar/openssl/1.0.2t/lib
(adjust for a valid openssl path in your system)
I found the solution in this github issue.

How to install pip Pygame1.9.5.dev0? [duplicate]

Currently unable to install Pygame via pip:
pip install pygame
Getting this message:
Concerned by it being termed an EOF error, is this an error in the module itself?
There's dev versions available as of now. Get them via
pip install pygame==2.0.0.dev6
Pygame is not compatible with Python 3.8 at the moment. I would recommend you to downgrade back to 3.7 and installing with pip there.
pip is doesn't have pygame up.
But there is a alternative that worked for me. https://www.pygame.org/wiki/CompileWindows
Read and follow the steps correctly and it should install.
you also need to update your code to pygame 2.0.0 code because it's only for 3.8
BTW you have to follow the SDL2 instructions since pygame 2.0.0 uses that.
the above commands worked for me today 3-15-20 with Python-3-8-0 on Linux Mint 19
to get IDLE to recognize pygame.
sudo pip3 install pygame==2.0.0.dev6
I also had to update pip first with
sudo pip3 install --upgrade pip
Pygame requires visual studio C++ build tools to install. Ensure you have these downloaded from here.
Open power shell window and make sure your internet is on
Then type the following command
pip install pygame
It will automatically download it for you and also install it
Again make sure your internet is on
I have python 3.8.2 and it worked on my pc

Cannot install tweepy on Rasbian with sudo pip install

I am trying to make a Twitter app with my Pi but when I try the command
sudo pip install tweepy
I get greeted by the following error:
AttributeError: 'NoneType' object has no attribute 'skip_requirements_regex'
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /home/pi/build/tweepy
Any suggestions? This also happens if I try to install directly from GitHub
Someone on the Raspberry Pi forums figured out the problem. Apparently there is a problem installing some applications with pip v1.1, which is the version in the Raspbian repository. Updating pip with the following command did the trick.
sudo pip install -U pip
Someone had a similar question. Here is the link on github.
https://github.com/tweepy/tweepy/issues/441
If that doesn't help you can go on the link of the main page
https://github.com/tweepy/tweepy
and then click download zip on the right.
have you tried installing it from the source?
git clone https://github.com/tweepy/tweepy.git
cd tweepy
python setup.py install
I have tried "sudo pip install -U pip"
but still got errors but looking at documentation found better option.
easy_install tweepy
and it worked as expected.

Categories

Resources