question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

for those who encounter error when installing the python packages on Macos

See original GitHub issue

when you run pip install -r requirement.txt in your mac, if you encounter error related to tensorflow, sentencepieces or matplotlib, please check the followings:

  1. your python and pip version required by tensorflow 2.x ( this project requires tensorflow 2.x , https://www.tensorflow.org/tutorials/quickstart/advanced )
  2. some of my fds encounter error related to ft2build, they run brew install freetype then install the requirement again, it works ( like described here https://stackoverflow.com/questions/12363557/matplotlib-install-failure-on-mac-osx-10-8-mountain-lion/12790839 )

dun know if there is anyone facing the same errors, i hope it helps 😃

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
shadycuzcommented, Mar 4, 2021

I’m going to close this now. Lots has changed since this was opened. You can run git checkout main, git pull main to fetch the latest and attempt to reinstall.

The project has been testest to work with Pythons 3.6.8, 3.7 and 3.8. Tensorflow doesn’t support python 3.9 yet.

We are using poetry to manage the project and that is one option for installing. The other is to install with the requirements.txt. Feel free to use any virtual environment you want.

Just make sure to run pip install --upgrade pip as that was affecting some people as tensorflow requires pip >= 2.19 (or something like that).

We also have a dockerfile if you would prefer to use docker. We will also soon be offering an “official image” on dockerhub.

Oh and Windows is only supported with docker because pystan is not available for windows (officially).

If you are having problems please open a new issue =).

🚀 GamestonkTerminal 🌔

0reactions
shadycuzcommented, Mar 1, 2021

@formvoltron Most likely. We are curently working on increasing this project’s support for python versions. As of now it only supports 3.6.8 that we know of.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OSX: error when installing python packages - macos
The problem here is that you are trying to use the 32-bit-only python.org 2.7.3 on an OS X system with Xcode 4. The...
Read more >
Error installing NumPy via Pip on macOS Big Sur with python ...
Reproducing code example: Install Pandas with PIP after a clean install of macOS Big Sur and Python3.9 via Homebrew. pip install pandas pip3 ......
Read more >
Permissions for Python RECORD files - Apple Community
I'm setting up a new MacBook Pro and trying to install/upgrade various Python packages. I encountered a permissions error with the RECORD ...
Read more >
How to Fix Python `No such file or directory` Compiler Errors ...
Introduction. A common error that you may receive when installing Python modules is the No such file or directory error.
Read more >
Installing the Python Connector - Snowflake Documentation
This topic provides instructions for installing the Snowflake Connector for Python. The connector can currently be installed in Linux, macOS, and Windows ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found