Skip to content
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 run locally and also unable to deploy on Heroku #2

Open
Kaustubhk12 opened this issue May 30, 2017 · 0 comments
Open

Unable to run locally and also unable to deploy on Heroku #2

Kaustubhk12 opened this issue May 30, 2017 · 0 comments

Comments

@Kaustubhk12
Copy link

When I run
python main.py && explorer http://localhost:5000
(replacing 'open' with 'explorer' because I'm running on Windows)

it gives the following error:
File "C:\Users\Kaustubh\Downloads\deep-instrument-heroku-master\deep-instrument-heroku-master\predict.py", line 86, in load_features
x_chromagram = self.ch.transform(x)
AttributeError: 'dict' object has no attribute 'transform'

When I tried to deploy on Heroku using the commands mentioned in the readme.md, it gives the following error even though I'm inside the app folder:

C:\Users\Kaustubh\Downloads\deep-instrument-heroku-master\deep-instrument-heroku-master>heroku buildpacks:add heroku/python
! Error: No app specified
! Usage: heroku buildpacks:add URL --app APP
! We don't know which app to run this on.
! Run this command from inside an app folder or specify which app to use with --app APP

When I tried using the 'Deploy to Heroku' button, the Heroku page that loaded had the following error message:

No app.json located in the repo URL provided.
Make sure that an app.json file exists in the project root directory.

I have attached the corresponding screenshots.

errorOnBrowserPage

correspondingErrorOnCommandLine

errorOnDeployingToHerokuByCommands

errorOnDeployingToHerokuByButton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant