Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
86 views

Help repairing broken Python base on Linux with Miniedit-WiFi setup

I previously uninstalled Python3.12 (on which I had ran Miniedit-WiFi tool) and left the default Python3.11; however the following console-log error keeps popping out whenever I run a Python script on ...
Kayemba Luwaga's user avatar
0 votes
1 answer
13k views

How to change python3 path pointer?

I am using Ubuntu 20.04.2 LTS with python version 3.9.5 installed. When I type which python in the terminal, it shows /usr/bin/python which is the default path for python2 (2.7 in my case). But when I ...
atanughosh01's user avatar
1 vote
1 answer
2k views

Where do I define LD_LIBRARY_PATH so that Apache can see it?

I'm using Ubuntu 18.04. I have defined this in my /etc/profile file export LD_LIBRARY_PATH=/usr/local/lib/ I'm trying to figure out where I define the above so that Apache can see it. Currently, ...
Dave's user avatar
  • 2,155
2 votes
1 answer
359 views

Messed up Python3.6 on Ubuntu 16.04

I installed anaconda and run 'sudo apt-get update && sudo apt-get dist-upgrade' on an Ubuntu 16.04 system. I upgraded pip inside an Anaconda environment and also used the 'sudo apt-get ...
Kane's user avatar
  • 121
-2 votes
1 answer
4k views

Default python path - bash: /usr/local/bin/python2.7: No such file or directory

When I write python on terminal get an error bash: /usr/local/bin/python2.7: No such file or directory but if I use in terminal python2 or python3 it's working perfectly How to solve this? Please ...
MD SHAYON's user avatar
  • 395
0 votes
2 answers
826 views

File ignored PyCharm Pro IDE and this the correct sys.path for PYTHONPATH?

My PyCharm IDE doesn't automatically create a venv directory so I have to manually create my own. My venv directory comes up as ignored. This is normal. A possible solution is found the comment ...
SeemsToBeStuck's user avatar
1 vote
1 answer
130 views

iPython3 opened in Terminal - os.path.dir adds letter 'd' to path and triggers File not found error

Trying to iterate through a folder. I am working on ipython3, opened in Terminal. This is the code (in python 3.6.4): for filename in os.listdir('.'): for file in filename: with open(os....
gl3yn's user avatar
  • 113
2 votes
1 answer
14k views

Get anaconda root directory

l'm looking to get my anaconda root directory. so l run : which anaconda3 l got /root/anaconda3/bin/anaconda Is that my anaconda root directory ?
vincent 's user avatar
11 votes
5 answers
92k views

How to set anaconda as a default python?

I have just installed the Anaconda (for ipython notebook -- wanted to run some pandas programme). It is installed successfully but the problem here is whenever I type which python, it is always using ...
yogesh Ratudi's user avatar