Running into issues on example execution
See original GitHub issueGet this error when I run the first example python3 -m baselines.deepq.experiments.train_cartpole
:
/usr/bin/python3: Error while finding spec for 'baselines.deepq.experiments.train_cartpole' (<class 'ImportError'>: cannot import name 'deepq')
I have both Python 2 and 3 installed. Thus I installed baselines
with pip3
.
Any suggestions?
Issue Analytics
- State:
- Created 6 years ago
- Comments:14
Top Results From Across the Web
Identifying and Fixing Performance Problems using Execution ...
... SQL Server execution plans can be used to identify problems with ... to empower the attendee to make their own queries run...
Read more >Troubleshoot slow-running queries - SQL Server
To establish that you have query performance issues on your SQL Server instance, start by examining queries by their execution time (elapsed ...
Read more >Using conditions to control job execution - GitHub Docs
This example uses if to control when the production-deploy job can run. It will only run if the repository is named octo-repo-prod and...
Read more >Troubleshoot execution issues in Lambda - AWS Documentation
Function execution errors can be caused by issues with your code, function configuration, downstream resources, or permissions. If you invoke your function ...
Read more >Botched Executions - Death Penalty Information Center
Examples of such problems include, among other things, inmates catching fire ... Efforts to find a suitable vein and to execute Mr. Broom...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
the issue seemed to be stemming from a recursive import error (i don’t have know what i’m talking about) of deepq from baselines.deepq.simple.py I changed some some code in simple.py to more explicitly point at the desired modules and it worked modifications include: edited line 12 to “from baselines.deepq.build_graph import build_act, build_train” edited line 172 to " act, train, update_target, debug = baselines.deepq.build_graph.build_train(" added “import baselines” to file
You can replace, from baselines import deepq by from baselines.deepq.build_graph import build_act, build_train
it will work. This problem I faced while working with python 2.7