-
Notifications
You must be signed in to change notification settings - Fork 130
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
Unable to follow chaquopy-getting-started guide #164
Comments
https://chaquopy-getting-started.readthedocs.io is an unofficial guide written by someone else, and is now well out of date. I suggest you work from the official documentation instead. If you still have issues, please post the full build log. You can switch the Build window to text mode by clicking the "toggle view" button (below the green "build" button on the left side of your screenshot). |
Dear Malcolm,
Thanks for the support.
Do you have any video tutorials for the same?
It's hard for beginners to follow these steps.
…On Fri, Nov 8, 2019 at 4:06 PM Malcolm Smith ***@***.***> wrote:
https://chaquopy-getting-started.readthedocs.io is an unofficial guide
written by someone else, and is now well out of date. I suggest you work
from the official documentation
<https://chaquo.com/chaquopy/doc/current/index.html> instead.
If you still have issues, please post the full build log. You can switch
the Build window to text mode by clicking the "toggle view" button (below
the green "build" button on the left side of your screenshot).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#164?email_source=notifications&email_token=AIIYLWLJ2OJLVMSMQTPFFH3QSU6MVA5CNFSM4JKSI5X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDP7MLA#issuecomment-551548460>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIIYLWJKYFZSNQ2ECGLPYR3QSU6MVANCNFSM4JKSI5XQ>
.
--
Best regards
Raghu S
Ph.D. Student at Maastricht University
Mob: +919611044640
*LinkedIn <http://www.linkedin.com/in/s-raghu-21832436>*
|
We don't have any video tutorials. But if you're a beginner, then rather than creating a new app from scratch, the easiest way for you to get started would be to copy one of the open-source example apps linked here. |
Hi Malcolm,
I have downloaded chaquopy-hello <https://github.com/chaquo/chaquopy-hello>
and imported it in an android studio. I have installed python plugin too.
While running the app it shows en error Excetutable is not specified.
The following error shows in "edit configuration" whale running.
[image: image.png]
…On Tue, Nov 12, 2019 at 4:25 PM Malcolm Smith ***@***.***> wrote:
Closed #164 <#164>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#164?email_source=notifications&email_token=AIIYLWOKSAHDDIXSYMLZPHTQTKDSDA5CNFSM4JKSI5X2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUZNY3MQ#event-2791017906>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIIYLWNKSIL73XQTBRCX7WDQTKDSDANCNFSM4JKSI5XQ>
.
--
Best regards
Raghu S
Ph.D. Student at Maastricht University
Mob: +919611044640
*LinkedIn <http://www.linkedin.com/in/s-raghu-21832436>*
|
You can't send images to GitHub via email. Upload them on the website by dragging them into the text box. |
The Python plugin in Android Studio will only provide basic syntax highlighting, and internal navigation within a file. It can't be used to actually run your code. Since the project is an Android app, you'll have to run it by installing that app on a device or emulator. Normally this would be done using a run configuration with the type "Android app" and the name "app", but this isn't showing in your screenshot, so I think you must have opened the project in the wrong way. Specifically, the root directory of your project should be the root directory of the Git repository, but your screenshot is showing one level above that. Just choose File > Open and select the root directory of the repository (the directory immediately above "app" and "gradle"). |
Hi Smith, Great! I tried steps discussed at chaquo/chaquopy-hello#2 TIA |
If you have an existing text-based Python script, then it would be easier to start with the console template instead. In fact, from your screenshot above, it looks like you were already doing that before. |
Great, it's working now. I have few more quaries
|
You'd have to create an Android activity, for which there are many tutorials elsewhere. I recommend you program the UI in Java or Kotlin and access Python through the PyObject API, as demonstrated here. However, if you wish, you can also write the whole activity in Python, as demonstrated here.
See #144.
Please provide the "full details" as the message says. |
I am following #144 and using Chaquopy 6.3.0 It throws a following error in the device after running |
You should be using |
I have used install "scikit-learn==0.21.2" in pip I am getting following error. Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'G:\PhD UM 2017-2019\Programs\Objective 2\Python\chaquopy-console-master\chaquopy-console-master\app\build\generated\python\requirements\debug\armeabi-v7a\sklearn\datasets\tests\data\openml\1119\api-v1-json-data-list-data_name-adult-census-limit-2-data_version-1.json.gz' Chaquopy: Exit status 1
FAILURE: Build failed with an exception.
BUILD FAILED in 1m 18s |
You've encountered the Windows 260-character filename limit (pypa/pip#6279). Try moving your project from |
Please create separate GitHub issues for separate problems in future. |
If you have a question or problem, please create a separate issue and explain what it is. |
For chaquopy version 8.0.0 this is the latest version of scikit-learn supported. |
0.22.1 is the scikit-learn version for the current version of Chaquopy (7.x or newer). For Chaquopy 6.x and older, the version was 0.21.2. |
I am trying to use Chaquopy in multiple android projects but I always get the following error:
I followed the documentation till the ABI selection part and tried to build the project. What am I doing wrong? |
Please create a new issue and include your app\build.gradle file. |
Hi,
I am following the steps provided at https://chaquopy-getting-started.readthedocs.io/index.html
but I am getting multiple errors while running the app. The screenshot of error is attached.
The text was updated successfully, but these errors were encountered: