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

doing the vagrant.... #148

Open
DrBlackross opened this issue Oct 7, 2021 · 4 comments
Open

doing the vagrant.... #148

DrBlackross opened this issue Oct 7, 2021 · 4 comments

Comments

@DrBlackross
Copy link

i don't have nvidia :| soooo, i used vagrant install and test....
BUT...

Testing with vagrant

Start the vagrant box using:

vagrant up (required vagrant up --provider virtualbox)

Code will be located at /vagrant. Play and/or test with whatever package you wish. Note: With vagrant you cannot take full advantage of your GPU, so is mainly for testing purposes


also.. the vagrant file needed -y after the apt lines starting at 53

vm_config.vm.provision "default setup", type: "shell", inline: <<SCRIPT
apt update
apt install mpich libpq-dev python3-pip -y <--- added this
DEBIAN_FRONTEND=noninteractive apt install python3-pip -y <--- would probably remove this line after moving pip3 up a line
pip3 install -r /vagrant/requirements.no-gpu.txt

i don't know if it fully installed pip3 after making the virtual machine...

vagrant@trader-rl:~$ pip3 install -r /vagrant/requirements.no-gpu.txt

Command 'pip3' not found, but can be installed with:

apt install python3-pip
Please ask your administrator.

sooo ill move pip3 up to line 55 inthe vagrant file

@DrBlackross
Copy link
Author

hmmm opencv borked...
had to run
sudo pip3 install --upgrade pip

@DrBlackross
Copy link
Author

i give for now, on vagrant, will try docker next. (just close this thread)

@DrBlackross
Copy link
Author

DrBlackross commented Oct 14, 2021

gave up on docker, edited the vagrant files to work

Vagrantfile.txt
requirements.base.txt

@DrBlackross
Copy link
Author

kept getting a ton of errors.....

trader-rl-vagrant:     ERROR: Command errored out with exit status 1:
trader-rl-vagrant:      command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-d_dzg2cq/statsmodels/setup.py'"'"'; __file__='"'"'/tmp/pip-install-d_dzg2cq/statsmodels/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_6wofhjo/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/statsmodels
trader-rl-vagrant:          cwd: /tmp/pip-install-d_dzg2cq/statsmodels/
trader-rl-vagrant:     Complete output (7 lines):
trader-rl-vagrant:     running install
trader-rl-vagrant:     running build
trader-rl-vagrant:     running build_py
trader-rl-vagrant:     UPDATING build/lib.linux-x86_64-3.8/statsmodels/_version.py
trader-rl-vagrant:     set build/lib.linux-x86_64-3.8/statsmodels/_version.py to '0.10.0rc2'
trader-rl-vagrant:     running build_ext
trader-rl-vagrant:     error: Command "x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCYTHON_TRACE_NOGIL=0 -I/usr/local/lib/python3.8/dist-packages/numpy/core/include -I/usr/local/lib/python3.8/dist-packages/numpy/core/include -I/usr/include/python3.8 -c statsmodels/tsa/_exponential_smoothers.c -o build/temp.linux-x86_64-3.8/statsmodels/tsa/_exponential_smoothers.o" failed with exit status 1
trader-rl-vagrant:     ----------------------------------------
trader-rl-vagrant: ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-d_dzg2cq/statsmodels/setup.py'"'"'; __file__='"'"'/tmp/pip-install-d_dzg2cq/statsmodels/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_6wofhjo/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/statsmodels Check the logs for full command output.

The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

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