Comments (8)
I'm having the same issue, OS X 10.9.2
from portia.
It called my attention that your virtualenv is here:
/Users/nateaune/.virtualenvs/portia
But then the error you show running portia says:
/Users/nateaune/Dropbox/code/portia/slyd/slyd/tap.py
You need to run portia from inside the virtualenv.
Cheers
On Sun, Apr 20, 2014 at 9:55 AM, Daniel Johansson
[email protected]:
I'm having the same issue, OS X 10.9.2
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/24#issuecomment-40894292
.
from portia.
UPDATE: I've got this working now by creating and activating the virtualenv first - and installing everything into that!
from portia.
I store my virtualenvs in ~/virtualenvs but when I run the command I've
activated the virtualenv so it really shouldn't matter where it's located.
Are you saying that Portia expects the code to be in the same directory as
the virtualenv?
On Monday, April 21, 2014, duendex [email protected] wrote:
It called my attention that your virtualenv is here:
/Users/nateaune/.virtualenvs/portia
But then the error you show running portia says:
/Users/nateaune/Dropbox/code/portia/slyd/slyd/tap.py
You need to run portia from inside the virtualenv.
Cheers
On Sun, Apr 20, 2014 at 9:55 AM, Daniel Johansson
<[email protected]javascript:_e(%7B%7D,'cvml','[email protected]');>wrote:I'm having the same issue, OS X 10.9.2
—
Reply to this email directly or view it on GitHub<
https://github.com/scrapinghub/portia/issues/24#issuecomment-40894292>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/24#issuecomment-40935003
.
[email protected]
+1 (617) 517-4953
http://twitter.com/natea | http://linkedin.com/in/natea
from portia.
No, Portia doesn't expect the code to be in the same directory as the virtualenv. Did you activate your virtualenv before running pip install -r requirements.txt
?
from portia.
I just tried installing everything again.
I had my portia virtualenv activated, ran the pip install -r ... and everything worked fine. But then I tried twistd -n slyd I still got the same problem.
I found a simple solution to the problem. For me it worked when I exited the shell and activated my virtualenv in a new shell. Don't really know why but when I did twistd -n slyd ran just fine without the import error.
from portia.
thanks donnex. Surprisingly, worked for me as well.
from portia.
seems all working well, i'm closing this issue.
from portia.
Related Issues (20)
- how to install it on Mac? HOT 1
- can we used it without the fucking Docker?
- Unexpected Error
- can we use it on Mac OS without the mother fuck docker?
- Could not determine app directory
- see nothing on http://localhost:9001
- Portia crashes on Single Page Applications
- Failed loading page HOT 1
- Issue on creating project
- Set download delay HOT 1
- https://boot2docker.io/ HOT 1
- docker compose up build failed
- standard_init_linux.go:219: exec user process caused: exec format error
- Blank white page on localhost and portia says: PermisionDenied HOT 1
- 'what would you like to scrape' cannot enter url HOT 2
- Browser version error message HOT 4
- 项目没有人维护了吗 HOT 1
- is anyone able to run this? HOT 3
- How to get fields exported in correct order?
- Need Help scraping API HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from portia.