Coder Social home page Coder Social logo

pip not install about ax HOT 12 CLOSED

facebook avatar facebook commented on April 20, 2024
pip not install

from ax.

Comments (12)

kkashin avatar kkashin commented on April 20, 2024

It appears as though pip is using a cached version of Ax. Could you either:

  1. Install without using the cache: pip install ax-platform --no-cache-dir

  2. Install version 0.1.3 explicitly: pip install ax-platform==0.1.3

Can you let me know if either of these works?

Thanks!

from ax.

yiyinying avatar yiyinying commented on April 20, 2024

pip uninstall ax-platform --no-cache-dir
8.3.0
Uninstalling ax-platform-0.0.0:
Would remove:
/opt/miniconda3/envs/py37/lib/python3.7/site-packages/ax_platform-0.0.0.dist-info/*
Proceed (y/n)? y
Successfully uninstalled ax-platform-0.0.0

pip install ax-platform==0.1.3
8.3.0
Collecting ax-platform==0.1.3
ERROR: Could not find a version that satisfies the requirement ax-platform==0.1.3 (from versions: 0.0.0)
ERROR: No matching distribution found for ax-platform==0.1.3

Still not installed successfully。 ubuntu 19.04

from ax.

kkashin avatar kkashin commented on April 20, 2024

@yiyinying - hmm, OK. Not sure off the top of my head why pip is not using the manylinux1 wheel that we provide for Python 3.7: https://files.pythonhosted.org/packages/1e/32/fe7b32395a8e2075369ffa826ab3d0e4e71ef13086f6b09fad7104132dc8/ax_platform-0.1.3-cp37-cp37m-manylinux1_x86_64.whl.

If you could try running the is_manylinux1_compatible function from https://www.python.org/dev/peps/pep-0513/#platform-detection-for-installers and see why your system is not eligible for manylinux1, that would be helpful.

If you could provide outputs for specific checks, that would be useful too, e.g. what do you get if you run the following command:

python3 -c "from distutils.util import get_platform; print(get_platform());"

We will investigate this further, but in the meantime you should be able to install the bleeding edge version directly from Git: https://ax.dev/versions/latest/docs/installation.html#installing-from-git.

from ax.

yiyinying avatar yiyinying commented on April 20, 2024

(py37) yiyin@yiyin-ThinkPad-T460p:~$ python3 -c "from distutils.util import get_platform; print(get_platform());"
linux-x86_64

from ax.

yiyinying avatar yiyinying commented on April 20, 2024

is_manylinux1_compatible() true
have_compatible_glibc('ubuntu','19.04') false

from ax.

yiyinying avatar yiyinying commented on April 20, 2024

Should I change to ubuntu 18.04?

from ax.

yiyinying avatar yiyinying commented on April 20, 2024

https://files.pythonhosted.org/packages/1e/32/fe7b32395a8e2075369ffa826ab3d0e4e71ef13086f6b09fad7104132dc8/ax_platform-0.1.3-cp37-cp37m- manylinux1_x86_64.whl。

pip install ax_platform-0.1.3-cp37-cp37m-manylinux1_x86_64.whl
8.3.0
ERROR: ax_platform-0.1.3-cp37-cp37m-manylinux1_x86_64.whl is not a supported wheel on this platform.

from ax.

yiyinying avatar yiyinying commented on April 20, 2024

ERROR: Command "git clone -q ssh://[email protected]/facebook/Ax.git /tmp/pip-req-build-9ufn0ckd" failed with error code 128 in None

from ax.

yiyinying avatar yiyinying commented on April 20, 2024

Git installation also failed

from ax.

kkashin avatar kkashin commented on April 20, 2024

Re: have_compatible_glibc, you want to pass the major and minor version of glibc (see example in https://www.python.org/dev/peps/pep-0513/#platform-detection-for-installers). What's the version you have?

Re: the error you're getting cloning the repo ("failed with error code 128 in None"), it seems like that can happen due to a variety of reasons (some authentication related), but it shouldn't be specific to our library. See for example, zulip/zulip#126.

Make sure you have an up-to-date pip and that your GitHub certs are in order, and then try:

pip3 install cython numpy  # needed for compiling Cython code
pip3 install git+ssh://[email protected]/facebook/Ax.git#egg=Ax

from ax.

yiyinying avatar yiyinying commented on April 20, 2024

Python 3.6 installed successfully。

from ax.

kkashin avatar kkashin commented on April 20, 2024

Great, closing the issue then.

from ax.

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.