Giter Club home page Giter Club logo

Comments (5)

sujirou avatar sujirou commented on July 17, 2024

here are a few:

when running !pip install tensorflow --upgrade, this are some of the errors:

absl_py-2.1.0-py3.11.egg is deprecated
apache_beam-2.54.0rc1-py3.11-win-amd64.egg is deprecated
dm_tree-0.1.8-py3.11-win-amd64.egg is deprecated
h5py-3.10.0-py3.11-win-amd64.egg is deprecated

it suggested following this link but it's no use
pypa/pip#12330

from tfodcourse.

sujirou avatar sujirou commented on July 17, 2024

https://prnt.sc/bXYGKUHaQyhd

from tfodcourse.

said-ml avatar said-ml commented on July 17, 2024

it seem that uses the old versions that are not supported anymore run this command:
pip install --upgrade absl-py apache-beam dm-tree h5py

from tfodcourse.

ikwyl6 avatar ikwyl6 commented on July 17, 2024

@said-ml when I try that I get error: externally-managed-environment and more verbiage how I should install:

_ This environment is externally managed
_─> To install Python packages system-wide, try 'pacman -S
    python-xyz', where xyz is the package you are trying to
    install.                                                                                             
          
    If you wish to install a non-Arch-packaged Python package,
    create a virtual environment using 'python -m venv path/to/venv'.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.
                                                                                                         
    If you wish to install a non-Arch packaged Python application,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. Make sure you have python-pipx
    installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-syst
em-packages.
hint: See PEP 668 for the detailed specification.

Do you have any suggestions on how I can remove these pkgs and re-install? thanks for any help for pip newbie.

from tfodcourse.

said-ml avatar said-ml commented on July 17, 2024
#in your terminal command-line type
pacman -S  python-package_name
#Create a Virtual Environment:
python -m venv path/to/venv
#Use pipx to install a non-Arch packaged Python:
pipx install package_name
# if you want to remove the packages try 
--break-system-packages
# but be cautious 

from tfodcourse.

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.