GithubHelp home page GithubHelp logo

Issues with installation about beans HOT 7 OPEN

yelp avatar yelp commented on July 21, 2024
Issues with installation

from beans.

Comments (7)

ajm188 avatar ajm188 commented on July 21, 2024

Hi Amol!

Thanks for bringing this up!

make is tool that is typically only available on unix-based OSes (Mac and linux, in general).
However, there are ways to get unix tools on a windows machine.
One is to install Cygwin.
I would try that, and let me know if you're still running into issues after getting that set up!

from beans.

ajm188 avatar ajm188 commented on July 21, 2024

@Molie79 I am going to add my reply to the "Getting Started" section of the wiki and close this issue. Feel free to re-open this issue if you are still having troubles.

Wiki link

from beans.

Molie79 avatar Molie79 commented on July 21, 2024

@ajm188 I have installed Cygwin and running it on the console but am not able to point it to the beans directory. Another thing, can you please explain step by step the process of setting up Beans. What I have done is this:

  1. Created account on Google Cloud and create project on it. Then I go to Google gcloud shell and create a virtual environment venv under beans.
  2. I activate the virtual environment venv by doing to Scripts folder and typing activate.
  3. I open Cygwin terminal and want open bash to the location of beans under Google shell as listed in point 1. However, I am not able to change the location. What is the syntax for opening the Cygwin shell in a particular location.

Also, I need to run the files in bean folder on the local machine or Google shell? Please clarify.

from beans.

ajm188 avatar ajm188 commented on July 21, 2024

I have installed Cygwin and running it on the console but am not able to point it to the beans directory

cd path\to\local\beans

where the path\to\local\beans is wherever you cloned beans on your machine.

If you have set up Google App Engine and downloaded the Python SDK (it sounds like you have), all further instructions should be run on the local machine.

from beans.

Molie79 avatar Molie79 commented on July 21, 2024

@ajm188 I changed the path as well but make development gives the following error:

$ make development
./bin/venv-update
venv= venv/ --python=python2.7
install= -r requirements.txt -r requirements-dev.txt
bootstrap-deps= -r requirements-bootstrap.txt
pip-command= pymonkey pip-custom-platform -- pip-faster install --upgrade --prune

virtualenv 'C:\cygwin\home\lenovo/.cache\venv-update\2.0.0\venv'
Using base prefix 'c:\users\lenovo\appdata\local\programs\python\python36-32'
New python executable in C:\cygwin\home\lenovo.cache\venv-update\2.0.0\venv\Scripts\python.exe
Installing setuptools, pip, wheel...done.
'C:\cygwin\home\lenovo/.cache\venv-update\2.0.0\venv\bin\python' -m pip.main install virtualenv --target 'C:\cygwin\home\lenovo/.cache\venv-update\2.0.0\src.tmp'
Traceback (most recent call last):
File "./bin/venv-update", line 448, in
exit(main())
File "./bin/venv-update", line 443, in main
exec_scratch_virtualenv(args)
File "./bin/venv-update", line 203, in exec_scratch_virtualenv
run((scratch_python, '-m', 'pip.main', 'install', 'virtualenv', '--target', tmp))
File "./bin/venv-update", line 135, in run
check_call(cmd)
File "c:\users\lenovo\appdata\local\programs\python\python36-32\Lib\subprocess.py", line 286, in check_call
retcode = call(*popenargs, **kwargs)
File "c:\users\lenovo\appdata\local\programs\python\python36-32\Lib\subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "c:\users\lenovo\appdata\local\programs\python\python36-32\Lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "c:\users\lenovo\appdata\local\programs\python\python36-32\Lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
make: *** [Makefile:42: venv] Error 1
(venv)

from beans.

ajm188 avatar ajm188 commented on July 21, 2024

My bet is that you need to change your separator to work for windows. On Unix systems, this is '/', but on Windows it's ''.

So I'm guessing it should be more like:

.\bin\venv-update
venv= venv\
install= blah
bootstrap-deps = blah blah
pip-command= blah blah blah

@asottile looping you in here; do I seem to be on the right track?

from beans.

asottile avatar asottile commented on July 21, 2024

from beans.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.