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

virtualenv error #8

Open
alexflint opened this issue Jan 4, 2016 · 8 comments
Open

virtualenv error #8

alexflint opened this issue Jan 4, 2016 · 8 comments

Comments

@alexflint
Copy link

I'm seeing the following error when I try to build the OSX installer:

$ sh make_openbazaar.sh osx
make_openbazaar.sh: line 1: #!/bin/sh: No such file or directory
Cloning OpenBazaar-Server
Where do you wish to clone OpenBazaar-Server to? [OpenBazaar-Server] 
Directory OpenBazaar-Server already exists, do you wish to delete it and redownload? (yes/no) [no] 
Directory already exists and you've chosen not to clone again
Cloning OpenBazaar-Client
Where do you wish to clone OpenBazaar-Client to? [OpenBazaar-Client] 
Directory OpenBazaar-Client already exists, do you wish to delete it and redownload? (yes/no) [no] 
Directory already exists and you've chosen not to clone again
Do you wish to install the required dependencies for OpenBazaar and setup for building? (yes/no) [yes] 
Switched to /Users/alex/Downloads/OpenBazaar-Installer-master/OpenBazaar-Client
Installing global dependencies
Password:
/usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt
grunt-cli@0.1.13 /usr/local/lib/node_modules/grunt-cli
├── resolve@0.3.1
├── nopt@1.0.10 (abbrev@1.0.7)
└── findup-sync@0.1.3 (lodash@2.4.2, glob@3.2.11)
Global dependencies installed successfully!
Installing local dependencies
Local dependencies installed successfully!
Local permissions corrected successfully!
Successfully setup for OpenBazaar
Building OS X binary
cp: directory build does not exist
mkdir: OpenBazaar-Client: No such file or directory
make_openbazaar.sh: line 328: cd: OpenBazaar-Server: No such file or directory
Using base prefix '/Applications/anaconda'
New python executable in env/bin/python3
Not overwriting existing python script env/bin/python (you must use env/bin/python3)
ERROR: The executable env/bin/python3 is not functioning
ERROR: It thinks sys.prefix is '/Users/alex/Downloads/OpenBazaar-Installer-master/OpenBazaar-Client' (should be '/Users/alex/Downloads/OpenBazaar-Installer-master/OpenBazaar-Client/env')
ERROR: virtualenv is not compatible with this system or executable
make_openbazaar.sh: line 330: env/bin/activate: No such file or directory
@alexflint
Copy link
Author

For a start, the first line of make_openbazaar.sh seems to have whitespace ahead of the #!

@hoffmabc
Copy link
Member

hoffmabc commented Jan 4, 2016

Hmm I will take a look.

@hoffmabc
Copy link
Member

hoffmabc commented Jan 4, 2016

ok @alexflint try now. I committed some updates to the repo that were causing issues. Not sure if it will fix all of yours but let's try it.

@stevenroose
Copy link
Contributor

I got this error as well in Fedora 22. I tried installing all python*-virtualenv* packages, but the error persisted.

@hoffmabc
Copy link
Member

hoffmabc commented Jan 7, 2016

@stevenroose have you tried the latest version of the code?

@stevenroose
Copy link
Contributor

I did that with the latest version at the time I made the issue.. Did you
push something new?

On Thu, Jan 7, 2016 at 7:36 PM, Brian Hoffman notifications@github.com
wrote:

@stevenroose https://github.com/stevenroose have you tried the latest
version of the code?


Reply to this email directly or view it on GitHub
#8 (comment)
.

@stevenroose
Copy link
Contributor

It works when I replace all occurences of virtualenv2 with just virtualenv.

@skecskes
Copy link

skecskes commented Apr 5, 2016

I git cloned release 1.1.0 and run installer on OSX. It stopped here for me

Creating virtualenv and building OpenBazaar-Server binary...
./make_openbazaar.sh: line 276: virtualenv: command not found
./make_openbazaar.sh: line 277: env/bin/activate: No such file or directory

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

4 participants