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

install issue: sentencepiece dependency fails for macOS with Python 3.8 #232

Closed
aaronmarkham opened this issue Apr 20, 2020 · 1 comment
Closed
Assignees

Comments

@aaronmarkham
Copy link
Contributor

So i’m not able to install using python 3.8… get an issue with sentencepiece dependency - same as this here: google/sentencepiece#386 see the other folks posting in the last several days all getting the same error

@harshbafna
Copy link
Contributor

This has been fixed with the newer version on sentencepiece.

(base) USL07109:~ harsh_bafna$ conda create -n py38 python=3.8
WARNING: A conda environment already exists at '/opt/anaconda3/envs/py38'
Remove existing environment (y/[n])? y

Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /opt/anaconda3/envs/py38

  added / updated specs:
    - python=3.8


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    certifi-2020.4.5.1         |           py38_0         155 KB
    pip-20.0.2                 |           py38_3         1.7 MB
    python-3.8.2               |      hf48f09d_13        20.6 MB
    setuptools-46.1.3          |           py38_0         523 KB
    ------------------------------------------------------------
                                           Total:        23.0 MB

The following NEW packages will be INSTALLED:

  ca-certificates    pkgs/main/osx-64::ca-certificates-2020.1.1-0
  certifi            pkgs/main/osx-64::certifi-2020.4.5.1-py38_0
  libcxx             pkgs/main/osx-64::libcxx-4.0.1-hcfea43d_1
  libcxxabi          pkgs/main/osx-64::libcxxabi-4.0.1-hcfea43d_1
  libedit            pkgs/main/osx-64::libedit-3.1.20181209-hb402a30_0
  libffi             pkgs/main/osx-64::libffi-3.3-h0a44026_1
  ncurses            pkgs/main/osx-64::ncurses-6.2-h0a44026_1
  openssl            pkgs/main/osx-64::openssl-1.1.1g-h1de35cc_0
  pip                pkgs/main/osx-64::pip-20.0.2-py38_3
  python             pkgs/main/osx-64::python-3.8.2-hf48f09d_13
  readline           pkgs/main/osx-64::readline-8.0-h1de35cc_0
  setuptools         pkgs/main/osx-64::setuptools-46.1.3-py38_0
  sqlite             pkgs/main/osx-64::sqlite-3.31.1-h5c1f38d_1
  tk                 pkgs/main/osx-64::tk-8.6.8-ha441bb4_0
  wheel              pkgs/main/osx-64::wheel-0.34.2-py38_0
  xz                 pkgs/main/osx-64::xz-5.2.5-h1de35cc_0
  zlib               pkgs/main/osx-64::zlib-1.2.11-h1de35cc_3


Proceed ([y]/n)? y


Downloading and Extracting Packages
certifi-2020.4.5.1   | 155 KB    | ################################################################################################################################################################# | 100% 
python-3.8.2         | 20.6 MB   | ################################################################################################################################################################# | 100% 
setuptools-46.1.3    | 523 KB    | ################################################################################################################################################################# | 100% 
pip-20.0.2           | 1.7 MB    | ################################################################################################################################################################# | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate py38
#
# To deactivate an active environment, use
#
#     $ conda deactivate

(base) USL07109:~ harsh_bafna$ conda activate py38
(py38) USL07109:~ harsh_bafna$ pip install sentencepiece
Collecting sentencepiece
  Downloading sentencepiece-0.1.86-cp38-cp38-macosx_10_6_x86_64.whl (1.0 MB)
     |████████████████████████████████| 1.0 MB 457 kB/s 
Installing collected packages: sentencepiece
Successfully installed sentencepiece-0.1.86
(py38) USL07109:~ harsh_bafna$ 

Closing.

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