I have current version of Pycharm Community Edition 2017.2.4 installed on Linux and on Windows. In the one working on Windows, I open non-project files and while I write code in them, there is autocompletion for in-project modules, classes, etc. On the Linux (Debian) however, when I write code in non-project …
Tag: python
How to manually clean up conda in my home directory?
I use Anaconda in my computer to handle my python versions and environments. The location of the Anaconda installation (and consequently the default location for newly created environments) is /opt/anaconda3/. I have two custom environments that I have created – envA and envB. envA is present in /opt/an…
kali linux pip install paramiko get ValueError
when I install paramiko with pip get error ValueError: Unable to determine SOCKS version from socks://127.0.0.1:1080/ This is the detailed error code I get: And I don’t what to do then I try to upgrade pip get error prompt code I use the command get the prompt code what should I do? Answer if you don…
Kivy VM Buildozer Command Failed
I recently learned about kivy and tried to make a very simple little app just to test it. To try it out properly I used the kivy launcher but also felt compelled to try and compile it to an APK for my android phone. So I downloaded virtual box and installed linux mint on it. After installing things like java,
pip freeze doesn’t show opencv in Linux/Mint
I’ve installed OpenCV on Linux Mint and I can import it in python But when I want to see it in pip freeze, it doesn’t appear: Also, I tried to import it via PyCharm’s Project Interpreter. It wants to installation with pip. (pip install opencv-python and pip install cv2) When I installed that…
running python3 app at start up of Linux
I have the following script But the output is : the app has no problem running when I manually run it by typing python3 Server.py UPDATE: Clarification to the post I need the app to start running after the user pi logged in because it will need to get access to chrome Answer So after the previous comment was …
Running compiled Linux executable on other Linux computers
I’ve been working on a custom program that allows me to control my other Linux-based computers on my network. I’ve been using Python and used PyInstaller to compile the code into a Linux executable. Running the executable on my own computer works just fine and does exactly what it’s supposed…
how to set path for crontab in ubuntu
When I am trying to execute python on crontab ,I jut run a dummy program and I found the following information I have given my crontab like this What will be the path for my corntab Answer Always use absolute paths when adding cronjobs:
Python3 dbus import error: undefined symbol: _Py_ZeroStruct
I am trying to use python-mbus for python 3, i have installed it with However the import fails with: I have also installed it with: But i still get the same error: This is in sys.path: Im runnin on Debian GNU/Linux buster/sid Any idea of what am I doing wrong? Answer I’m not exactly sure how I fixed thi…
Cannot import any modules (installed used pip) in python 2.7.14
I downloaded the source code of python 2.7.14 and built it and installed it on linux ( Red Hat 4.8.5-16 ). I have earlier installed python-magic and requests libraries. Now when I try to import modules installed using pip, I get this: while similar thing works perfectly fine in python 2.7.5 (default with the …