I did this
cd lib
sudo rm -rf endpoints* google_endpoints* urllib3* requests*
cd ..
sudo pip --no-cache-dir install -t lib google-endpoints urllib3 requests
install successfully
sudo chmod 777 lib/endpoints/endpointscfg.py
sudo python lib/endpoints/endpointscfg.py get_client_lib java -bs gradle
src.service.mobile_api.MobileApi
sudo python lib/endpoints/endpointscfg.py get_client_lib java -bs gradle
src.service.mobile_api.MobileApi
WARNING:root:Could not find either the Cloud SDK or the App Engine Python
SDK.
If you encounter errors, please make sure that the SDK binary path is in
your
PATH environment variable or that the ENDPOINTS_GAE_SDK variable points to a
valid SDK root.
Traceback (most recent call last):
File "lib/endpoints/endpointscfg.py", line 27, in <module>
import _endpointscfg_setup # pylint: disable=unused-import
File
"/var/www/html/salesmanagement/SalesManagement/lib/endpoints/_endpointscfg_setup.py",
line 107, in <module>
_SetupPaths()
File
"/var/www/html/salesmanagement/SalesManagement/lib/endpoints/_endpointscfg_setup.py",
line 103, in _SetupPaths
from google.appengine.ext import vendor
ImportError: No module named appengine.ext
On Tuesday, July 2, 2019 at 4:44:33 AM UTC+5:30, Larry Schiefer wrote:
>
> Yes, I was able to resolve the issue in our setup. We use pip to manage
> our python libraries local to the tree. We had to update the required
> version of the endpoints library in our requirements.txt file to point to
> the latest version, then use endpointcfg from that package rather than the
> one from the SDK. The instructions (while not obvious) were added in one
> of the comments back from the GAE team in the issue linked above:
>
>
> https://cloud.google.com/endpoints/docs/frameworks/python/gen_clients#generating_the_client_library_2
>
> Good luck!
>
>
> On Monday, July 1, 2019 at 2:04:04 PM UTC-5, Jaskaran Singh wrote:
>>
>> Hi @Larry Schiefer
>>
>> did you find any solution for this?
>>
>> Please let me know i am facing this issue please.
>>
>> On Wednesday, May 8, 2019 at 6:41:42 PM UTC+5:30, Larry Schiefer wrote:
>>>
>>> Great, thank you!
>>>
>>> On Tue, May 7, 2019 at 6:04 PM 'Aref Amiri (Cloud Platform Support)' via
>>> Google App Engine <[email protected]> wrote:
>>>
>>>> Hi Larry,
>>>>
>>>> We will look into the issue reported on Issue Tracker
>>>> <https://issuetracker.google.com/issues/131557153>, and further
>>>> updates communication will be shared on that page.
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google App Engine" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at https://groups.google.com/group/google-appengine.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/google-appengine/5a1613a6-fdc7-4b74-b8b7-05c315308d8f%40googlegroups.com
>>>>
>>>> <https://groups.google.com/d/msgid/google-appengine/5a1613a6-fdc7-4b74-b8b7-05c315308d8f%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>> --
>>> ____
>>> Larry Schiefer
>>> M: 469-263-9388
>>> email: [email protected]
>>> http://www.hiqes.com
>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/0315515e-cb27-449f-bd34-417241f05c74%40googlegroups.com.