Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too Many "DEPRICATED" Errors Running This In 2024 #157

Open
sujirou opened this issue Feb 4, 2024 · 5 comments
Open

Too Many "DEPRICATED" Errors Running This In 2024 #157

sujirou opened this issue Feb 4, 2024 · 5 comments

Comments

@sujirou
Copy link

sujirou commented Feb 4, 2024

would anyone at least tell us this course is no longer usable? that way we can move on?
i've raised a few question in here too:
nicknochnack/GenerateTFRecord#5

@sujirou
Copy link
Author

sujirou commented Feb 4, 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

@sujirou
Copy link
Author

sujirou commented Feb 4, 2024

@said-ml
Copy link

said-ml commented Feb 6, 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

@ikwyl6
Copy link

ikwyl6 commented Feb 26, 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.

@said-ml
Copy link

said-ml commented Feb 26, 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 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants