-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Multiple errors: missing python dev, portaudio and venv #1
Comments
try looking into the install_playground.sh file and seeing if you can manually run each one of the lines. For me I had to manually run |
A good tip, in fact. Bug 3, i.e.
has quickly solved thereby, but now we have something more serious with flask:
After some research, and futher trial plus error, I have found that only this tip https://www.pythonpool.com/solved-importerror-cannot-import-name/ did help:
A tip to the author: do test these instructions on a vanilla, clean linux box, to check for such missing dev etc. modules, as many of the end-users are not experts (myself included). |
The front-end still throws up new errors: solved only by You've got the wrong yarn. The yarn you're executing comes from the cmdtest package. Uninstalling cmdtest first should fix this:
Once you've uninstalled it, run the commands below to install yarn properly:
but then:
solved by: Have pity on us, non-techies! Until now I have never even heard of yarn and such. |
Let me close it by now, as I had suggested the solutions above. |
@Manamama sorry you had to go through all this trouble. Did you manage to run it? Feel free to document the steps you went through for running this playground on a clean linux in a new Readme PR and I'll merge it. |
Dear @saharmor 👍🏽 |
A quick FYI, and sorry for necrobumping this thread, @saharmor - I have run a quick sanity check today.
In short, it had worked back then, and it does not work now, at a recompile. |
My box:
OS: Ubuntu 20.04.5 LTS x86_64
Kernel: 5.4.0-125-generic
Packages: 3901 (dpkg), 30 (flatpak), 37 (snap)
Shell: bash 5.0.17
Python 3.8.10
Your instructions throw many compilation errors:
->
sudo apt-get install python3-dev # for python3.x installs
Solved only with manual compilation of http://files.portaudio.com/download.html, i.e.: ProgrammingHero1/romantic-alexa#88
cd backend && source venv/bin/activate && flask run --port 8000
throws
bash: venv/bin/activate: No such file or directory
I have tried playing with this tip: https://trendoceans.com/how-to-resolve-venv-bin-activate-is-not-executable-by-this-user/ but then gave up.
The text was updated successfully, but these errors were encountered: