#
###
Hi.
i have a problem with installing some packages on my pycharm.
when i try to install a package for example "Pandas",on my pycharm,i got this error:
_RuntimeError: Broken toolchain: cannot link a simple C program_
i'm an amateur with programming,and i couldn't fix it for a week!
can you please help me and tell me what should i do?
i appreciate that,i search all internet for solution,but i can't find it.
thank you and eexcuse me for my bad english.
and i should say my pip is updated i guess!
i upload the screen shot of error:
proposed solution from program:
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'C:\Users\Arien Lupin\AppData\Local\Programs\Python\Python36-32\python.exe'.
You have two options:
pip install -U pip
. Recent versions of pip should find wheels, which don't require a C complier. Then reinstall NumPy and pandas.$ sudo apt install python-xlib python-tk
$ pip install Image
$ pip install python-xlib
$ pip install Image
$ pip install pyautogui
FIrst you have to install all these dependencies then install 'pyautogui' in pycharm.
This work for me.
change pip to pip3 if you use pip3.
遇到了同样的错误,还是无法解决
$ sudo apt install python-xlib python-tk
$ pip install Image
$ pip install python-xlib
$ pip install Image
$ pip install pyautoguiFIrst you have to install all these dependencies then install 'pyautogui' in pycharm.
This work for me.
change pip to pip3 if you use pip3.
Perfect you man
Hi,
its working, thanks
Hi,
- Install Anaconda and Update
- On PyCharm go to File --> Settings --> Project Interpreter
- from the right top corner click setting button and from dropdown select "Add"
- ON new (Add Python Interpreter) window click Conda Enviroment --> Existing enviroment --> OK
- Then go back to Project Interpreter page and select Python Interpreter you created now(something like this: Python3.7(blah blah blah ) C:\ Program Data\Anaconda3..................
- Then you will see Packages List. On the right handside click "+" and search for pandas.
- Click install package
It has also work, thanks for your help @zeezee84
Hello,
- Anaconda
is it mandatory to install anaconda?
because in python udemy course anaconda is not available .
and now I already installed all the package and pip latest version but still getting issue
kindly suggest me
@sammy0231
its mandatory to install Anaconda, otherwise pycharm will not work and follow the same step as above
ok
@sammy0231
its mandatory to install Anaconda, otherwise pycharm will not work and follow the same step as above
done all the steps still getting same issue,
could you please review the screen and let me know if you got any issue.
check project path also.
what is missing from my end
project path is correct, after install please restart machine.
and for check correct working, please import for testing purpose like
import numpy as np
X = np.array([[1, 2], [3, 4], [1, 2], [3, 4]])
print(X)
y = np.array([1, 2, 3, 4])
print(y)
and please check setting for correctly pointing
@sammy0231
its mandatory to install Anaconda, otherwise pycharm will not work and follow the same step as above
No its not mandatory!
Most helpful comment
Hi,