Giter Site home page Giter Site logo

Comments (6)

Mahedi-61 avatar Mahedi-61 commented on August 26, 2024 1

It's not a good idea to uninstall Python-2.7.
Because, it may cause dependency issues since many applications in the Linux system inherently depend on Python-2.7.

Try to install Python-3.8 as a separate application. You can do the following

wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz && tar -xvf Python-3.8.0.tgz
cd Python-3.8.0
./configure
make
sudo make altinstall

After installation, type python3.8 on the terminal.
Let me know whether it works or not.

You can aslo make it python3 by making an alias variable in the ~/.bashrc file. try

sudo nano ~/.bashrc
alias python3="python3.8"

Then press Ctrl+O + Ctrl+M + Ctrl+X

from miu_fall_2019.

mzminhaz5683 avatar mzminhaz5683 commented on August 26, 2024

Thank you sir. It works. I have installed it. But after that I loss pip... I have seen many youtube videos. but I can't find pip3 even no longer pip is there in pc

from miu_fall_2019.

Mahedi-61 avatar Mahedi-61 commented on August 26, 2024

First, try typing in terminal pip3.8

If it's not there then try this
sudo apt-get install python3-pip
Then again, try typing in terminal pip3.8

If that doesn't work. then try this.

wget https://bootstrap.pypa.io/get-pip.py
python3.8 get-pip.py

If that run properly, then instead of pip3 you have to use every time python3.8 -m pip
And of course, sudo at the first

For example, if you want to install TensorFlow, try

sudo python3.8 -m pip install tensorflow==1.4.0
sudo python3.8 -m pip install  keras

from miu_fall_2019.

mzminhaz5683 avatar mzminhaz5683 commented on August 26, 2024

Sir.. thanks... but not working for me.. It seems like 'zlib' library is not there. I also try to work with virtualenv ... but that also required 'zlib' library... But it's not in python3.8 ... I check that through import zlib ...but doesn't work.... but python 2.7 and even 3.6 have that library... don't understand what to do nowww

from miu_fall_2019.

Mahedi-61 avatar Mahedi-61 commented on August 26, 2024

sudo apt-get install libgcrypt11-dev zlib1g-dev

from miu_fall_2019.

mzminhaz5683 avatar mzminhaz5683 commented on August 26, 2024

Thank u sir... Full complete now... Working in Virtualenv...

from miu_fall_2019.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.